diff --git a/libgtop.changes b/libgtop.changes index c3bdc21..f24140c 100644 --- a/libgtop.changes +++ b/libgtop.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 7 20:12:00 CEST 2007 - maw@suse.de + +- Split off a -lang subpackage +- Use %fdupes. + ------------------------------------------------------------------- Fri Aug 3 21:52:26 CEST 2007 - mauro@suse.de diff --git a/libgtop.spec b/libgtop.spec index 93c836c..23c2903 100644 --- a/libgtop.spec +++ b/libgtop.spec @@ -10,11 +10,11 @@ Name: libgtop -BuildRequires: gdbm-devel glib2-devel gtk-doc intltool licenses popt-devel xorg-x11-devel +BuildRequires: fdupes gdbm-devel glib2-devel gtk-doc intltool licenses popt-devel xorg-x11-devel License: GPL v2 or later Group: Development/Libraries/GNOME Version: 2.19.5 -Release: 1 +Release: 3 # WARNING: After changing versions please call Re or rpmbuild to auto-update spec file: #%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libgtop-2_0) %define libgtop-2_0_name 7 @@ -23,6 +23,7 @@ Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libgtop/2.19/%{name Source1: %{name}_spec-update.sh Patch: libgtop-resident-field-fix.patch Requires: libgtop-2_0-7 licenses +Requires: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -98,6 +99,7 @@ Authors: Martin Baulig (martin@home-of-linux.org) Drazen Kacar (dave@srce.hr) +%lang_package %prep %setup -q %patch @@ -137,11 +139,13 @@ rm -rf $RPM_BUILD_ROOT %postun doc %install_info_delete --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz -%files -f %{name}-2.0.lang +%files %defattr(-, root, root) # TODO is empty %doc AUTHORS COPYING NEWS README copyright.txt +%files lang -f %{name}-2.0.lang + %files -n libgtop-2_0-7 %defattr(-, root, root) %{_libdir}/*.so.* @@ -160,6 +164,9 @@ rm -rf $RPM_BUILD_ROOT %doc %{_infodir}/*.info* %changelog +* Tue Aug 07 2007 - maw@suse.de +- Split off a -lang subpackage +- Use %%fdupes. * Fri Aug 03 2007 - mauro@suse.de - Updated to version 2.19.5 - Small change of the API: get_proclist returns pid_t instead of unsigned