|
|
|
@ -1,21 +1,19 @@
|
|
|
|
|
Name: zathura
|
|
|
|
|
Version: 0.4.3
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.4.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight document viewer
|
|
|
|
|
License: zlib
|
|
|
|
|
URL: http://pwmt.org/projects/%{name}/
|
|
|
|
|
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz
|
|
|
|
|
# Correctly sets application ID
|
|
|
|
|
# https://git.pwmt.org/pwmt/zathura/merge_requests/21
|
|
|
|
|
Patch0: 0001-Set-application-ID.patch
|
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
BuildRequires: binutils
|
|
|
|
|
BuildRequires: check
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: file-devel
|
|
|
|
|
BuildRequires: fish
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: girara-devel >= 0.3.2
|
|
|
|
|
BuildRequires: girara-devel >= 0.3.3
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
BuildRequires: glib2-devel >= 2.50
|
|
|
|
|
BuildRequires: gtk3-devel >= 3.22
|
|
|
|
@ -85,6 +83,15 @@ Requires: zathura = %{version}-%{release}
|
|
|
|
|
%description bash-completion
|
|
|
|
|
This package provides %{summary}.
|
|
|
|
|
|
|
|
|
|
%package fish-completion
|
|
|
|
|
Summary: fish-completion files for zathura
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: fish
|
|
|
|
|
Requires: zathura = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description fish-completion
|
|
|
|
|
This package provides %{summary}.
|
|
|
|
|
|
|
|
|
|
%package zsh-completion
|
|
|
|
|
Summary: zsh-completion files for zathura
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -106,11 +113,6 @@ This package provides %{summary}.
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
%find_lang zathura
|
|
|
|
|
# Move the zsh-completions to the right location
|
|
|
|
|
mkdir %{buildroot}/%{_datadir}/zsh/site-functions
|
|
|
|
|
mv %{buildroot}/%{_datadir}/zsh/vendor-completions/_zathura \
|
|
|
|
|
%{buildroot}/%{_datadir}/zsh/site-functions
|
|
|
|
|
rmdir %{buildroot}/%{_datadir}/zsh/vendor-completions
|
|
|
|
|
|
|
|
|
|
%files -f zathura.lang
|
|
|
|
|
%license LICENSE
|
|
|
|
@ -132,10 +134,17 @@ rmdir %{buildroot}/%{_datadir}/zsh/vendor-completions
|
|
|
|
|
%files bash-completion
|
|
|
|
|
%{_datadir}/bash-completion/completions/zathura
|
|
|
|
|
|
|
|
|
|
%files fish-completion
|
|
|
|
|
%{_datadir}/fish/completions/zathura.fish
|
|
|
|
|
|
|
|
|
|
%files zsh-completion
|
|
|
|
|
%{_datadir}/zsh/site-functions/_zathura
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 15 2020 Petr Šabata <contyk@redhat.com> - 0.4.5-1
|
|
|
|
|
- 0.4.5 bump
|
|
|
|
|
- Introduce the fish-completion subpackage
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|