%define debug_package %{nil} Summary: A lightweight PDF viewer Name: zathura Version: 0.0.8.5 Release: 2 Group: Office License: zlib URL: http://zathura.pwmt.org/projects/zathura Source0: http://zathura.pwmt.org/attachments/download/10/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(poppler-glib) %description Zathura is a highly configurable and functional PDF viewer based on the Poppler rendering library and the GTK+ toolkit. The idea behind zathura is an application that provides a minimalist and space saving interface as well as an easy usage that mainly focuses on keyboard interaction. %prep %setup -q # don't rebuid at install time sed -ie "s/install:\ all/install:\ /g" Makefile %build %make %install %makeinstall_std mkdir -p %{buildroot}%{_datadir}/applications install -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications/ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %doc LICENSE README %{_bindir}/* %{_mandir}/man*/* %{_datadir}/applications/* %changelog * Thu May 24 2012 Matthew Dawkins 0.0.8.5-1 + Revision: 800395 - imported package zathura