2007-07-27 01:55:20 +02:00
#
2008-03-05 22:31:08 +01:00
# spec file for package libgtop (Version 2.21.92)
2007-07-27 01:55:20 +02:00
#
2008-01-30 21:10:13 +01:00
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-07-27 01:55:20 +02:00
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2008-03-05 22:31:08 +01:00
2007-07-27 01:55:20 +02:00
Name : libgtop
2007-08-09 15:57:39 +02:00
BuildRequires : fdupes gdbm-devel glib2-devel gtk-doc intltool licenses popt-devel xorg-x11-devel
2007-07-27 01:55:20 +02:00
License : GPL v2 or later
Group : Development/Libraries/GNOME
2008-03-05 22:31:08 +01:00
Version : 2.21.92
2007-09-11 18:27:16 +02:00
Release : 1
2007-07-27 01:55:20 +02:00
# 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
Summary : LibGTop Library
Source : ftp://ftp.gnome.org/pub/GNOME/stable/sources/libgtop/2.19/%{name} -%{version} .tar.bz2
Source1 : %{name} _spec-update.sh
2007-12-22 19:33:40 +01:00
#PATCH-FIX-UPSTREAM gnome-system-monitor-resident-schema.patch bnc157022 bgo336376 joeshaw@novell.com -- Probably need to really show Resident by default
2007-07-27 01:55:20 +02:00
Patch : libgtop-resident-field-fix.patch
Requires : libgtop-2_0-7 licenses
2007-08-09 15:57:39 +02:00
Requires : %{name} -lang = %{version}
2007-07-27 01:55:20 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
A library that fetches information about the running system, such as
CPU and memory usage and active processes.
On Linux systems, this information is taken directly from the /proc
file system. On other systems, a server is used to read information
from /dev/kmem.
Authors:
--------
Martin Baulig (martin@home-of-linux.org)
Drazen Kacar (dave@srce.hr)
%package -n libgtop-2_0-7
Summary : LibGTop Library
Group : Development/Libraries/GNOME
# Require translation package (%{name}) not older than the library:
Requires : %{name} >= %{version}
%description -n libgtop-2_0-7
A library that fetches information about the running system, such as
CPU and memory usage and active processes.
On Linux systems, this information is taken directly from the /proc
file system. On other systems, a server is used to read information
from /dev/kmem.
Authors:
--------
Martin Baulig (martin@home-of-linux.org)
Drazen Kacar (dave@srce.hr)
%package devel
Summary : Include Files and Libraries mandatory for Development.
Group : Development/Libraries/GNOME
Requires : %{name} = %{version} glib2-devel gdbm-devel xorg-x11-devel
PreReq : %install_info_prereq
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Martin Baulig (martin@home-of-linux.org)
Drazen Kacar (dave@srce.hr)
%package doc
Summary : LibGTop Library
Group : Development/Libraries/GNOME
Requires : %{name} = %{version}
%description doc
A library that fetches information about the running system, such as
CPU and memory usage and active processes.
On Linux systems, this information is taken directly from the /proc
file system. On other systems, a server is used to read information
from /dev/kmem.
Authors:
--------
Martin Baulig (martin@home-of-linux.org)
Drazen Kacar (dave@srce.hr)
2007-08-09 15:57:39 +02:00
%lang_package
2007-07-27 01:55:20 +02:00
%prep
%setup -q
%patch
# rpmlint note: libgtop has a separate translation for both Bengali and Bengali India
%build
%configure \
--disable-static
2007-12-22 19:33:40 +01:00
%__make %{?jobs:-j%jobs}
2007-07-27 01:55:20 +02:00
%install
%makeinstall
%find_lang %{name} -2.0
LIBNAME=" $ ( e c h o $RPM_BUILD_ROOT %{_libdir} / %{name} - * . s o . ? | s e d ' s / . * \ / / / ; s / \ . s o \ . / - / ; s / \ . / _ / ' ) "
if test " $ L I B N A M E " != libgtop-2_0-7 ; then
echo " L i b r a r y v e r s i o n d o e s n o t m a t c h p a c k a g e n a m e . I t s h o u l d b e $ L I B N A M E . "
exit 1
fi
for FILE in COPYING copyright.txt ; do
MD5SUM=$(md5sum $FILE | sed 's/ .*//' )
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
fi
done
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libgtop-2_0-7 -p /sbin/ldconfig
%postun -n libgtop-2_0-7 -p /sbin/ldconfig
%post doc
%install _info --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
%postun doc
%install _info_delete --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
2007-08-09 15:57:39 +02:00
%files
2007-07-27 01:55:20 +02:00
%defattr (-, root, root)
# TODO is empty
%doc AUTHORS COPYING NEWS README copyright.txt
2007-08-09 15:57:39 +02:00
%files lang -f %{name}-2.0.lang
2007-07-27 01:55:20 +02:00
%files -n libgtop-2_0-7
%defattr (-, root, root)
%{_libdir} /*.so.*
%files devel
%defattr (-, root, root)
%{_includedir} /libgtop-2.0
%{_libdir} /*.so
%{_libdir} /*.*a
%{_libdir} /pkgconfig/*.pc
%files doc
%defattr (-, root, root)
%dir %{_datadir} /gtk-doc/html/libgtop
%{_datadir} /gtk-doc/html/libgtop/*
%doc %{_infodir} /*.info*
%changelog
2008-03-05 22:31:08 +01:00
* Tue Mar 04 2008 maw@suse.de
- Update to version 2.21.92:
+ Fixed smaps parsing on linux kernels >= 2.6.24.x.
2008-01-30 21:10:13 +01:00
* Wed Jan 30 2008 rodrigo@suse.de
- Update to version 2.21.5:
* Fixed build on GNU/kfreebsd
* Fixed procmem units
* Thu Dec 20 2007 jpr@suse.de
2007-12-22 19:33:40 +01:00
- Update to version 2.21.1
* don't export _p/_s private symbols anymore. This is not an
API/ABI breakage.
* darwin implementation
* linux:
- splitted fsusage and mountlist implementations;
- smarter mountlist(allfs = False);
- fixed some compile warning on 64bit;
* solaris:
- fixed netload build
2008-01-30 21:10:13 +01:00
* Mon Sep 17 2007 sbrabec@suse.cz
2007-09-17 19:33:36 +02:00
- Updated to version 2.20.0:
* updated translations
2008-01-30 21:10:13 +01:00
* Mon Sep 10 2007 maw@suse.de
2007-09-11 18:27:16 +02:00
- Update to version 2.19.92:
+ Fix hardwired path in linux/sysinfo.c.
2008-01-30 21:10:13 +01:00
* Tue Aug 07 2007 maw@suse.de
2007-08-09 15:57:39 +02:00
- Split off a -lang subpackage
- Use %%fdupes.
2008-01-30 21:10:13 +01:00
* Fri Aug 03 2007 mauro@suse.de
2007-08-03 22:13:05 +02:00
- Updated to version 2.19.5
- Small change of the API: get_proclist returns pid_t instead of unsigned
2008-01-30 21:10:13 +01:00
* Tue Jul 17 2007 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Fixed shared library packaging.
- Added script to update library package names.
2008-01-30 21:10:13 +01:00
* Mon Jul 09 2007 maw@suse.de
2007-07-27 01:55:20 +02:00
- Rename the package to libgtop-2_0-7
- Update to version 2.19.4
- Minor API change - get_proclist returns pit_t instead of unsigned
- Portability fixes.
2008-01-30 21:10:13 +01:00
* Mon Apr 02 2007 maw@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.14.8
- Support for FreeBSD
- Fixed up signal handling.
2008-01-30 21:10:13 +01:00
* Mon Mar 26 2007 rguenther@suse.de
2007-07-27 01:55:20 +02:00
- Add gdbm-devel BuildRequires.
2008-01-30 21:10:13 +01:00
* Tue Feb 27 2007 maw@suse.de
2007-07-27 01:55:20 +02:00
- Create a -doc subpackage (#248813).
2008-01-30 21:10:13 +01:00
* Mon Feb 19 2007 maw@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.14.7
- Remove libgtop-buffer-overflow.patch which is now upstream
- Package gtk-doc generated docs in the -devel subpackage.
2008-01-30 21:10:13 +01:00
* Tue Feb 13 2007 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Do not build unusable static libraries (#238552#c17).
2008-01-30 21:10:13 +01:00
* Fri Jan 19 2007 maw@suse.de
2007-07-27 01:55:20 +02:00
- Add libgtop-buffer-overflow.patch (#235086 and CVE-2007-0235).
2008-01-30 21:10:13 +01:00
* Mon Jan 08 2007 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Spec file cleanup.
2008-01-30 21:10:13 +01:00
* Mon Jan 08 2007 ro@suse.de
2007-07-27 01:55:20 +02:00
- GNOME moved to /usr
2008-01-30 21:10:13 +01:00
* Tue Oct 03 2006 jhargadon@suse.de
2007-07-27 01:55:20 +02:00
- update to version 2.14.4
- Fixed linux maps/smaps parsing on 64bit kernel
- Fixed build with --as-needed
- Added missing G_BEGIN_DECLS/G_END_DECLS
2008-01-30 21:10:13 +01:00
* Tue Aug 15 2006 jhargadon@suse.de
2007-07-27 01:55:20 +02:00
- update to version 2.14.2
- Updated solaris support
- interface addition to handle wireless interfaces.
2008-01-30 21:10:13 +01:00
* Tue Aug 15 2006 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Call ldconfig (#198912).
2008-01-30 21:10:13 +01:00
* Wed Aug 02 2006 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.14.1
* Updated translations.
* Fixed NetBSD port (Julio M. Merino Vidal <jmmv@NetBSD.org>).
* Fixed proc_state documentation.
* Updated mountlist ignore list.
* fix get_procmap for linux < 2.6.14.
* Fixed libtool versioning (James Henstridge)
* fixed proclist
* implemented server->real_ncpu
* Requires automake-1.9 (James Henstridge)
* Supports up to 32 CPU
* Supports Linux smaps
* fixed SMP detection
2008-01-30 21:10:13 +01:00
* Tue Mar 28 2006 joeshaw@suse.de
2007-07-27 01:55:20 +02:00
- Add a patch which makes the " R e s i d e n t " field RSS - Shared,
rather than just being a duplicate of RSS. Fixes half of
bnc #157022. Submitted upstream as bgo #336376.
- Remove an unused, commented-out patch
2008-01-30 21:10:13 +01:00
* Sat Feb 04 2006 aj@suse.de
2007-07-27 01:55:20 +02:00
- Reduce BuildRequires.
2008-01-30 21:10:13 +01:00
* Thu Jan 26 2006 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Added %%install_info_prereq.
2008-01-30 21:10:13 +01:00
* Wed Jan 25 2006 mls@suse.de
2007-07-27 01:55:20 +02:00
- converted neededforbuild to BuildRequires
2008-01-30 21:10:13 +01:00
* Thu Dec 01 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.12.2
2008-01-30 21:10:13 +01:00
* Mon Sep 05 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.12.0 (GNOME 2.12)
2008-01-30 21:10:13 +01:00
* Tue Aug 23 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.11.92
2008-01-30 21:10:13 +01:00
* Mon Aug 08 2005 rodrigo@suse.de
2007-07-27 01:55:20 +02:00
- Updated to 2.11.91
2008-01-30 21:10:13 +01:00
* Tue Aug 02 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.11.90
- Fixup devel requirements
2008-01-30 21:10:13 +01:00
* Sat Jul 23 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.11.2
2008-01-30 21:10:13 +01:00
* Wed Jun 22 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.11.0
2008-01-30 21:10:13 +01:00
* Fri Jun 17 2005 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Build with libXau on x86_64 (#91187).
2008-01-30 21:10:13 +01:00
* Wed Jun 01 2005 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Fixed devel requirements.
2008-01-30 21:10:13 +01:00
* Thu Mar 10 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.10.0 (GNOME 2.10).
2008-01-30 21:10:13 +01:00
* Fri Mar 04 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.9.92
2008-01-30 21:10:13 +01:00
* Fri Feb 11 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.9.91
2008-01-30 21:10:13 +01:00
* Thu Jan 27 2005 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- updated to version 2.9.90
2008-01-30 21:10:13 +01:00
* Mon Jan 24 2005 ro@suse.de
2007-07-27 01:55:20 +02:00
- fix build on x86_64 working around non-fPIC libXau
2008-01-30 21:10:13 +01:00
* Sat Jan 22 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.9.4
2008-01-30 21:10:13 +01:00
* Tue Jan 04 2005 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.9.3
2008-01-30 21:10:13 +01:00
* Tue Dec 21 2004 gekker@suse.de
2007-07-27 01:55:20 +02:00
- Update to version 2.9.0
2008-01-30 21:10:13 +01:00
* Tue Nov 23 2004 ro@suse.de
2007-07-27 01:55:20 +02:00
- fix name of info file in postinstall
2008-01-30 21:10:13 +01:00
* Mon Oct 25 2004 ro@suse.de
2007-07-27 01:55:20 +02:00
- locale rename: no -> nb
2008-01-30 21:10:13 +01:00
* Thu Apr 29 2004 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- updated to version 2.5.2 [GNOME2.6]
2008-01-30 21:10:13 +01:00
* Mon Mar 22 2004 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Provide and obsolete libgtop2-devel.
2008-01-30 21:10:13 +01:00
* Tue Mar 16 2004 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- FHS 2.3 fix (mandir, infodir, #35821).
2008-01-30 21:10:13 +01:00
* Fri Feb 20 2004 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Package renamed to libgtop.
2008-01-30 21:10:13 +01:00
* Mon Feb 16 2004 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- fix filelist
2008-01-30 21:10:13 +01:00
* Mon Feb 09 2004 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- updated to version 2.0.8 [GNOME2.4.2]
2008-01-30 21:10:13 +01:00
* Thu Nov 06 2003 schwab@suse.de
2007-07-27 01:55:20 +02:00
- Fix quoting in configure script.
2008-01-30 21:10:13 +01:00
* Tue Sep 09 2003 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Updated to version 2.0.5.
2008-01-30 21:10:13 +01:00
* Mon Aug 25 2003 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Updated to version 2.0.4.
2008-01-30 21:10:13 +01:00
* Tue Aug 19 2003 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Updated to version 2.0.3.
2008-01-30 21:10:13 +01:00
* Mon Jul 14 2003 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- GNOME prefix change to /opt/gnome.
2008-01-30 21:10:13 +01:00
* Thu Jun 26 2003 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Cleaned up neededforbuild.
- Use %%find_lang .
2008-01-30 21:10:13 +01:00
* Mon Jun 23 2003 ro@suse.de
2007-07-27 01:55:20 +02:00
- added gnome-filesystem to neededforbuild
- added directories to filelist
2008-01-30 21:10:13 +01:00
* Tue May 27 2003 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Updated to version 2.0.2.
- Updated neededforbuild.
- Fixed %%files.
2008-01-30 21:10:13 +01:00
* Thu Jan 16 2003 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- updated to version 2.0.1
- adapted automake fix
2008-01-30 21:10:13 +01:00
* Tue Sep 24 2002 sbrabec@suse.cz
2007-07-27 01:55:20 +02:00
- Fixed incorrect update to 2.0.0.
2008-01-30 21:10:13 +01:00
* Tue Jun 11 2002 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- updated to version 2.0.0
2008-01-30 21:10:13 +01:00
* Tue Jun 04 2002 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- update to source frozen version 1.90.2
- fix filelist
2008-01-30 21:10:13 +01:00
* Wed May 15 2002 ro@suse.de
2007-07-27 01:55:20 +02:00
- use libdir
2008-01-30 21:10:13 +01:00
* Thu Apr 18 2002 ro@suse.de
2007-07-27 01:55:20 +02:00
- fix for automake-1.6
2008-01-30 21:10:13 +01:00
* Thu Jan 17 2002 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- prefixed to /opt/gnome2
2008-01-30 21:10:13 +01:00
* Mon Jan 14 2002 hhetter@suse.de
2007-07-27 01:55:20 +02:00
- initial SuSE package for GNOME 2.0 platform