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
|
Wed Feb 15 09:32:12 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
30
libgtop.spec
30
libgtop.spec
@ -19,10 +19,10 @@
|
|||||||
Name: libgtop
|
Name: libgtop
|
||||||
Version: 2.35.90
|
Version: 2.35.90
|
||||||
Release: 0
|
Release: 0
|
||||||
%define soname 10
|
%define sover 10
|
||||||
Summary: LibGTop Library
|
Summary: System status information library
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://developer.gnome.org/libgtop/stable/
|
Url: https://developer.gnome.org/libgtop/stable/
|
||||||
Source: http://download.gnome.org/sources/libgtop/2.35/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/libgtop/2.35/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
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
|
file system. On other systems, a server is used to read information
|
||||||
from /dev/kmem.
|
from /dev/kmem.
|
||||||
|
|
||||||
%package -n libgtop-2_0-%{soname}
|
%package -n libgtop-2_0-%{sover}
|
||||||
Summary: LibGTop Library
|
Summary: System status information library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
# Needed to make lang package installable
|
# Needed to make lang package installable
|
||||||
@ -56,7 +56,7 @@ Obsoletes: libgtop-64bit
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
|
|
||||||
%description -n libgtop-2_0-%{soname}
|
%description -n libgtop-2_0-%{sover}
|
||||||
A library that fetches information about the running system, such as
|
A library that fetches information about the running system, such as
|
||||||
CPU and memory usage and active processes.
|
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.
|
from /dev/kmem.
|
||||||
|
|
||||||
%package -n typelib-1_0-GTop-2_0
|
%package -n typelib-1_0-GTop-2_0
|
||||||
Summary: LibGTop Library -- Introspection bindings
|
Summary: Introspection bindings for libgtop
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-GTop-2_0
|
%description -n typelib-1_0-GTop-2_0
|
||||||
@ -79,9 +79,9 @@ from /dev/kmem.
|
|||||||
This package provides the GObject Introspection bindings for libgtop.
|
This package provides the GObject Introspection bindings for libgtop.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Development files for libgtop
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Requires: libgtop-2_0-%{soname} = %{version}
|
Requires: libgtop-2_0-%{sover} = %{version}
|
||||||
Requires: typelib-1_0-GTop-2_0 = %{version}
|
Requires: typelib-1_0-GTop-2_0 = %{version}
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
@ -95,9 +95,9 @@ This package contains all necessary include files and libraries needed
|
|||||||
to develop applications that require these.
|
to develop applications that require these.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: LibGTop Library
|
Summary: Documentation for the libgtop library
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Requires: libgtop-2_0-%{soname} = %{version}
|
Requires: libgtop-2_0-%{sover} = %{version}
|
||||||
PreReq: /sbin/install-info
|
PreReq: /sbin/install-info
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
@ -119,16 +119,16 @@ translation-update-upstream po libgtop
|
|||||||
%build
|
%build
|
||||||
%configure\
|
%configure\
|
||||||
--disable-static
|
--disable-static
|
||||||
%__make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%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
|
%preun doc
|
||||||
%install_info_delete --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
|
%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 lang -f %{name}.lang
|
||||||
|
|
||||||
%files -n libgtop-2_0-%{soname}
|
%files -n libgtop-2_0-%{sover}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING NEWS README copyright.txt
|
%doc AUTHORS COPYING NEWS README copyright.txt
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
Loading…
Reference in New Issue
Block a user