diff --git a/zathura-djvu-0.2.9.tar.xz b/zathura-djvu-0.2.9.tar.xz new file mode 100644 index 0000000..ca10c2c Binary files /dev/null and b/zathura-djvu-0.2.9.tar.xz differ diff --git a/zathura-djvu.spec b/zathura-djvu.spec new file mode 100644 index 0000000..8b10d97 --- /dev/null +++ b/zathura-djvu.spec @@ -0,0 +1,52 @@ +Name: zathura-djvu +Version: 0.2.9 +Release: 1 +Summary: DjVu support for zathura +License: Zlib +URL: http://pwmt.org/projects/%{name} +Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz + +#BuildRequires: binutils +BuildRequires: cairo-devel +#BuildRequires: coreutils +BuildRequires: djvulibre-devel +# Needed to validate the desktop file +BuildRequires: desktop-file-utils +BuildRequires: girara-devel +BuildRequires: glib2-devel +# Needed to validate appdata +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 +* Tue Jun 27 2023 wangtaozhi - 0.2.9-1 +- Package init + diff --git a/zathura-djvu.yaml b/zathura-djvu.yaml new file mode 100644 index 0000000..aef19e3 --- /dev/null +++ b/zathura-djvu.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: https://git.pwmt.org/pwmt/zathura-djvu +tag_prefix: "v" +separator: "."