diff --git a/zathura-ps-0.2.7.tar.xz b/zathura-ps-0.2.7.tar.xz new file mode 100644 index 0000000..09d6023 Binary files /dev/null and b/zathura-ps-0.2.7.tar.xz differ diff --git a/zathura-ps.spec b/zathura-ps.spec new file mode 100644 index 0000000..44be43f --- /dev/null +++ b/zathura-ps.spec @@ -0,0 +1,49 @@ +Name: zathura-ps +Version: 0.2.7 +Release: 1 +Summary: PS support for zathura via libspectre +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 +BuildRequires: glib2-devel +# Needed to validate appdata +BuildRequires: libappstream-glib +BuildRequires: libspectre-devel +BuildRequires: meson >= 0.43 +BuildRequires: zathura-devel >= 0.3.8 + +Requires: zathura >= 0.3.8 + +%description +The zathura-ps plugin adds PostScript support to zathura by +using the libspectre 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/libps.so +%{_datadir}/applications/org.pwmt.zathura-ps.desktop +%{_datadir}/metainfo/org.pwmt.zathura-ps.metainfo.xml + +%changelog +* Tue Jun 27 2023 wangtaozhi - 0.2.7-1 +- Package init \ No newline at end of file diff --git a/zathura-ps.yaml b/zathura-ps.yaml new file mode 100644 index 0000000..3a29de4 --- /dev/null +++ b/zathura-ps.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: https://git.pwmt.org/pwmt/zathura-ps +tag_prefix: "v" +separator: "."