49 lines
1.2 KiB
RPMSpec
49 lines
1.2 KiB
RPMSpec
Name: zathura-cb
|
|
Version: 0.1.10
|
|
Release: 1
|
|
Summary: Comic book support for zathura
|
|
License: Zlib
|
|
URL: https://pwmt.org/projects/%{name}
|
|
Source0: https://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz
|
|
|
|
#BuildRequires: binutils
|
|
BuildRequires: cairo-devel
|
|
# Needed to validate the desktop file
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gcc
|
|
BuildRequires: girara-devel
|
|
# Needed to validate appdata
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: libarchive-devel
|
|
BuildRequires: meson >= 0.43
|
|
BuildRequires: zathura-devel >= 0.3.8
|
|
|
|
Requires: zathura >= 0.3.8
|
|
|
|
%description
|
|
The zathura-cb plugin adds comic book archive support to zathura.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainfo.xml
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc AUTHORS
|
|
%{_libdir}/zathura/libcb.so
|
|
%{_datadir}/applications/org.pwmt.zathura-cb.desktop
|
|
%{_datadir}/metainfo/org.pwmt.zathura-cb.metainfo.xml
|
|
|
|
|
|
%changelog
|
|
* Tue Jun 27 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 0.1.10-1
|
|
- Package init
|