fix ftbfs, update URLs, cleaup spec

epel9
Peter Robinson 13 years ago
parent 467f82b424
commit f44632ee8f

1
.gitignore vendored

@ -2,3 +2,4 @@ zathura-0.0.8.1.tar.gz
/zathura-0.0.8.2.tar.gz
/zathura-0.0.8.3.tar.gz
/zathura-0.0.8.5.tar.gz
/zathura-0.1.2.tar.gz

@ -1,14 +1,14 @@
Name: zathura
Version: 0.0.8.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A lightweight PDF viewer
Group: Applications/Publishing
License: zlib
URL: http://zathura.pwmt.org/projects/zathura
Source0: http://zathura.pwmt.org/attachments/download/31/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gdk-pixbuf-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel
URL: http://pwmt.org/projects/zathura/
Source0: http://pwmt.org/projects/zathura/download/%{name}-%{version}.tar.gz
BuildRequires: gdk-pixbuf2-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel
BuildRequires: desktop-file-utils
@ -32,17 +32,12 @@ mv zathura-debug zathura
%install
rm -rf %{buildroot}
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
%clean
rm -rf %{buildroot}
%post
update-desktop-database &> /dev/null || :
@ -60,6 +55,11 @@ update-desktop-database &> /dev/null || :
%changelog
* Sat Mar 31 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.0.8.5-3
- Fix FTBFS on recent releases
- Update URLs
- Cleanup SPEC
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

Loading…
Cancel
Save