From f1fb7cb24085aa4120e450252c1078c38251ca87 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 6 Aug 2007 05:55:23 +0000 Subject: [PATCH] update license field, again use %find_lang for help files --- evince.spec | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/evince.spec b/evince.spec index a9fc980..37f6392 100644 --- a/evince.spec +++ b/evince.spec @@ -5,10 +5,10 @@ Name: evince Version: 0.9.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Document viewer -License: GPLv2+ +License: GPLv2+ and GFDL+ Group: Applications/Publishing URL: http://www.gnome.org/projects/evince/ Source0: http://download.gnome.org/sources/%{name}/0.9/%{name}-%{version}.tar.bz2 @@ -33,6 +33,11 @@ BuildRequires: desktop-file-utils BuildRequires: gnome-icon-theme >= %{theme_version} BuildRequires: libtool gtk-doc intltool +# for /usr/lib/nautilus/extensions-1.0 +Requires: nautilus +# for /etc/gconf/schemas +Requires: GConf2 + Requires(pre): GConf2 Requires(post): GConf2 Requires(post): scrollkeeper @@ -66,7 +71,8 @@ desktop-file-install --delete-original --vendor="" \ --remove-category="Application" \ $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop -%find_lang evince +%find_lang evince --with-gnome + unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications @@ -140,13 +146,17 @@ fi %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_sysconfdir}/gconf/schemas/*.schemas -%{_datadir}/gnome/help/%{name}/ %{_datadir}/omf/%{name}/ %{_datadir}/icons/hicolor/*/apps/evince.* -%doc %{_mandir}/man1/evince.1.gz +%{_mandir}/man1/evince.1.gz %changelog +* Mon Aug 6 2007 Matthias Clasen - 0.9.3-3 +- Update licence field again +- Use %%find_lang for help files, too +- Add some missing requires + * Thu Aug 2 2007 Matthias Clasen - 0.9.3-2 - Update the license field