2009-09-27 14:49:02 +00:00
|
|
|
Name: sysprof
|
2016-10-12 20:01:01 +00:00
|
|
|
Version: 3.22.1
|
|
|
|
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
|
2016-09-21 16:36:09 +00:00
|
|
|
Source0: https://download.gnome.org/sources/sysprof/3.22/sysprof-%{version}.tar.xz
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
BuildRequires: binutils-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
2016-08-08 14:09:57 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: itstool
|
|
|
|
BuildRequires: polkit-devel
|
|
|
|
BuildRequires: systemd-devel
|
2009-09-27 14:49:02 +00:00
|
|
|
|
2011-06-24 11:09:15 +00:00
|
|
|
Requires: hicolor-icon-theme
|
2016-09-21 18:06:37 +00:00
|
|
|
Requires: %{name}-cli%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libsysprof-ui%{?_isa} = %{version}-%{release}
|
2009-09-28 22:05:00 +00:00
|
|
|
|
2009-09-27 14:49:02 +00:00
|
|
|
%description
|
2009-09-28 22:05:00 +00:00
|
|
|
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
|
|
|
|
2016-09-21 18:06:37 +00:00
|
|
|
%package cli
|
|
|
|
Summary: Sysprof command line utility
|
|
|
|
|
|
|
|
%description cli
|
|
|
|
The %{name}-cli package contains the sysprof-cli command line utility.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libsysprof-ui
|
|
|
|
Summary: Sysprof UI library
|
|
|
|
|
|
|
|
%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
|
2016-08-08 14:11:28 +00:00
|
|
|
%setup -q
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2016-08-08 14:09:57 +00:00
|
|
|
%configure --disable-static
|
2016-09-05 17:42:00 +00:00
|
|
|
%make_build V=1
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2016-08-08 14:11:28 +00:00
|
|
|
%make_install
|
2016-08-08 14:09:57 +00:00
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
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
|
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
|
2011-06-24 11:09:15 +00:00
|
|
|
%post
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
2016-09-21 18:06:37 +00:00
|
|
|
%post cli -p /sbin/ldconfig
|
|
|
|
%postun cli -p /sbin/ldconfig
|
2009-09-27 14:49:02 +00:00
|
|
|
|
2016-09-21 18:06:37 +00:00
|
|
|
%post -n libsysprof-ui -p /sbin/ldconfig
|
|
|
|
%postun -n libsysprof-ui -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2016-08-08 14:11:28 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS README TODO AUTHORS
|
2009-09-27 14:49:02 +00:00
|
|
|
%{_bindir}/sysprof
|
2016-09-21 18:06:37 +00:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.sysprof2.gschema.xml
|
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
%{_datadir}/mime/packages/sysprof-mime.xml
|
|
|
|
|
|
|
|
%files cli -f %{name}.lang
|
|
|
|
%license COPYING
|
2009-09-27 14:49:02 +00:00
|
|
|
%{_bindir}/sysprof-cli
|
2016-08-08 14:09:57 +00:00
|
|
|
%{_libdir}/libsysprof-2.so
|
|
|
|
%{_libexecdir}/sysprof/sysprofd
|
|
|
|
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof2.conf
|
|
|
|
%{_datadir}/dbus-1/system-services/org.gnome.Sysprof2.service
|
|
|
|
%{_datadir}/polkit-1/actions/org.gnome.sysprof2.policy
|
|
|
|
%{_unitdir}/sysprof2.service
|
|
|
|
|
2016-09-21 18:06:37 +00:00
|
|
|
%files -n libsysprof-ui
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libsysprof-ui-2.so
|
|
|
|
|
2016-08-08 14:09:57 +00:00
|
|
|
%files devel
|
|
|
|
%{_includedir}/sysprof-2/
|
|
|
|
%{_libdir}/pkgconfig/sysprof-2.pc
|
|
|
|
%{_libdir}/pkgconfig/sysprof-ui-2.pc
|
|
|
|
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
%changelog
|
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-09-21 18:06:37 +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
|
|
|
|
|
2016-09-05 17:42:00 +00:00
|
|
|
* 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
|
|
|
|
2016-02-05 01:08:31 +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
|
|
|
|
|
2015-06-19 02:20:28 +00:00
|
|
|
* 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
|
|
|
|
|
2014-08-18 04:36:36 +00:00
|
|
|
* 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
|
|
|
|
|
2014-06-08 07:55:09 +00:00
|
|
|
* 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
|
|
|
|
|
2013-08-04 16:22:56 +00:00
|
|
|
* 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)
|
|
|
|
|
2013-02-15 01:08:22 +00:00
|
|
|
* 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
|
|
|
|
|
2012-07-21 22:28:51 +00:00
|
|
|
* 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
|
|
|
|
|
2012-01-14 06:09:17 +00:00
|
|
|
* 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
|
|
|
|
|
2011-11-07 16:45:09 +00:00
|
|
|
* 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)
|
|
|
|
|
2011-02-09 17:32:54 +00:00
|
|
|
* 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
|
|
|
|
|
2009-09-28 22:05:00 +00:00
|
|
|
* 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
|
2009-09-28 22:05:00 +00:00
|
|
|
- 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
|