|
|
|
@ -1,34 +1,43 @@
@@ -1,34 +1,43 @@
|
|
|
|
|
Name: zathura |
|
|
|
|
Version: 0.4.1 |
|
|
|
|
Version: 0.4.3 |
|
|
|
|
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 |
|
|
|
|
BuildRequires: file-devel |
|
|
|
|
BuildRequires: gcc |
|
|
|
|
BuildRequires: gettext |
|
|
|
|
BuildRequires: girara-devel >= 0.2.8 |
|
|
|
|
BuildRequires: girara-devel >= 0.3.2 |
|
|
|
|
BuildRequires: glib2-devel >= 2.50 |
|
|
|
|
BuildRequires: gtk3-devel >= 3.22 |
|
|
|
|
BuildRequires: intltool |
|
|
|
|
# Needed to validate appdata |
|
|
|
|
BuildRequires: libappstream-glib |
|
|
|
|
BuildRequires: librsvg2-tools |
|
|
|
|
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 |
|
|
|
|
# Tests |
|
|
|
|
BuildRequires: check-devel |
|
|
|
|
|
|
|
|
|
Requires: zathura-cb |
|
|
|
|
Requires: zathusa-djvu |
|
|
|
|
Requires: zathura-djvu |
|
|
|
|
# poppler is preferred over mupdf |
|
|
|
|
Requires: zathura-pdf-poppler |
|
|
|
|
Requires: zathura-ps |
|
|
|
|
|
|
|
|
|
Requires: zathura-bash-completion |
|
|
|
|
Requires: 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 +73,33 @@ Requires: zathura-ps
@@ -64,11 +73,33 @@ 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 |
|
|
|
|
sed "s|'-Werror=implicit-function-declaration',||" -i meson.build |
|
|
|
|
sed "s|'-Werror=vla',||" -i meson.build |
|
|
|
|
sed "s|subdir('tests')||" -i meson.build |
|
|
|
|
sed "s|subdir('doc')||" -i meson.build |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%meson |
|
|
|
|
%meson -Dsynctex=enabled -Dsqlite=enabled -Dmagic=enabled -Dseccomp=enabled -Dtests=disabled |
|
|
|
|
%meson_build |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
@ -76,15 +107,21 @@ This package installs all available Zathura plugins.
@@ -76,15 +107,21 @@ 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 |
|
|
|
|
%doc README |
|
|
|
|
%{_bindir}/* |
|
|
|
|
%{_mandir}/man*/* |
|
|
|
|
#%{_mandir}/man*/* |
|
|
|
|
%{_datadir}/applications/* |
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml |
|
|
|
|
%{_datadir}/icons/hicolor/128x128/apps/org.pwmt.zathura.png |
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.pwmt.zathura.png |
|
|
|
|
%{_datadir}/icons/scalable/apps/org.pwmt.zathura.svg |
|
|
|
|
%{_datadir}/metainfo/org.pwmt.zathura.appdata.xml |
|
|
|
|
|
|
|
|
|
%files devel |
|
|
|
@ -93,7 +130,26 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
@@ -93,7 +130,26 @@ 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 |
|
|
|
|
* Mon Jan 14 2019 Petr Šabata <contyk@redhat.com> - 0.4.3-1 |
|
|
|
|
- 0.4.3 bump |
|
|
|
|
- Now includes more icons! |
|
|
|
|
- Based on Ankur Sinha's PR, https://src.fedoraproject.org/rpms/zathura/pull-request/1 |
|
|
|
|
|
|
|
|
|
* 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 |
|
|
|
|
|
|
|
|
|
* Fri May 25 2018 Petr Šabata <contyk@redhat.com> - 0.4.0-1 |
|
|
|
|
- 0.4.0 bump |
|
|
|
|
- Dropping the icon patch (included upstream) |
|
|
|
|