sysprof/sysprof.spec

199 lines
5.9 KiB
RPMSpec
Raw Normal View History

2009-09-27 14:49:02 +00:00
Name: sysprof
2016-09-02 10:36:02 +00:00
Version: 3.21.91
Release: 2%{?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-08-23 09:39:05 +00:00
Source0: https://download.gnome.org/sources/sysprof/3.21/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
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
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
%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
2016-08-08 14:09:57 +00:00
/sbin/ldconfig
2011-06-24 11:09:15 +00:00
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
2016-08-08 14:09:57 +00:00
/sbin/ldconfig
2011-06-24 11:09:15 +00:00
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 || :
2009-09-27 14:49:02 +00:00
2016-08-08 14:09:57 +00:00
%files -f %{name}.lang
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
%{_bindir}/sysprof-cli
2016-08-08 14:09:57 +00:00
%{_libdir}/libsysprof-2.so
%{_libdir}/libsysprof-ui-2.so
%{_libexecdir}/sysprof/sysprofd
2009-09-27 14:49:02 +00:00
%{_datadir}/applications/*.desktop
2016-08-08 14:09:57 +00:00
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof2.conf
%{_datadir}/dbus-1/system-services/org.gnome.Sysprof2.service
%{_datadir}/glib-2.0/schemas/org.gnome.sysprof2.gschema.xml
2011-06-24 11:09:15 +00:00
%{_datadir}/icons/hicolor/*/*/*
2016-08-08 14:09:57 +00:00
%{_datadir}/mime/packages/sysprof-mime.xml
%{_datadir}/polkit-1/actions/org.gnome.sysprof2.policy
%{_unitdir}/sysprof2.service
%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
* 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