2009-09-27 14:49:02 +00:00
|
|
|
Name: sysprof
|
2012-09-16 21:07:33 +00:00
|
|
|
Version: 1.2.0
|
2015-06-19 02:20:28 +00:00
|
|
|
Release: 7%{?dist}
|
2009-09-27 14:49:02 +00:00
|
|
|
Summary: A system-wide Linux profiler
|
|
|
|
Group: Development/System
|
|
|
|
License: GPLv2+
|
2011-07-28 09:49:14 +00:00
|
|
|
URL: http://www.sysprof.com
|
|
|
|
Source0: http://www.sysprof.com/sysprof-%{version}.tar.gz
|
2009-09-27 14:49:02 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
Source1: sysprof.desktop
|
|
|
|
|
|
|
|
BuildRequires: gtk2-devel => 2.6
|
|
|
|
BuildRequires: libglade2-devel
|
|
|
|
BuildRequires: binutils-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
2013-06-28 22:11:47 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
|
2009-09-27 14:49:02 +00:00
|
|
|
|
2009-09-28 22:05:00 +00:00
|
|
|
Requires: kernel => 2.6.31
|
2011-06-24 11:09:15 +00:00
|
|
|
Requires: hicolor-icon-theme
|
2009-09-28 22:05:00 +00:00
|
|
|
|
2009-09-27 14:49:02 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64
|
|
|
|
|
2013-06-28 22:11:47 +00:00
|
|
|
Patch0: sysprof-1.2.0-fix_udev_rule_path.patch
|
|
|
|
|
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
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n sysprof-%{version}
|
2013-06-28 22:11:47 +00:00
|
|
|
%patch0 -p1
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
# Fix README
|
|
|
|
iconv --from=ISO-8859-1 --to=UTF-8 README > README.new && \
|
|
|
|
touch -r README README.new && \
|
|
|
|
mv README.new README
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2013-06-28 22:11:47 +00:00
|
|
|
autoreconf
|
2009-09-27 14:49:02 +00:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
|
|
2011-06-24 11:09:15 +00:00
|
|
|
for size in 16 24 32 48; do
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/${size}x${size}/apps
|
|
|
|
ln -s %{_datadir}/pixmaps/sysprof-icon-${size}.png \
|
|
|
|
${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/${size}x${size}/apps/sysprof-icon.png
|
|
|
|
done
|
|
|
|
|
2009-09-27 14:49:02 +00:00
|
|
|
desktop-file-install \
|
|
|
|
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
|
%{SOURCE1}
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
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 || :
|
|
|
|
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc NEWS README COPYING TODO AUTHORS
|
2013-06-28 22:11:47 +00:00
|
|
|
%{_prefix}/lib/udev/rules.d/60-sysprof.rules
|
2009-09-27 14:49:02 +00:00
|
|
|
%{_bindir}/sysprof
|
|
|
|
%{_bindir}/sysprof-cli
|
|
|
|
%{_datadir}/pixmaps/sysprof-*.png
|
|
|
|
%{_datadir}/sysprof/
|
|
|
|
%{_datadir}/applications/*.desktop
|
2011-06-24 11:09:15 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
2009-09-27 14:49:02 +00:00
|
|
|
|
|
|
|
%changelog
|
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
|