|
@@ -6,12 +6,16 @@
|
|
Summary: libgtop library (version 2)
|
|
Summary: libgtop library (version 2)
|
|
Summary(ja): libgtop2 ライブラリ
|
|
Summary(ja): libgtop2 ライブラリ
|
|
Name: libgtop2
|
|
Name: libgtop2
|
|
-Version: 2.40.0
|
|
|
|
|
|
+Version: 2.41.3
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
+Group: system
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
License: GPL2
|
|
License: GPL2
|
|
-URL: ftp://ftp.gnome.org/pub/GNOME/sources/libgtop
|
|
|
|
-Group: System Environment/Libraries
|
|
|
|
-Source: http://ftp.gnome.org/pub/GNOME/sources/libgtop/2.34/libgtop-%{version}.tar.xz
|
|
|
|
|
|
+URL: https://gitlab.gnome.org/GNOME/libgtop
|
|
|
|
+%define shortver %(echo %{version} | cut -d. -f1-2)
|
|
|
|
+Source: https://download.gnome.org/sources/libgtop/%{shortver}/libgtop-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
@@ -20,17 +24,15 @@ BuildRequires: libXau-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libSM-devel
|
|
Requires: glib2 >= %{glib2_version}
|
|
Requires: glib2 >= %{glib2_version}
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
libgtop is a library for portably obtaining information about processes,
|
|
libgtop is a library for portably obtaining information about processes,
|
|
such as their PID, memory usage, etc.
|
|
such as their PID, memory usage, etc.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Libraries and include files for developing with libgtop.
|
|
Summary: Libraries and include files for developing with libgtop.
|
|
Summary(ja): libgtop の開発に必要なライブラリ、インクルードファイル
|
|
Summary(ja): libgtop の開発に必要なライブラリ、インクルードファイル
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: %{name} = %{version}
|
|
Requires: %{name} = %{version}
|
|
Requires: glib2-devel >= %{glib2_version}
|
|
Requires: glib2-devel >= %{glib2_version}
|
|
|
|
|
|
@@ -38,15 +40,21 @@ Requires: glib2-devel >= %{glib2_version}
|
|
This package provides the necessary development libraries and include
|
|
This package provides the necessary development libraries and include
|
|
files to allow you to develop with libgtop.
|
|
files to allow you to develop with libgtop.
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q -n libgtop-%{version}
|
|
%setup -q -n libgtop-%{version}
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
%configure \
|
|
%configure \
|
|
--disable-static \
|
|
--disable-static \
|
|
--enable-introspection
|
|
--enable-introspection
|
|
make
|
|
make
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
@@ -59,30 +67,26 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
%find_lang %{po_package}
|
|
%find_lang %{po_package}
|
|
|
|
|
|
-%clean
|
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
-
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{po_package}.lang
|
|
%files -f %{po_package}.lang
|
|
-%defattr(-, root, root)
|
|
|
|
%license COPYING
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
%doc AUTHORS ChangeLog NEWS README
|
|
-%{_bindir}/*
|
|
|
|
|
|
+%{_libexecdir}/*
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
-%defattr(-, root, root)
|
|
|
|
%{_includedir}/libgtop-2.0
|
|
%{_includedir}/libgtop-2.0
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_datadir}/gir-1.0/*.gir
|
|
%{_datadir}/gir-1.0/*.gir
|
|
%{_datadir}/gtk-doc/html/libgtop
|
|
%{_datadir}/gtk-doc/html/libgtop
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 11 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.41.3-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.40.0-1
|
|
* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.40.0-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|