From acc5a74a819d6f0023eaddd566cd897903ec1e54 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 5 Oct 2022 01:11:13 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/.gitkeeper | 0 SPECS/zathura-cb.spec | 47 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 SOURCES/.gitkeeper create mode 100644 SPECS/zathura-cb.spec diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/zathura-cb.spec b/SPECS/zathura-cb.spec new file mode 100644 index 0000000..5bbf9b5 --- /dev/null +++ b/SPECS/zathura-cb.spec @@ -0,0 +1,47 @@ +Name: zathura-cb +Version: 0.1.10 +Release: 1%{?dist} +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 +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: girara-devel +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