66 lines
1.5 KiB
RPMSpec
66 lines
1.5 KiB
RPMSpec
|
|
Name: libgtop2
|
||
|
|
Version: 2.40.0
|
||
|
|
Release: 1
|
||
|
|
Summary: System status information library (version 2)
|
||
|
|
License: GPLv2+
|
||
|
|
URL: https://developer.gnome.org/libgtop/stable/
|
||
|
|
Source0: https://download.gnome.org/sources/libgtop/2.38/libgtop-%{version}.tar.xz
|
||
|
|
|
||
|
|
BuildRequires: gettext glib2-devel gobject-introspection-devel
|
||
|
|
|
||
|
|
%description
|
||
|
|
LibGTop is a library to get system specific data such as CPU and Memory Usage and
|
||
|
|
information about running Processes.
|
||
|
|
|
||
|
|
%package devel
|
||
|
|
Summary: Libraries and include files for developing with libgtop
|
||
|
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
|
||
|
|
%description devel
|
||
|
|
The libgtop2-devel package contains libraries and header files for
|
||
|
|
developing applications that use libgtop2.
|
||
|
|
|
||
|
|
%package_help
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n libgtop-%{version} -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
%configure --disable-gtk-doc
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
%delete_la
|
||
|
|
|
||
|
|
%ldconfig_scriptlets
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc AUTHORS
|
||
|
|
%license COPYING
|
||
|
|
%{_bindir}/*
|
||
|
|
%{_libdir}/girepository-1.0/GTop-2.0.typelib
|
||
|
|
%{_libdir}/libgtop-2.0.so.*
|
||
|
|
%{_datadir}/locale/*
|
||
|
|
|
||
|
|
%files devel
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%{_libdir}/libgtop-2.0.so
|
||
|
|
%{_libdir}/pkgconfig/*.pc
|
||
|
|
%{_libdir}/*.a
|
||
|
|
%{_includedir}/libgtop-2.0/glibtop/*.h
|
||
|
|
%{_includedir}/libgtop-2.0/*.h
|
||
|
|
%exclude %{_datadir}/info/dir
|
||
|
|
%exclude %{_datadir}/info/libgtop2.info.gz
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc README NEWS
|
||
|
|
%{_datadir}/gir-1.0/GTop-2.0.gir
|
||
|
|
%{_datadir}/gtk-doc/html/libgtop/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.40.0-1
|
||
|
|
- Package init
|