diff --git a/.cvsignore b/.cvsignore index 2d6d888..c25e77b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -evince-0.7.2.tar.bz2 +evince-0.8.0.tar.bz2 diff --git a/evince.spec b/evince.spec index fd86b91..cdb99aa 100644 --- a/evince.spec +++ b/evince.spec @@ -3,14 +3,14 @@ %define dbus_version 0.60 Name: evince -Version: 0.7.2 +Version: 0.8.0 Release: 1%{?dist} Summary: Document viewer License: GPL Group: Applications/Publishing URL: http://www.gnome.org/projects/evince/ -Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.tar.bz2 +Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.8/%{name}-%{version}.tar.bz2 Patch0: evince-0.6.0-print-error.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,6 +28,7 @@ BuildRequires: scrollkeeper BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: gettext BuildRequires: perl(XML::Parser) +BuildRequires: desktop-file-utils Requires(pre): GConf2 Requires(post): GConf2 @@ -54,6 +55,12 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install --delete-original \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ + --remove-category="Application" \ + $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop + %find_lang evince unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL @@ -132,6 +139,10 @@ fi %changelog +* Tue Mar 13 2007 Matthias Clasen - 0.8.0-1 +- Update to 0.8.0 +- Use desktop-file-install + * Tue Feb 13 2007 Matthias Clasen - 0.7.2-1 - Update to 0.7.2 diff --git a/sources b/sources index 63286a8..1627eaa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -becad4cdb5793f246911d6f3cf523786 evince-0.7.2.tar.bz2 +b4f7b154535c05ca77a23be193fc458d evince-0.8.0.tar.bz2