!2 初始化仓库

From: @wangtaozhi 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2023-07-04 01:51:03 +00:00 committed by Gitee
commit ba1ffa3176
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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: "."