From ae18f8fa83c098e2892424f4884dbbf807aa08b5 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 5 Oct 2022 01:12:54 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/.gitkeeper | 0 SPECS/zathura-djvu.spec | 50 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 SOURCES/.gitkeeper create mode 100644 SPECS/zathura-djvu.spec diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/zathura-djvu.spec b/SPECS/zathura-djvu.spec new file mode 100644 index 0000000..3b6b260 --- /dev/null +++ b/SPECS/zathura-djvu.spec @@ -0,0 +1,50 @@ +Name: zathura-djvu +Version: 0.2.9 +Release: 1%{?dist} +Summary: DjVu support for zathura +License: zlib +URL: http://pwmt.org/projects/zathura/plugins/%{name} +Source0: http://pwmt.org/projects/zathura-djvu/download/%{name}-%{version}.tar.xz +BuildRequires: binutils +BuildRequires: cairo-devel +BuildRequires: coreutils +BuildRequires: djvulibre-devel +BuildRequires: desktop-file-utils +BuildRequires: girara-devel +BuildRequires: glib2-devel +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.43 +BuildRequires: gcc +BuildRequires: zathura-devel >= 0.3.8 +Requires: zathura >= 0.3.8 + + +%description +The zathura-djvu plugin adds DjVu support to zathura by +using the djvulibre library. + + +%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/libdjvu.so +%{_datadir}/applications/org.pwmt.zathura-djvu.desktop +%{_datadir}/metainfo/org.pwmt.zathura-djvu.metainfo.xml + + +%changelog