!2 初始化仓库
From: @wangtaozhi Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
148830e600
BIN
zathura-ps-0.2.7.tar.xz
Normal file
BIN
zathura-ps-0.2.7.tar.xz
Normal file
Binary file not shown.
49
zathura-ps.spec
Normal file
49
zathura-ps.spec
Normal file
@ -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 <wangtaozhi@kylinsec.com.cn> - 0.2.7-1
|
||||
- Package init
|
||||
4
zathura-ps.yaml
Normal file
4
zathura-ps.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: https://git.pwmt.org/pwmt/zathura-ps
|
||||
tag_prefix: "v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user