b8c9adf
b8c9adf
Name:           zathura
d4a9ae9
Version:        0.0.8.2
a7045b8
Release:        4%{?dist}
b8c9adf
Summary:        A lightweight PDF viewer
8db6bd0
Group:          Applications/Publishing
b8c9adf
License:        zlib
b8c9adf
URL:            http://zathura.pwmt.org/projects/zathura
d4a9ae9
Source0:        http://zathura.pwmt.org/attachments/download/31/%{name}-%{version}.tar.gz
d4a9ae9
Patch0:         zathura-add-desktop-file.patch
8db6bd0
Patch1:         zathura-0.0.8.1-poppler-0.15-fix.patch
b8c9adf
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b8c9adf
BuildRequires:  gdk-pixbuf-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel
b8c9adf
BuildRequires:  desktop-file-utils
b8c9adf
b8c9adf
b8c9adf
%description
b8c9adf
Zathura is a highly configurable and functional PDF viewer based on the Poppler
b8c9adf
rendering library and the GTK+ toolkit. The idea behind zathura is an
b8c9adf
application that provides a minimalist and space saving interface as well as
b8c9adf
an easy usage that mainly focuses on keyboard interaction.
b8c9adf
b8c9adf
b8c9adf
%prep
b8c9adf
%setup -q
d4a9ae9
%patch0 -p1 -b .desktopfile
8db6bd0
%patch1 -p1 -b .poppler15
b8c9adf
# don't rebuid at install time
b8c9adf
sed -ie "s/install:\ all/install:\ /g" Makefile
b8c9adf
b8c9adf
b8c9adf
%build
b8c9adf
export CFLAGS="%{optflags}"
b8c9adf
make debug
b8c9adf
mv zathura-debug zathura
b8c9adf
b8c9adf
b8c9adf
%install
b8c9adf
rm -rf %{buildroot}
b8c9adf
make DESTDIR=%{buildroot} install
b8c9adf
mkdir -p %{buildroot}%{_datadir}/applications
b8c9adf
install -m 644 zathura.desktop %{buildroot}%{_datadir}/applications/
b8c9adf
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
b8c9adf
b8c9adf
b8c9adf
%clean
b8c9adf
rm -rf %{buildroot}
b8c9adf
b8c9adf
b8c9adf
%files
b8c9adf
%defattr(-,root,root,-)
b8c9adf
%doc LICENSE README
b8c9adf
%{_bindir}/*
b8c9adf
%{_mandir}/man*/*
b8c9adf
%{_datadir}/applications/*
b8c9adf
b8c9adf
b8c9adf
%changelog
a7045b8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8.2-4
a7045b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a7045b8
fd06fd8
* Sat Jan 01 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.2-3
fd06fd8
- rebuild (poppler)
fd06fd8
2fa6e94
* Wed Dec 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.2-2
2fa6e94
- rebuild (poppler)
2fa6e94
d4a9ae9
* Wed Dec 01 2010 François Cami <fcami@đedoraproject.ort> - 0.0.8.2-1
d4a9ae9
- new upstream version + drop merged patch (dso build fix)
d4a9ae9
0f9e021
* Sat Nov 06 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.1-8
0f9e021
- rebuilt (poppler)
0f9e021
82c7359
* Wed Oct  6 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.8.1-7
1b06223
- rebuild and fix for new poppler
82c7359
8760b0d
* Fri Aug 20 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.1-6
8760b0d
- rebuild (poppler)
8760b0d
b8c9adf
* Sun Aug 15 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-5
b8c9adf
- switch to sed (Kevin Fenzi).
b8c9adf
- use desktop-file-validate on the desktop file (Kevin Fenzi).
b8c9adf
b8c9adf
* Sun Aug 15 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-4
b8c9adf
- change zathura.desktop Version to 1.0.
b8c9adf
b8c9adf
* Sat Aug 14 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-3
b8c9adf
- add CFLAGS (Kevin Fenzi).
b8c9adf
- use the debug target to generate the debuginfo rpm properly.
b8c9adf
- add zathura.desktop file and install it.
b8c9adf
b8c9adf
* Sat Aug 14 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-2
b8c9adf
- fix licensing, thanks to Dennis Johnson's review.
b8c9adf
b8c9adf
* Tue Aug 10 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-1
b8c9adf
- initial package.
b8c9adf