diff --git a/pidgin.changes b/pidgin.changes index 8254522..3b124e5 100644 --- a/pidgin.changes +++ b/pidgin.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Aug 11 15:35:07 CEST 2007 - coolo@suse.de + +- split out pidin-lang as required by other packages + +------------------------------------------------------------------- +Mon Aug 6 20:45:54 CEST 2007 - maw@suse.de + +- Use %fdupes +- s#%run_ldconfig#/sbin/ldconfig# in %post and %postun +- Split out -lang subpackage. + ------------------------------------------------------------------- Thu Aug 2 19:40:14 CEST 2007 - sbrabec@suse.cz diff --git a/pidgin.spec b/pidgin.spec index 244e98a..96ac22d 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -13,7 +13,7 @@ Name: pidgin Summary: GTK+-Based Multiprotocol Instant Messaging Client Version: 2.1.0 -Release: 1 +Release: 5 License: GPL v2 or later Group: Productivity/Networking/Instant Messenger URL: http://www.pidgin.im/ @@ -51,6 +51,10 @@ BuildRequires: dbus-1-glib %if %suse_version >= 1021 || 0%{?opensuse_bs} BuildRequires: avahi-compat-howl-devel silc-toolkit-devel %endif +%if %suse_version > 1020 +BuildRequires: fdupes +Requires: %{name}-lang = %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq @@ -752,6 +756,7 @@ Authors: Jeroen van der Vegt The OpenQ Team +%lang_package %prep #' %setup -q -a1 -a2 @@ -846,10 +851,16 @@ find $RPM_BUILD_ROOT%{_libdir}/finch -xtype f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-finchplugins %find_gconf_schemas cat %{name}.schemas_list %{name}-%{version}-pidginplugins >%{name}.lst +%if %suse_version > 1020 +cat %{name}-%{version}-purpleplugins >libpurple.lst +%else cat %{name}.lang %{name}-%{version}-purpleplugins >libpurple.lst +%endif # pointless libtool .la file with only trivial dependencies rm $RPM_BUILD_ROOT%{_libdir}/libpurple.la $RPM_BUILD_ROOT%{_libdir}/libpurple-client.la +%fdupes $RPM_BUILD_ROOT + %clean rm -rf $RPM_BUILD_ROOT @@ -860,16 +871,16 @@ rm -rf $RPM_BUILD_ROOT %preun -f %{name}.schemas_preun %post -n libpurple -%run_ldconfig +/sbin/ldconfig %postun -n libpurple -%run_ldconfig +/sbin/ldconfig %post -n finch -%run_ldconfig +/sbin/ldconfig %postun -n finch -%run_ldconfig +/sbin/ldconfig %files -f %{name}.lst %defattr(-,root,root) @@ -891,8 +902,15 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{_includedir}/pidgin %{_libdir}/pkgconfig/pidgin.pc +%if %suse_version > 1020 + +%files lang -f %{name}.lang + +%files -n libpurple -f libpurple.lst +%else %files -f libpurple.lst -n libpurple +%endif %defattr(-, root, root) %doc libpurple/purple-notifications-example %{_bindir}/purple-client-example @@ -948,6 +966,12 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/gaim-text %changelog +* Sat Aug 11 2007 - coolo@suse.de +- split out pidin-lang as required by other packages +* Mon Aug 06 2007 - maw@suse.de +- Use %%fdupes +- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun +- Split out -lang subpackage. * Thu Aug 02 2007 - sbrabec@suse.cz - Updated to version 2.1.0: * start with new UI concepts