|
|
|
@ -3,11 +3,12 @@ Name: zathura
|
|
|
|
|
Version: 0.0.8.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight PDF viewer
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
License: zlib
|
|
|
|
|
URL: http://zathura.pwmt.org/projects/zathura
|
|
|
|
|
Source0: http://zathura.pwmt.org/attachments/download/31/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: zathura-add-desktop-file.patch
|
|
|
|
|
Patch1: zathura-0.0.8.1-poppler-0.15-fix.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: gdk-pixbuf-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
@ -23,6 +24,7 @@ an easy usage that mainly focuses on keyboard interaction.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .desktopfile
|
|
|
|
|
%patch1 -p1 -b .poppler15
|
|
|
|
|
# don't rebuid at install time
|
|
|
|
|
sed -ie "s/install:\ all/install:\ /g" Makefile
|
|
|
|
|
|
|
|
|
|