From a5f1ea4c231682ef5d89a4a64ad95cab503b14eeb7697635cdcb0e4f73438f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 12 Nov 2024 12:14:31 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main libgtop revision 5dd4a665854901139ef6de415c738538 --- _service | 19 +++++++++++++++++++ libgtop-2.40.0.tar.xz | 3 --- libgtop-2.41.3+4.obscpio | 3 +++ libgtop.changes | 41 ++++++++++++++++++++++++++++++++++++++++ libgtop.obsinfo | 4 ++++ libgtop.spec | 31 ++++++++++++++++++++---------- 6 files changed, 88 insertions(+), 13 deletions(-) create mode 100644 _service delete mode 100644 libgtop-2.40.0.tar.xz create mode 100644 libgtop-2.41.3+4.obscpio create mode 100644 libgtop.obsinfo diff --git a/_service b/_service new file mode 100644 index 0000000..f984b6b --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/GNOME/libgtop.git + 43d19428df5ada254e325f31616724d1a31929b1 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + disable + + + + *.tar + zst + + + + diff --git a/libgtop-2.40.0.tar.xz b/libgtop-2.40.0.tar.xz deleted file mode 100644 index 79b0fb5..0000000 --- a/libgtop-2.40.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78f3274c0c79c434c03655c1b35edf7b95ec0421430897fb1345a98a265ed2d4 -size 744316 diff --git a/libgtop-2.41.3+4.obscpio b/libgtop-2.41.3+4.obscpio new file mode 100644 index 0000000..1e9913d --- /dev/null +++ b/libgtop-2.41.3+4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a7e3c5e0f88a54f2b4a0b5aac17cac02f44329b35025398aecb5396264b7357 +size 2669580 diff --git a/libgtop.changes b/libgtop.changes index 2a36393..34cafaa 100644 --- a/libgtop.changes +++ b/libgtop.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Thu Sep 26 16:29:10 UTC 2024 - Bjørn Lie + +- Update to version 2.41.3+4: + + Reproducible Builds: Do not embed build-server kernel version + on Linux (boo#1230850). + + Updated translations. + +------------------------------------------------------------------- +Mon Feb 19 17:35:45 UTC 2024 - Dominique Leuenberger + +- Update to version 2.41.3: + + Fixed daemon buffer overflow. + + Updated translations. + +------------------------------------------------------------------- +Tue Jan 16 12:40:28 UTC 2024 - Dominique Leuenberger + +- Convert to source service for easier updating. +- Add libtool, gtk-doc, makeinfo and util-linux-systemd + BuildRequires and call autogen.sh: git checked out sources are + not bootstrapped. + +------------------------------------------------------------------- +Sun Oct 15 15:14:59 UTC 2023 - Bjørn Lie + +- Update to version 2.41.2: + + Change disk example read/write unit to bytes + + Fixed potential Buffer overflow when reading disk stats + + Changed disk read/write unit to bytes in example +- Changes from version 2.41.1: + + Skip loop and rom devices + + Allow building with gettext >= 0.20 + + Updated translations. +- Replace glib2-devel with pkgconfig(glib-2.0) BuildRequires: Align + with what configure checks for. +- Use autosetup and ldconfig_scriptlets macros. +- Build the doc sub-package as noarch. +- Add permissions PreReq and set_permissions and verify_permissions + macros in post and verifyscript sections. + ------------------------------------------------------------------- Mon Dec 19 08:45:11 UTC 2022 - Dominique Leuenberger diff --git a/libgtop.obsinfo b/libgtop.obsinfo new file mode 100644 index 0000000..83f0574 --- /dev/null +++ b/libgtop.obsinfo @@ -0,0 +1,4 @@ +name: libgtop +version: 2.41.3+4 +mtime: 1715101662 +commit: 43d19428df5ada254e325f31616724d1a31929b1 diff --git a/libgtop.spec b/libgtop.spec index 944f40d..a8d80d1 100644 --- a/libgtop.spec +++ b/libgtop.spec @@ -1,7 +1,7 @@ # # spec file for package libgtop # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,23 @@ %define sover 11 Name: libgtop -Version: 2.40.0 +Version: 2.41.3+4 Release: 0 Summary: System status information library License: GPL-2.0-or-later Group: Development/Libraries/C and C++ URL: https://developer.gnome.org/libgtop/stable/ -Source: https://download.gnome.org/sources/libgtop/2.40/%{name}-%{version}.tar.xz -BuildRequires: glib2-devel +Source: %{name}-%{version}.tar.zst BuildRequires: gobject-introspection-devel +BuildRequires: gtk-doc +BuildRequires: libtool +BuildRequires: makeinfo BuildRequires: pkgconfig +BuildRequires: util-linux-systemd +BuildRequires: pkgconfig(glib-2.0) >= 2.6.0 BuildRequires: pkgconfig(gobject-2.0) >= 2.26.0 BuildRequires: pkgconfig(xau) +PreReq: permissions %description A library that fetches information about the running system, such as @@ -88,6 +93,7 @@ Group: Development/Libraries/GNOME Requires: libgtop-2_0-%{sover} = %{version} # FIXME: use proper Requires(pre/post/preun/...) PreReq: /sbin/install-info +BuildArch: noarch %description doc A library that fetches information about the running system, such as @@ -100,9 +106,10 @@ from /dev/kmem. %lang_package %prep -%setup -q +%autosetup -p1 %build +NOCONFIGURE=1 ./autogen.sh %configure\ --disable-static %make_build @@ -112,8 +119,7 @@ from /dev/kmem. find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %{?no_lang_C} -%post -n libgtop-2_0-%{sover} -p /sbin/ldconfig -%postun -n libgtop-2_0-%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n libgtop-2_0-%{sover} %preun doc %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}2.info.gz @@ -121,11 +127,17 @@ find %{buildroot} -type f -name "*.la" -delete -print %post doc %install_info --info-dir=%{_infodir} %{_infodir}/%{name}2.info.gz +%post +%set_permissions /usr/libexec/libgtop_server2 + +%verifyscript +%verify_permissions -e /usr/libexec/libgtop_server2 + %files lang -f %{name}.lang %files -%{_bindir}/libgtop_daemon2 -%{_bindir}/libgtop_server2 +%{_libexecdir}/libgtop_server2 +%{_libexecdir}/libgtop_daemon2 %files -n libgtop-2_0-%{sover} %license COPYING @@ -140,7 +152,6 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/GTop-2.0.gir -%doc %{_datadir}/gtk-doc/html/libgtop/ %files doc %{_infodir}/*.info*