From 3111f26b9a763a93889eaa2f0490dd27e2f78da7731839976f1e56a8318c3c57 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 9 Aug 2007 16:46:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eog?expand=0&rev=13 --- eog.changes | 6 ++++++ eog.spec | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/eog.changes b/eog.changes index 736a234..3a43649 100644 --- a/eog.changes +++ b/eog.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 7 22:56:32 CEST 2007 - maw@suse.de + +- Use %fdupes +- Split off a -lang subpackage. + ------------------------------------------------------------------- Fri Aug 3 07:13:45 CEST 2007 - mauro@suse.de diff --git a/eog.spec b/eog.spec index d980709..30ef107 100644 --- a/eog.spec +++ b/eog.spec @@ -11,7 +11,7 @@ # norootforbuild Name: eog -BuildRequires: docbook_4 eel-devel gnome-doc-utils-devel gnome-icon-theme gnutls-devel +BuildRequires: docbook_4 eel-devel fdupes gnome-doc-utils-devel gnome-icon-theme gnutls-devel BuildRequires: indent libgnomeprintui-devel libidl librsvg-devel BuildRequires: libwnck-devel mDNSResponder-devel perl-XML-Parser scrollkeeper BuildRequires: libexif-devel update-desktop-files @@ -21,7 +21,7 @@ Provides: eog2 = 2.2.0 Obsoletes: eog2 <= 2.2.0 Requires: gnome-icon-theme Version: 2.19.4 -Release: 1 +Release: 4 Summary: Eye of GNOME for the GNOME 2.x Desktop Source: %{name}-%{version}.tar.bz2 Patch0: eog-casts.patch @@ -30,6 +30,7 @@ Patch1: eog-fast-image-switch-crash.patch ### Patch3: abuild.patch URL: http://www.gnome.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: %{name}-lang = %{version} %gconf_schemas_prereq @@ -53,6 +54,7 @@ compiled for the GNOME 2.x Desktop. +%lang_package %prep %setup -q %patch0 @@ -73,7 +75,9 @@ rm -r $RPM_BUILD_ROOT/var/scrollkeeper %suse_update_desktop_file -r -N "Eye of Gnome" -G "Image Viewer" eog GNOME Graphics Viewer %find_lang %{name} %find_gconf_schemas -cat %{name}.lang %{name}.schemas_list >%{name}.lst +cat %{name}.schemas_list >%{name}.lst + +%fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT @@ -96,6 +100,8 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/icons/*/*/*/*.png %{_datadir}/icons/*/*/*/*.svg +%files lang -f %{name}.lang + %files devel %defattr (-, root, root) #%dir %{_includedir}/eog @@ -107,6 +113,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/eog.pc %changelog +* Tue Aug 07 2007 - maw@suse.de +- Use %%fdupes +- Split off a -lang subpackage. * Fri Aug 03 2007 - mauro@suse.de - Update to version 2.19.4 - Bugfixes for #449741, #453503, #435408, #453064, #452923, #452886,