diff --git a/zathura-cb-0.1.10.tar.xz b/zathura-cb-0.1.10.tar.xz new file mode 100644 index 0000000..ba871fd Binary files /dev/null and b/zathura-cb-0.1.10.tar.xz differ diff --git a/zathura-cb.spec b/zathura-cb.spec new file mode 100644 index 0000000..65cd851 --- /dev/null +++ b/zathura-cb.spec @@ -0,0 +1,48 @@ +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 - 0.1.10-1 +- Package init diff --git a/zathura-cb.yaml b/zathura-cb.yaml new file mode 100644 index 0000000..415589b --- /dev/null +++ b/zathura-cb.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: https://git.pwmt.org/pwmt/zathura-cb +tag_prefix: "v" +separator: "."