diff --git a/README.md b/README.md deleted file mode 100644 index 7342728d557c602f51c6d278bba9f3dd9faaf356..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Anolis OS -======================================= -# 代码仓库说明 -## 分支说明 ->进行代码开发工作时,请注意选择当前版本对应的分支 -* aX分支为对应大版本的主分支,如a8分支对应当前最新版本 -* aX.Y分支为对应小版本的维护分支,如a8.2分支对应8.2版本 -## 开发流程 -1. 首先fork目标分支到自己的namespace -2. 在自己的fork分支上做出修改 -3. 向对应的仓库中提交merge request,源分支为fork分支 diff --git a/libgtop-2.41.1.tar.xz b/libgtop-2.41.1.tar.xz deleted file mode 100644 index 5020cd204e8887eb608313c94183deab5636a68c..0000000000000000000000000000000000000000 Binary files a/libgtop-2.41.1.tar.xz and /dev/null differ diff --git a/libgtop-2.41.2.tar.xz b/libgtop-2.41.2.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..f3cfebf9c063c096d97a5ef3b609c3b3fc0644b8 Binary files /dev/null and b/libgtop-2.41.2.tar.xz differ diff --git a/libgtop2.spec b/libgtop2.spec index 651b61e12cacb7b613de0b1648246fddb127bec9..22d94dd7901e3e283576eb4a64c5ccad00f84b3a 100644 --- a/libgtop2.spec +++ b/libgtop2.spec @@ -1,20 +1,18 @@ %define anolis_release 1 Name: libgtop2 -Version: 2.41.1 +Version: 2.41.2 Release: %{anolis_release}%{?dist} Summary: LibGTop library (version 2) - -License: GPLv2+ -URL: http://download.gnome.org/sources/libgtop -Source0: http://download.gnome.org/sources/libgtop/2.41/libgtop-%{version}.tar.xz -BuildRequires: pkgconfig(glib-2.0) >= 2.6.0 +License: GPL-2.0-or-later +URL: https://download.gnome.org/sources/libgtop +Source0: https://download.gnome.org/sources/libgtop/2.41/libgtop-%{version}.tar.xz + BuildRequires: pkgconfig(gobject-2.0) >= 2.26.0 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: gettext BuildRequires: make -BuildRequires: gtk-doc >= 1.4 - + %description LibGTop is a library for portably obtaining information about processes, such as their PID, memory usage, etc. @@ -30,23 +28,27 @@ Doc pages for %{name}. %package devel Summary: Libraries and include files for developing with libgtop Requires: %{name} = %{version}-%{release} - + %description devel This package provides the necessary development libraries and include files to allow you to develop with LibGTop. - + %prep -%autosetup -n libgtop-%{version} -p1 - +%autosetup -p1 -n libgtop-%{version} + %build -%configure --disable-static --enable-gtk-doc --disable-gtk-doc-pdf +%configure --disable-gtk-doc --disable-static %make_build - + %install %make_install - +find %{buildroot} -name '*.la' -delete + + %find_lang libgtop - + +%ldconfig_scriptlets + %files -f libgtop.lang %license COPYING %{_libexecdir}/libgtop_daemon2 @@ -56,8 +58,8 @@ files to allow you to develop with LibGTop. %{_libdir}/girepository-1.0/GTop-2.0.typelib %files doc -%doc AUTHORS ChangeLog NEWS README - +%doc AUTHORS NEWS README + %files devel %{_libdir}/libgtop-2.0.so %{_includedir}/libgtop-2.0 @@ -67,9 +69,12 @@ files to allow you to develop with LibGTop. %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/libgtop -%{_infodir}/libgtop2.info* - +%exclude %{_datadir}/info + %changelog +* Mon Feb 24 2025 wangzhe - 2.41.2-1 +- Refer to CentOS Stream libgtop2-2.41.2-5 (tdawson@redhat.com) + * Mon Jan 16 2023 Funda Wang - 2.41.1-1 - New version 2.41.1