Package init

- 初始化提交
This commit is contained in:
wangtaozhi 2023-06-27 13:51:59 +08:00
parent eb970cc4e0
commit 2c01d7bacf
3 changed files with 56 additions and 0 deletions

BIN
zathura-djvu-0.2.9.tar.xz Normal file

Binary file not shown.

52
zathura-djvu.spec Normal file
View File

@ -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 <wangtaozhi@kylinsec.com.cn> - 0.2.9-1
- Package init

4
zathura-djvu.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: https://git.pwmt.org/pwmt/zathura-djvu
tag_prefix: "v"
separator: "."