|
|
|
@ -1,24 +1,31 @@
|
|
|
|
|
Name: zathura
|
|
|
|
|
Version: 0.3.2
|
|
|
|
|
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.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: cairo-devel
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: file-devel
|
|
|
|
|
BuildRequires: gdk-pixbuf2-devel
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: girara-devel >= 0.2.3
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
|
BuildRequires: poppler-glib-devel
|
|
|
|
|
BuildRequires: python-docutils
|
|
|
|
|
BuildRequires: sqlite-devel >= 3.5.9
|
|
|
|
|
Requires: girara >= 0.2.3
|
|
|
|
|
Name: zathura
|
|
|
|
|
Version: 0.3.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.gz
|
|
|
|
|
BuildRequires: binutils
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: file-devel
|
|
|
|
|
BuildRequires: pkgconfig(girara-gtk3)
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gmodule-no-export-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
Requires(post): glibc
|
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
|
Requires(postun): glibc
|
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Zathura is a highly customizable and functional document viewer.
|
|
|
|
@ -37,21 +44,20 @@ A zathura-plugins-all package is available should you want
|
|
|
|
|
to install all available plugins.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for the zathura PDF viewer
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
Summary: Development files for the zathura PDF viewer
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
libraries and header files for the zathura PDF viewer.
|
|
|
|
|
|
|
|
|
|
%package plugins-all
|
|
|
|
|
Summary: Zathura plugins (all plugins)
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
Requires: zathura-djvu
|
|
|
|
|
Requires: zathura-pdf-poppler
|
|
|
|
|
Requires: zathura-ps
|
|
|
|
|
Requires: zathura-cb
|
|
|
|
|
Summary: Zathura plugins (all plugins)
|
|
|
|
|
Requires: zathura-djvu
|
|
|
|
|
# poppler is preferred over mupdf
|
|
|
|
|
Requires: zathura-pdf-poppler
|
|
|
|
|
Requires: zathura-ps
|
|
|
|
|
Requires: zathura-cb
|
|
|
|
|
|
|
|
|
|
%description plugins-all
|
|
|
|
|
This package installs all available Zathura plugins.
|
|
|
|
@ -74,7 +80,6 @@ make DESTDIR=%{buildroot} install
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
|
install -m 644 zathura.desktop %{buildroot}%{_datadir}/applications/
|
|
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
%find_lang zathura
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
@ -86,7 +91,8 @@ update-desktop-database &> /dev/null || :
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%files -f zathura.lang
|
|
|
|
|
%doc LICENSE README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
|
@ -100,6 +106,10 @@ update-desktop-database &> /dev/null || :
|
|
|
|
|
%files plugins-all
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 09 2015 Petr Šabata <contyk@redhat.com> - 0.3.3-1
|
|
|
|
|
- 0.3.3 bump
|
|
|
|
|
- Fix the dep list, install LICENSE with the %%license macro
|
|
|
|
|
|
|
|
|
|
* Wed Nov 12 2014 Petr Šabata <contyk@redhat.com> - 0.3.2-1
|
|
|
|
|
- 0.3.2 bugfix bump
|
|
|
|
|
|
|
|
|
|