Accepting request 50255 from home:vuntz:branches:GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/50255 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgtop?expand=0&rev=36
This commit is contained in:
parent
d253109b87
commit
de23165d21
@ -1,2 +1,2 @@
|
||||
libgtop
|
||||
libgtop-2_0-7
|
||||
provides "libgtop-<targettype> = <version>"
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 11 20:24:37 CEST 2010 - vuntz@opensuse.org
|
||||
|
||||
- Remove libgtop package that was empty, and add Provides/Obsoletes
|
||||
for it to libgtop-2_0-7. Also move the Requires of the lang
|
||||
package there, as a Recommends.
|
||||
- Remove unneeded Requires of devel package: glib2-devel,
|
||||
gdbm-devel, xorg-x11-devel. Only glib2-devel was really needed,
|
||||
and it will be added automatically via the pkgconfig() way.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 13:28:42 CEST 2010 - vuntz@opensuse.org
|
||||
|
||||
|
66
libgtop.spec
66
libgtop.spec
@ -18,12 +18,6 @@
|
||||
|
||||
|
||||
Name: libgtop
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: licenses
|
||||
BuildRequires: translation-update-upstream
|
||||
BuildRequires: xorg-x11-devel
|
||||
License: GPLv2+
|
||||
Group: Development/Libraries/GNOME
|
||||
Version: 2.28.2
|
||||
@ -35,15 +29,12 @@ Summary: LibGTop Library
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libgtop/2.19/%{name}-%{version}.tar.bz2
|
||||
Source1: %{name}_spec-update.sh
|
||||
Source99: baselibs.conf
|
||||
Requires: libgtop-2_0-7 licenses
|
||||
# assist solver to upgrade old libgtop after info.rpm
|
||||
PreReq: %install_info_prereq
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libgtop-64bit
|
||||
%endif
|
||||
#
|
||||
Requires: %{name}-lang = %{version}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: licenses
|
||||
BuildRequires: translation-update-upstream
|
||||
BuildRequires: xorg-x11-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -54,19 +45,15 @@ 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
|
||||
License: GPLv2+
|
||||
Summary: LibGTop Library
|
||||
Group: Development/Libraries/GNOME
|
||||
# Require translation package (%{name}) not older than the library:
|
||||
Requires: %{name} >= %{version}
|
||||
Requires: licenses
|
||||
Recommends: %{name}-lang
|
||||
# Needed to make lang package installable
|
||||
Provides: %{name} = %{version}
|
||||
Obsoletes: %{name} < %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libgtop-64bit
|
||||
@ -81,18 +68,11 @@ 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
|
||||
License: GPLv2+
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version} glib2-devel gdbm-devel xorg-x11-devel
|
||||
Requires: libgtop-2_0-7 = %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libgtop-devel-64bit
|
||||
@ -104,18 +84,11 @@ PreReq: %install_info_prereq
|
||||
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
|
||||
License: GPLv2+
|
||||
Summary: LibGTop Library
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libgtop-2_0-7 = %{version}
|
||||
PreReq: /sbin/install-info
|
||||
|
||||
%description doc
|
||||
@ -126,13 +99,6 @@ 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)
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
@ -178,15 +144,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%postun doc
|
||||
%install_info_delete --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
|
||||
|
||||
%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)
|
||||
%doc AUTHORS COPYING NEWS README copyright.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
|
Loading…
Reference in New Issue
Block a user