sysprof/sysprof.spec

357 lines
11 KiB
RPMSpec
Raw Normal View History

2019-09-05 01:22:29 +00:00
%global glib2_version 2.61.3
2009-09-27 14:49:02 +00:00
Name: sysprof
2020-01-10 11:14:41 +00:00
Version: 3.35.3
2019-09-05 01:22:01 +00:00
Release: 1%{?dist}
2009-09-27 14:49:02 +00:00
Summary: A system-wide Linux profiler
2016-08-08 14:11:28 +00:00
2016-08-08 14:09:57 +00:00
License: GPLv3+
2011-07-28 09:49:14 +00:00
URL: http://www.sysprof.com
Source0: https://download.gnome.org/sources/sysprof/3.35/sysprof-%{version}.tar.xz
2019-07-19 03:02:17 +00:00
BuildRequires: gcc
BuildRequires: gcc-c++
2019-07-19 03:02:17 +00:00
BuildRequires: gettext
BuildRequires: itstool
BuildRequires: meson
2019-09-05 01:22:29 +00:00
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
2019-07-19 03:02:17 +00:00
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(libdazzle-1.0)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(systemd)
2017-03-01 13:03:16 +00:00
BuildRequires: /usr/bin/appstream-util
BuildRequires: /usr/bin/desktop-file-validate
2009-09-27 14:49:02 +00:00
2019-09-05 01:22:29 +00:00
Requires: glib2%{?_isa} >= %{glib2_version}
2011-06-24 11:09:15 +00:00
Requires: hicolor-icon-theme
Requires: %{name}-cli%{?_isa} = %{version}-%{release}
Requires: libsysprof-ui%{?_isa} = %{version}-%{release}
2009-09-27 14:49:02 +00:00
%description
Sysprof is a sampling CPU profiler for Linux that collects accurate,
high-precision data and provides efficient access to the sampled
calltrees.
2009-09-27 14:49:02 +00:00
%package cli
Summary: Sysprof command line utility
# sysprofd needs turbostat
Requires: kernel-tools
%description cli
The %{name}-cli package contains the sysprof-cli command line utility.
%package -n libsysprof-ui
Summary: Sysprof UI library
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
%description -n libsysprof-ui
The libsysprof-ui package contains the Sysprof UI library.
2016-08-08 14:09:57 +00:00
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
2009-09-27 14:49:02 +00:00
%prep
%autosetup -p1
2009-09-27 14:49:02 +00:00
%build
%meson
%meson_build
2009-09-27 14:49:02 +00:00
%install
%meson_install
2016-09-02 10:36:02 +00:00
%find_lang %{name} --with-gnome
2011-06-24 11:09:15 +00:00
2009-09-27 14:49:02 +00:00
2016-08-08 14:11:28 +00:00
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
2009-09-27 14:49:02 +00:00
%files
2016-08-08 14:11:28 +00:00
%license COPYING
2018-09-07 09:08:16 +00:00
%doc NEWS README.md TODO AUTHORS
2009-09-27 14:49:02 +00:00
%{_bindir}/sysprof
2019-07-19 03:02:17 +00:00
%{_datadir}/applications/org.gnome.Sysprof3.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.sysprof3.gschema.xml
%{_datadir}/icons/hicolor/*/*/*
2019-07-19 03:02:17 +00:00
%{_datadir}/metainfo/org.gnome.Sysprof3.appdata.xml
%{_datadir}/mime/packages/sysprof-mime.xml
%files cli -f %{name}.lang
%license COPYING
2009-09-27 14:49:02 +00:00
%{_bindir}/sysprof-cli
2019-07-19 03:02:17 +00:00
%{_libdir}/libsysprof-3.so
%{_libexecdir}/sysprofd
2019-08-26 21:31:46 +00:00
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof2.xml
2019-07-19 03:02:17 +00:00
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml
2016-08-08 14:09:57 +00:00
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof2.conf
2019-07-19 03:02:17 +00:00
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof3.conf
2016-08-08 14:09:57 +00:00
%{_datadir}/dbus-1/system-services/org.gnome.Sysprof2.service
2019-07-19 03:02:17 +00:00
%{_datadir}/dbus-1/system-services/org.gnome.Sysprof3.service
%{_datadir}/polkit-1/actions/org.gnome.sysprof3.policy
2016-08-08 14:09:57 +00:00
%{_unitdir}/sysprof2.service
2019-07-19 03:02:17 +00:00
%{_unitdir}/sysprof3.service
2016-08-08 14:09:57 +00:00
%files -n libsysprof-ui
%license COPYING
2019-07-19 03:02:17 +00:00
%{_libdir}/libsysprof-ui-3.so
2016-08-08 14:09:57 +00:00
%files devel
2019-07-19 03:02:17 +00:00
%{_includedir}/sysprof-3/
%{_libdir}/pkgconfig/sysprof-3.pc
%{_libdir}/pkgconfig/sysprof-capture-3.pc
%{_libdir}/pkgconfig/sysprof-ui-3.pc
%{_libdir}/libsysprof-capture-3.a
2016-08-08 14:09:57 +00:00
2009-09-27 14:49:02 +00:00
%changelog
2020-01-10 11:14:41 +00:00
* Fri Jan 10 2020 Kalev Lember <klember@redhat.com> - 3.35.3-1
- Update to 3.35.3
* Wed Dec 11 2019 Adam Williamson <awilliam@redhat.com> - 3.35.2-1
- Update to 3.35.2
2019-10-07 20:06:11 +00:00
* Mon Oct 07 2019 Kalev Lember <klember@redhat.com> - 3.34.1-1
- Update to 3.34.1
2019-09-10 08:10:01 +00:00
* Tue Sep 10 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
- Update to 3.34.0
2019-09-05 01:22:01 +00:00
* Thu Sep 05 2019 Kalev Lember <klember@redhat.com> - 3.33.92-1
- Update to 3.33.92
2019-09-05 01:22:29 +00:00
- Set minimum required glib2 version
2019-09-05 01:22:01 +00:00
* Tue Aug 27 2019 Kalev Lember <klember@redhat.com> - 3.33.90-2
- Add kernel-tools runtime dep for turbostat
2019-08-26 21:31:46 +00:00
* Mon Aug 26 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
- Update to 3.33.90
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.33.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-07-19 03:02:17 +00:00
* Fri Jul 19 2019 Kalev Lember <klember@redhat.com> - 3.33.3-1
- Update to 3.33.3
2019-03-13 07:29:27 +00:00
* Wed Mar 13 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
- Update to 3.32.0
2019-02-19 06:32:04 +00:00
* Tue Feb 19 2019 Kalev Lember <klember@redhat.com> - 3.31.91-1
- Update to 3.31.91
2019-02-07 21:17:34 +00:00
* Thu Feb 07 2019 Kalev Lember <klember@redhat.com> - 3.31.90-1
- Update to 3.31.90
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2019-01-10 19:59:30 +00:00
* Thu Jan 10 2019 Kalev Lember <klember@redhat.com> - 3.31.1-2
- Backport new API for gnome-builder
2018-10-09 14:56:01 +00:00
* Tue Oct 09 2018 Kalev Lember <klember@redhat.com> - 3.31.1-1
- Update to 3.31.1
2018-09-26 07:40:52 +00:00
* Wed Sep 26 2018 Kalev Lember <klember@redhat.com> - 3.30.1-1
- Update to 3.30.1
2018-09-07 09:08:16 +00:00
* Fri Sep 07 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
- Update to 3.30.0
2018-09-07 09:09:47 +00:00
- Drop ldconfig scriptlets
2018-09-07 09:08:16 +00:00
2018-07-31 11:11:04 +00:00
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 3.28.1-3
- Rebuild with fixed binutils
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-04-10 08:57:20 +00:00
* Tue Apr 10 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
- Update to 3.28.1
2018-03-14 06:10:03 +00:00
* Wed Mar 14 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
- Update to 3.28.0
2018-03-05 09:23:08 +00:00
* Mon Mar 05 2018 Kalev Lember <klember@redhat.com> - 3.27.92-1
- Update to 3.27.92
* Sat Mar 03 2018 Kalev Lember <klember@redhat.com> - 3.27.91-1
- Update to 3.27.91
- Switch to the meson build system
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-3
- Switch to %%ldconfig_scriptlets
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-2
- Remove obsolete scriptlets
2017-10-08 21:49:47 +00:00
* Sun Oct 08 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
- Update to 3.26.1
2017-09-16 06:28:37 +00:00
* Sat Sep 16 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
- Update to 3.26.0
2017-09-07 07:33:59 +00:00
* Thu Sep 07 2017 Kalev Lember <klember@redhat.com> - 3.25.92-1
- Update to 3.25.92
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-04-11 12:36:19 +00:00
* Tue Apr 11 2017 Kalev Lember <klember@redhat.com> - 3.24.1-1
- Update to 3.24.1
2017-03-20 12:23:48 +00:00
* Mon Mar 20 2017 Kalev Lember <klember@redhat.com> - 3.24.0-1
- Update to 3.24.0
2017-03-16 16:14:30 +00:00
* Thu Mar 16 2017 Kalev Lember <klember@redhat.com> - 3.23.92-1
- Update to 3.23.92
2017-03-01 13:00:06 +00:00
* Wed Mar 01 2017 Kalev Lember <klember@redhat.com> - 3.23.91-1
- Update to 3.23.91
2017-03-01 13:03:16 +00:00
- Add appdata validation
2017-03-01 13:00:06 +00:00
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-11-29 10:38:18 +00:00
* Tue Nov 29 2016 Kalev Lember <klember@redhat.com> - 3.22.3-1
- Update to 3.22.3
2016-11-02 09:49:55 +00:00
* Wed Nov 02 2016 Kalev Lember <klember@redhat.com> - 3.22.2-1
- Update to 3.22.2
2016-10-12 20:01:01 +00:00
* Wed Oct 12 2016 Kalev Lember <klember@redhat.com> - 3.22.1-1
- Update to 3.22.1
2016-10-12 20:05:27 +00:00
- Don't use -Werror for builds
2016-10-12 20:01:01 +00:00
* Wed Sep 21 2016 Kalev Lember <klember@redhat.com> - 3.22.0-2
- Split out sysprof-cli and libsysprof-ui subpackages
2016-09-21 16:36:09 +00:00
* Wed Sep 21 2016 Kalev Lember <klember@redhat.com> - 3.22.0-1
- Update to 3.22.0
* Mon Sep 5 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.21.91-2
- Build on all arches now generic atomics supported
2016-09-02 10:36:02 +00:00
* Fri Sep 02 2016 Kalev Lember <klember@redhat.com> - 3.21.91-1
- Update to 3.21.91
2016-08-23 10:09:13 +00:00
* Tue Aug 23 2016 Kalev Lember <klember@redhat.com> - 3.21.90-2
- Enable building for arm architectures
2016-08-23 09:39:05 +00:00
* Tue Aug 23 2016 Kalev Lember <klember@redhat.com> - 3.21.90-1
- Update to 3.21.90
2016-08-08 14:09:57 +00:00
* Mon Aug 08 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
- Update to 3.20.0
2016-08-08 14:11:28 +00:00
- Modernize spec file
2016-08-08 14:09:57 +00:00
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-06-28 22:11:47 +00:00
* Fri Jun 28 2013 Gianluca Sforna <giallu@gmail.com> 1.2.0-3
- fix udev rule path (#979545)
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-09-16 21:07:33 +00:00
* Sat Sep 15 2012 Gianluca Sforna <giallu@gmail.com> 1.2.0-1
- New upstream release
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Nov 07 2011 Adam Jackson <ajax@redhat.com> 1.1.8-2
- Rebuild to break bogus libpng dependency
2011-07-28 09:49:14 +00:00
* Thu Jul 28 2011 Gianluca Sforna <giallu@gmail.com> 1.1.8-1
- New upstream release
* Fri Jun 24 2011 Gianluca Sforna <giallu@gmail.com> 1.1.6-3
2011-06-24 11:09:15 +00:00
- Fix missing icon (#558089)
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-06-08 21:24:18 +00:00
* Tue Jun 8 2010 Gianluca Sforna <giallu gmail com> - 1.1.6-1
- New upstream release
* Sun Sep 27 2009 Gianluca Sforna <giallu gmail com> - 1.1.2-3
2009-09-27 14:49:02 +00:00
- Incorporate suggestions from package review
- Require kernel 2.6.31
- Updated description
2009-09-27 14:49:02 +00:00
* Sat Sep 26 2009 Gianluca Sforna <giallu gmail com> - 1.1.2-1
- New upstream release
* Wed Apr 9 2008 Gianluca Sforna <giallu gmail com> - 1.0.9-1
- version update to 1.0.9
* Tue Aug 28 2007 Gianluca Sforna <giallu gmail com> 1.0.8-2
- update License field
* Thu Dec 21 2006 Gianluca Sforna <giallu gmail com> 1.0.8-1
- version update to 1.0.8
* Tue Nov 21 2006 Gianluca Sforna <giallu gmail com> 1.0.7-1
- version update to 1.0.7
* Wed Nov 1 2006 Gianluca Sforna <giallu gmail com> 1.0.5-1
- version update
* Sun Oct 8 2006 Gianluca Sforna <giallu gmail com> 1.0.3-6
- better to use ExclusiveArch %%{ix86} (thanks Ville)
* Thu Oct 5 2006 Gianluca Sforna <giallu gmail com> 1.0.3-5
- add ExclusiveArch to match sysprof-kmod supported archs
2013-06-28 22:11:47 +00:00
* Mon Oct 2 2006 Gianluca Sforna <giallu gmail com> 1.0.3-4
2009-09-27 14:49:02 +00:00
- add .desktop file
2013-06-28 22:11:47 +00:00
* Sat Sep 30 2006 Gianluca Sforna <giallu gmail com> 1.0.3-3
2009-09-27 14:49:02 +00:00
- versioned Provides
- add BR: binutils-devel
* Fri Sep 29 2006 Gianluca Sforna <giallu gmail com> 1.0.3-2
- own sysprof directory
* Thu Jun 22 2006 Gianluca Sforna <giallu gmail com> 1.0.3-1
- version update
- use standard %%configure macro
* Sun May 14 2006 Gianluca Sforna <giallu gmail com> 1.0.2-1
- Initial Version