|
|
|
@ -1,11 +1,12 @@
|
|
|
|
|
Name: zathura
|
|
|
|
|
Version: 0.4.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.4.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight document viewer
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
License: zlib
|
|
|
|
|
URL: http://pwmt.org/projects/%{name}/
|
|
|
|
|
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz
|
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
BuildRequires: binutils
|
|
|
|
|
BuildRequires: check
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
@ -18,10 +19,12 @@ BuildRequires: gtk3-devel >= 3.22
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
|
# Needed to validate appdata
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: libseccomp-devel
|
|
|
|
|
BuildRequires: meson >= 0.45
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: sqlite-devel >= 3.5.9
|
|
|
|
|
BuildRequires: texlive-synctex
|
|
|
|
|
BuildRequires: texlive-lib-devel
|
|
|
|
|
BuildRequires: zsh
|
|
|
|
|
|
|
|
|
|
Suggests: zathura-cb
|
|
|
|
|
Suggests: zathusa-djvu
|
|
|
|
@ -29,6 +32,9 @@ Suggests: zathusa-djvu
|
|
|
|
|
Suggests: zathura-pdf-poppler
|
|
|
|
|
Suggests: zathura-ps
|
|
|
|
|
|
|
|
|
|
Suggests: zathura-bash-completion
|
|
|
|
|
Suggests: zathura-zsh-completion
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Zathura is a highly customizable and functional document viewer.
|
|
|
|
|
It provides a minimalistic and space saving interface as well as
|
|
|
|
@ -64,11 +70,29 @@ Requires: zathura-ps
|
|
|
|
|
%description plugins-all
|
|
|
|
|
This package installs all available Zathura plugins.
|
|
|
|
|
|
|
|
|
|
%package bash-completion
|
|
|
|
|
Summary: bash-completion files for zathura
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: bash-completion
|
|
|
|
|
Requires: zathura = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description bash-completion
|
|
|
|
|
This package provides %{summary}.
|
|
|
|
|
|
|
|
|
|
%package zsh-completion
|
|
|
|
|
Summary: zsh-completion files for zathura
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: zsh
|
|
|
|
|
Requires: zathura = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description zsh-completion
|
|
|
|
|
This package provides %{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson
|
|
|
|
|
%meson -Denable-synctex=true -Denable-sqlite=true -Denable-magic=true -Denable-seccomp=true
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -76,6 +100,11 @@ This package installs all available Zathura plugins.
|
|
|
|
|
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
|
|
|
|
@ -93,7 +122,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
|
|
|
|
|
%files plugins-all
|
|
|
|
|
|
|
|
|
|
%files bash-completion
|
|
|
|
|
%{_datadir}/bash-completion/completions/zathura
|
|
|
|
|
|
|
|
|
|
%files zsh-completion
|
|
|
|
|
%{_datadir}/zsh/site-functions/_zathura
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 16 2018 Petr Šabata <contyk@redhat.com> - 0.4.1-1
|
|
|
|
|
- 0.4.1 bump
|
|
|
|
|
- Introducing bash and zsh completion subpackages
|
|
|
|
|
- Fixes rhbz#1649839
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|