51a0cb
# Review: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173658
51a0cb
a8c450
%global _hardened_build 1
336ae3
%global minorversion 1.1
1ed395
%global xfceversion 4.13
22ac14
22ac14
Name:           xfce4-cpugraph-plugin
336ae3
Version:        1.1.0
336ae3
Release:        1%{?dist}
22ac14
Summary:        CPU monitor for the Xfce panel
22ac14
22ac14
License:        GPLv2+
22ac14
URL:            http://goodies.xfce.org/projects/panel-plugins/%{name}
22ac14
#VCS: git:git://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin
22ac14
Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
22ac14
470f05
BuildRequires:  gcc-c++
a8c450
BuildRequires:  libxfce4ui-devel
a8c450
BuildRequires:  xfce4-panel-devel
22ac14
BuildRequires:  intltool
22ac14
BuildRequires:  gettext
22ac14
Requires:       xfce4-panel >= %{xfceversion}
cdaf25
cdaf25
%description
cdaf25
A CPU monitor plugin for the Xfce panel. It offers multiple display modes 
cdaf25
(LED, gradient, fire, etc...) to show the current CPU load of the system. The 
cdaf25
colors and the size of the plugin are customizable.
cdaf25
51a0cb
cdaf25
%prep
a8c450
%autosetup
cdaf25
51a0cb
cdaf25
%build
56c2bf
%configure
a8c450
%make_build
cdaf25
51a0cb
cdaf25
%install
a8c450
%make_install
22ac14
# remove la file
4a2970
find %{buildroot} -name '*.la' -exec rm -f {} ';'
22ac14
22ac14
# make sure debuginfo is generated properly
22ac14
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
22ac14
56c2bf
%find_lang %{name}
cdaf25
51a0cb
a8c450
%check
a8c450
make check
51a0cb
cdaf25
56c2bf
%files -f %{name}.lang
a8c450
%doc AUTHORS ChangeLog README NEWS
a8c450
%license COPYING
22ac14
%{_libdir}/xfce4/panel/plugins/*.so
22ac14
%{_datadir}/xfce4/panel/plugins/*.desktop
dc3a23
%{_datadir}/icons/hicolor/*/*/*
cdaf25
cdaf25
%changelog
336ae3
* Tue Jul 02 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.1.0-1
336ae3
- Update to 1.1.0
336ae3
ca94d4
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-21
ca94d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ca94d4
1ed395
* Sat Aug 11 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.5-20
1ed395
- Rebuilt (xfce 4.13)
1ed395
e07687
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-15
e07687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e07687
ccbefe
* Sun Feb 11 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.0.5-14
a8c450
- Spec cleanup / modernization
ccbefe
d6e0f9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-13
d6e0f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d6e0f9
51a46c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-12
51a46c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
51a46c
d83acb
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-11
d83acb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d83acb
6d1bcb
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-10
6d1bcb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6d1bcb
0d9db1
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-9
0d9db1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0d9db1
7f772f
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-8
7f772f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7f772f
c58cb8
* Sat Feb 28 2015 Kevin Fenzi <kevin@scrye.com> 1.0.5-7
c58cb8
- Rebuild for Xfce 4.12
c58cb8
d91ab5
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-6
d91ab5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d91ab5
3821de
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-5
3821de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3821de
d31a8e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-4
d31a8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d31a8e
af92e1
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
af92e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
af92e1
2de694
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
2de694
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2de694
ccbefe
* Wed Jul 11 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.5-1
eb5e0c
- Update to 1.0.5
eb5e0c
d4ed66
* Sat Jun 30 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.3-2
313933
- Define the Xfce version conditionally
313933
a24113
* Sat Jun 30 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.3-1
a24113
- Update to 1.0.3
a24113
22ac14
* Mon Apr 30 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.2-1
22ac14
- Update to 1.0.2 (Xfce 4.10 final)
22ac14
- Add VCS key
22ac14
bc9845
* Sun Apr 15 2012 Kevin Fenzi <kevin@scrye.com> - 1.0.1-7
bc9845
- Rebuild for Xfce 4.10(pre2)
bc9845
70daa7
* Thu Apr 05 2012 Kevin Fenzi <kevin@scrye.com> - 1.0.1-6
70daa7
- Rebuild for Xfce 4.10
70daa7
d5e908
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
d5e908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d5e908
d14153
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.0.1-4
d14153
- Rebuild for new libpng
d14153
324242
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
324242
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
324242
Kevin Fenzi 1c5038
* Fri Dec 10 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-2
Kevin Fenzi 1c5038
- Rebuild for xfce4-panel 4.7
Kevin Fenzi 1c5038
dc3a23
* Sun Dec 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-1
dc3a23
- Update to 1.0.1
dc3a23
461526
* Thu Oct 07 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.0-1
461526
- Update to 1.0.0
461526
- License change: GPLv2+ instead of BSD
461526
- Update Source URL
461526
- BR intltool instead of perl(XML::Parser)
461526
dda498
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-6
dda498
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
dda498
a56c8e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-5
a56c8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a56c8e
8ae74e
* Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-4
b36978
- Rebuild for Xfce 4.6 (Beta 3)
b36978
cb082d
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-3
cb082d
- Autorebuild for GCC 4.3
cb082d
8ae74e
* Fri Dec 07 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-2
1fcf85
- Rebuild for Xfce 4.4.2
1fcf85
8ae74e
* Sat Nov 24 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-1
56c2bf
- Update to 0.4.0
56c2bf
- Remove asneeded patch, fixed upstream
56c2bf
- drop --disable-static
56c2bf
8ae74e
* Sat Apr 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-5
b70f9a
- Rebuild for Xfce 4.4.1
b70f9a
8ae74e
* Mon Jan 22 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-4
15b6a3
- Rebuild for Xfce 4.4.
99e57d
- Patch to compile with -Wl,--as-needed (bugzilla.xfce.org #2785)
15b6a3
8ae74e
* Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-3
82cba6
- Bump release for devel checkin.
82cba6
8ae74e
* Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-2
82cba6
- Rebuild for XFCE 4.3.99.1.
82cba6
- BR perl(XML::Parser).
82cba6
8ae74e
* Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-1
82cba6
- Update to 0.3 on XFCE 4.3.90.2.
82cba6
8ae74e
* Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.2-7
45327e
- Mass rebuild for Fedora Core 6.
45327e
f1c260
* Tue Apr 11 2006 Christoph Wickert <fedora wickert="" at="" arcor="" de=""> - 0.2.2-6
f1c260
- Require xfce4-panel.
f1c260
1d7710
* Thu Feb 16 2006 Christoph Wickert <fedora wickert="" at="" arcor="" de=""> - 0.2.2-5
ec4e1b
- Rebuild for Fedora Extras 5.
ec4e1b
cdaf25
* Mon Nov 28 2005 Christoph Wickert <fedora wickert="" at="" arcor="" de=""> - 0.2.2-4
cdaf25
- Rebuild with new source because of md5sum mismatch.
cdaf25
- Add libxfcegui4-devel BuildReqs.
cdaf25
cdaf25
* Mon Nov 14 2005 Christoph Wickert <fedora wickert="" at="" arcor="" de=""> - 0.2.2-3
cdaf25
- Initial Fedora Extras version.
cdaf25
- Rebuild for XFCE 4.2.3.
cdaf25
- disable-static instead of removing .a files.
cdaf25
cdaf25
* Fri Sep 23 2005 Christoph Wickert <fedora wickert="" at="" arcor="" de=""> - 0.2.2-2.fc4.cw
cdaf25
- Add libxml2 BuildReqs.
cdaf25
cdaf25
* Sat Jul 09 2005 Christoph Wickert <fedora wickert="" at="" arcor="" de=""> - 0.2.2-1.fc4.cw
cdaf25
- Rebuild for Core 4.
cdaf25
cdaf25
* Wed Apr 13 2005 Christoph Wickert <fedora wickert="" at="" arcor="" de=""> - 0.2.2-1.fc3.cw
cdaf25
- Initial RPM release.