Accepting request 461994 from home:jengelh:branches:GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/461994 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgtop?expand=0&rev=72
This commit is contained in:
parent
7b28904a27
commit
549da55561
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 2 14:26:43 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Rename %soname to %sover to better reflect its use.
|
||||
- Redo summaries and RPM groups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 09:32:12 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
30
libgtop.spec
30
libgtop.spec
@ -19,10 +19,10 @@
|
||||
Name: libgtop
|
||||
Version: 2.35.90
|
||||
Release: 0
|
||||
%define soname 10
|
||||
Summary: LibGTop Library
|
||||
%define sover 10
|
||||
Summary: System status information library
|
||||
License: GPL-2.0+
|
||||
Group: System/Libraries
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://developer.gnome.org/libgtop/stable/
|
||||
Source: http://download.gnome.org/sources/libgtop/2.35/%{name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
@ -43,8 +43,8 @@ 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 libgtop-2_0-%{soname}
|
||||
Summary: LibGTop Library
|
||||
%package -n libgtop-2_0-%{sover}
|
||||
Summary: System status information library
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}-lang
|
||||
# Needed to make lang package installable
|
||||
@ -56,7 +56,7 @@ Obsoletes: libgtop-64bit
|
||||
%endif
|
||||
#
|
||||
|
||||
%description -n libgtop-2_0-%{soname}
|
||||
%description -n libgtop-2_0-%{sover}
|
||||
A library that fetches information about the running system, such as
|
||||
CPU and memory usage and active processes.
|
||||
|
||||
@ -65,7 +65,7 @@ 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
|
||||
Summary: Introspection bindings for libgtop
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-GTop-2_0
|
||||
@ -79,9 +79,9 @@ from /dev/kmem.
|
||||
This package provides the GObject Introspection bindings for libgtop.
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Summary: Development files for libgtop
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: libgtop-2_0-%{soname} = %{version}
|
||||
Requires: libgtop-2_0-%{sover} = %{version}
|
||||
Requires: typelib-1_0-GTop-2_0 = %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
@ -95,9 +95,9 @@ This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
%package doc
|
||||
Summary: LibGTop Library
|
||||
Summary: Documentation for the libgtop library
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: libgtop-2_0-%{soname} = %{version}
|
||||
Requires: libgtop-2_0-%{sover} = %{version}
|
||||
PreReq: /sbin/install-info
|
||||
|
||||
%description doc
|
||||
@ -119,16 +119,16 @@ translation-update-upstream po libgtop
|
||||
%build
|
||||
%configure\
|
||||
--disable-static
|
||||
%__make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
|
||||
%post -n libgtop-2_0-%{soname} -p /sbin/ldconfig
|
||||
%post -n libgtop-2_0-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgtop-2_0-%{soname} -p /sbin/ldconfig
|
||||
%postun -n libgtop-2_0-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%preun doc
|
||||
%install_info_delete --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
|
||||
@ -138,7 +138,7 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%files -n libgtop-2_0-%{soname}
|
||||
%files -n libgtop-2_0-%{sover}
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS COPYING NEWS README copyright.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user