Accepting request 98033 from home:vuntz:branches:GNOME:Factory
Split typelib subpackage OBS-URL: https://build.opensuse.org/request/show/98033 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgtop?expand=0&rev=44
This commit is contained in:
parent
08664b0312
commit
97824865a7
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 23 10:19:49 UTC 2011 - vuntz@opensuse.org
|
||||
|
||||
- Split typelib file into typelib-1_0-GTop-2_0 subpackage.
|
||||
- Add typelib-1_0-GTop-2_0 Requires to devel subpackage.
|
||||
- Change group of main subpackage and libgtop-2_0-7 to
|
||||
System/Libraries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 30 16:22:09 CEST 2011 - vuntz@opensuse.org
|
||||
|
||||
|
31
libgtop.spec
31
libgtop.spec
@ -15,17 +15,15 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: libgtop
|
||||
License: GPLv2+
|
||||
Group: Development/Libraries/GNOME
|
||||
Version: 2.28.4
|
||||
Release: 1
|
||||
Release: 0
|
||||
# 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
|
||||
License: GPL-2.0+
|
||||
Group: System/Libraries
|
||||
Source: http://download.gnome.org/sources/libgtop/2.28/%{name}-%{version}.tar.bz2
|
||||
Source1: %{name}_spec-update.sh
|
||||
Source99: baselibs.conf
|
||||
@ -46,9 +44,8 @@ file system. On other systems, a server is used to read information
|
||||
from /dev/kmem.
|
||||
|
||||
%package -n libgtop-2_0-7
|
||||
License: GPLv2+
|
||||
Summary: LibGTop Library
|
||||
Group: Development/Libraries/GNOME
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}-lang
|
||||
# Needed to make lang package installable
|
||||
Provides: %{name} = %{version}
|
||||
@ -67,11 +64,25 @@ 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.
|
||||
|
||||
%package -n typelib-1_0-GTop-2_0
|
||||
Summary: LibGTop Library -- Introspection bindings
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-GTop-2_0
|
||||
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.
|
||||
|
||||
This package provides the GObject Introspection bindings for libgtop.
|
||||
|
||||
%package devel
|
||||
License: GPLv2+
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: libgtop-2_0-7 = %{version}
|
||||
Requires: typelib-1_0-GTop-2_0 = %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libgtop-devel-64bit
|
||||
@ -84,7 +95,6 @@ This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
%package doc
|
||||
License: GPLv2+
|
||||
Summary: LibGTop Library
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: libgtop-2_0-7 = %{version}
|
||||
@ -144,6 +154,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS COPYING NEWS README copyright.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n typelib-1_0-GTop-2_0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/girepository-1.0/GTop-2.0.typelib
|
||||
|
||||
%files devel
|
||||
|
Loading…
x
Reference in New Issue
Block a user