diff --git a/sysprof-3.38.1.tar.xz b/sysprof-3.38.1.tar.xz deleted file mode 100644 index ec26dcb..0000000 Binary files a/sysprof-3.38.1.tar.xz and /dev/null differ diff --git a/sysprof-3.44.0.tar.xz b/sysprof-3.44.0.tar.xz new file mode 100644 index 0000000..9b309fa Binary files /dev/null and b/sysprof-3.44.0.tar.xz differ diff --git a/sysprof.spec b/sysprof.spec index 630e956..b8ccb99 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -1,23 +1,27 @@ +%global glib2_version 2.67.4 + Name: sysprof -Version: 3.38.1 -Release: 2 +Version: 3.44.0 +Release: 1 Summary: A system-wide Linux profiler License: GPLv3+ URL: http://www.sysprof.com -Source0: https://download.gnome.org/sources/sysprof/3.38/sysprof-%{version}.tar.xz +Source0: https://download.gnome.org/sources/sysprof/3.44/sysprof-%{version}.tar.xz -BuildRequires: gcc gcc-c++ gettext itstool meson glib2-devel >= 2.61.3 pkgconfig(gtk+-3.0) >= 3.22.0 +BuildRequires: gcc gcc-c++ gettext itstool meson json-glib-devel libunwind-devel BuildRequires: libdazzle-devel systemd-devel polkit-devel libappstream-glib desktop-file-utils +BuildRequires: glib2-devel >= %{glib2_version} pkgconfig(gtk+-3.0) >= 3.22.0 -Requires: glib2 >= 2.61.3 hicolor-icon-theme %{name}-cli = %{version}-%{release} -Requires: libsysprof-ui = %{version}-%{release} +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: hicolor-icon-theme +Requires: %{name}-cli%{?_isa} = %{version}-%{release} +Requires: libsysprof-ui%{?_isa} = %{version}-%{release} %description Sysprof is a sampling CPU profiler for Linux that collects accurate. %package cli Summary: Sysprof command line utility -# sysprofd needs turbostat Requires: kernel-tools %description cli @@ -25,7 +29,6 @@ The %{name}-cli package contains the sysprof-cli command line utility. %package -n libsysprof-ui Summary: Sysprof UI library -BuildRequires: gtk3-devel >= 3.22.0 %description -n libsysprof-ui The libsysprof-ui package contains the Sysprof UI library. @@ -33,6 +36,7 @@ The libsysprof-ui package contains the Sysprof UI library. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} +Provides: sysprof-capture-static = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for @@ -88,6 +92,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_libdir}/libsysprof-ui-4.so %files devel +%license src/libsysprof-capture/COPYING %{_includedir}/sysprof-4/ %{_libdir}/pkgconfig/sysprof-4.pc %{_libdir}/pkgconfig/sysprof-capture-4.pc @@ -98,6 +103,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %doc README.md %changelog +* Wed Apr 20 2022 dillon chen - 3.44.0-1 +- Update to 3.44.0 + * Tue Jul 20 2021 hanhui - 3.38.1-2 - delete rely on low version of the file