SPECS (DEVEL): gthumb.spec - updated to 2.7.1

pawcioos pawcioos at pld-linux.org
Sun Nov 13 19:12:03 CET 2005


Author: pawcioos                     Date: Sun Nov 13 18:12:03 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- updated to 2.7.1

---- Files affected:
SPECS:
   gthumb.spec (1.33.2.5 -> 1.33.2.6) 

---- Diffs:

================================================================
Index: SPECS/gthumb.spec
diff -u SPECS/gthumb.spec:1.33.2.5 SPECS/gthumb.spec:1.33.2.6
--- SPECS/gthumb.spec:1.33.2.5	Mon Oct 18 17:35:03 2004
+++ SPECS/gthumb.spec	Sun Nov 13 19:11:57 2005
@@ -2,36 +2,37 @@
 Summary:	An image viewer and browser for GNOME
 Summary(pl):	Przeglądarka obrazków dla GNOME
 Name:		gthumb
-Version:	2.6.0
+Version:	2.7.1
 Release:	1
-License:	GPL
+License:	GPL v2
 Vendor:		GNOME
 Group:		X11/Applications/Graphics
-Source0:	http://ftp.gnome.org/pub/gnome/sources/gthumb/2.6/%{name}-%{version}.tar.bz2
-# Source0-md5:	d78883f36fcc37219660fc87c0c0f1f2
+Source0:	http://ftp.gnome.org/pub/gnome/sources/gthumb/2.7/%{name}-%{version}.tar.bz2
+# Source0-md5:	05b9bbfe9d0d1d9f3198a529177db381
 URL:		http://gthumb.sourceforge.net/
 BuildRequires:	GConf2-devel
 BuildRequires:	ORBit2-devel
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
-BuildRequires:	gnome-common >= 2.8.0
-BuildRequires:	gnome-vfs2-devel >= 2.6.0
-BuildRequires:	gtk+2-devel >= 2:2.4.0
+BuildRequires:	gnome-common >= 2.8.0-2
+BuildRequires:	gnome-vfs2-devel >= 2.10.0-2
+BuildRequires:	gtk+2-devel >= 2:2.6.0
 BuildRequires:	intltool >= 0.21
 BuildRequires:	libexif-devel >= 1:0.6.9
 BuildRequires:	libglade2-devel >= 1:2.4.0
 BuildRequires:	libgnomeprintui-devel >= 2.6.0
-BuildRequires:	libgnomeui-devel >= 2.6.0
+BuildRequires:	libgnomeui-devel >= 2.10.0-2
 BuildRequires:	libgphoto2-devel >= 2.1.3
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libtiff-devel
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel >= 2.4.0
+BuildRequires:	rpmbuild(macros) >= 1.197
+BuildRequires:	scrollkeeper
 Requires(post,postun):	scrollkeeper
-Requires(post):	GConf2
 Requires:	libbonobo >= 2.6.0
-Requires:	gtk+2 >= 2:2.4.0
+Requires:	gtk+2 >= 2:2.6.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,10 +49,11 @@
 
 %prep
 %setup -q
-sed -i -e 's/^Categories=Application;/Categories=GTK;GNOME;/' \
+%{__sed} -i -e 's/^Categories=Application;/Categories=GTK;GNOME;/' \
 	data/gthumb.desktop.in
 
 %build
+cp /usr/share/gnome-common/data/omf.make .
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
@@ -71,6 +73,7 @@
 rm $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
 
 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
 
 %find_lang %{name} --with-gnome --all-name
 
@@ -78,15 +81,16 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-umask 022
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%gconf_schema_install gthumb.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%preun
+%gconf_schema_uninstall gthumb.schemas
 
 %postun
-umask 022
-/usr/bin/scrollkeeper-update
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%scrollkeeper_update_postun
+%update_desktop_database_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -101,11 +105,10 @@
 %{_libdir}/bonobo/servers/*.server
 %{_datadir}/gnome-2.0/ui/*.xml
 %{_datadir}/%{name}
-%{_datadir}/application-registry/%{name}.applications
 %{_mandir}/man1/%{name}.1*
 %{_omf_dest_dir}/%{name}
 %{_sysconfdir}/gconf/schemas/%{name}.schemas
-%{_pixmapsdir}/%{name}.png
+%{_pixmapsdir}/*
 %{_desktopdir}/%{name}.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -114,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33.2.6  2005/11/13 18:11:57  pawcioos
+- updated to 2.7.1
+
 Revision 1.33.2.5  2004/10/18 15:35:03  freetz
 - 2.6.0, STBR
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gthumb.spec?r1=1.33.2.5&r2=1.33.2.6&f=u




More information about the pld-cvs-commit mailing list