78cc5a6
%global minor_version 1.1
85fac25
78cc5a6
Name:           xfce4-netload-plugin
877fe4f
Version:        1.2.0
4da665b
Release:        6%{?dist}
78cc5a6
Summary:        Network-load monitor for the Xfce panel
85fac25
78cc5a6
Group:          User Interface/Desktops
78cc5a6
License:        GPLv2+
78cc5a6
URL:            http://goodies.xfce.org/projects/panel-plugins/%{name}
78cc5a6
Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
4da665b
# Increase interface name limit to 20 chars
4da665b
# https://bugzilla.xfce.org/show_bug.cgi?id=9807
4da665b
# https://bugzilla.xfce.org/show_bug.cgi?id=9869
4da665b
# https://bugzilla.redhat.com/show_bug.cgi?id=1002329
4da665b
Patch0:         xfce4-netload-plugin-1.2.0-infterface-length.patch
78cc5a6
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
85fac25
78cc5a6
BuildRequires:  pkgconfig(libxfce4panel-1.0) >= 4.7.0
78cc5a6
BuildRequires:  pkgconfig(libxfce4ui-1) >= 4.7.0
78cc5a6
BuildRequires:  libxml2-devel
78cc5a6
BuildRequires:  gettext, intltool
78cc5a6
Requires:       xfce4-panel >= 4.7.0
73810a9
73810a9
%description
73810a9
A network-load monitor plugin for the Xfce panel.
73810a9
78cc5a6
73810a9
%prep
73810a9
%setup -q
73810a9
4da665b
%patch0 -p1
3eac6bf
73810a9
%build
78cc5a6
%configure
73810a9
make %{?_smp_mflags}
73810a9
78cc5a6
73810a9
%install
3eac6bf
rm -rf %{buildroot}
3eac6bf
make install DESTDIR=%{buildroot}
08c4c89
%find_lang %{name}
73810a9
78cc5a6
85fac25
%post
85fac25
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
85fac25
78cc5a6
85fac25
%postun
85fac25
if [ $1 -eq 0 ] ; then
85fac25
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
85fac25
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
85fac25
fi
85fac25
78cc5a6
85fac25
%posttrans
85fac25
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
85fac25
78cc5a6
73810a9
%clean
3eac6bf
rm -rf %{buildroot}
3eac6bf
73810a9
08c4c89
%files -f %{name}.lang
73810a9
%defattr(-,root,root,-)
73810a9
%doc AUTHORS COPYING ChangeLog README
85fac25
%{_datadir}/icons/hicolor/*/*/*
78cc5a6
%{_libexecdir}/xfce4/panel-plugins/%{name}
08c4c89
%{_datadir}/xfce4/panel-plugins/*.desktop
73810a9
3eac6bf
73810a9
%changelog
4da665b
* Tue Oct 28 2014 Kevin Fenzi <kevin@scrye.com> 1.2.0-6
4da665b
- Add patch to increase network interface name length to 20.
4da665b
- Fixes bug #1002329
4da665b
021ed71
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
021ed71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
021ed71
ad39474
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
ad39474
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ad39474
4ff801e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
4ff801e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4ff801e
807f879
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
807f879
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
807f879
877fe4f
* Fri Jul 20 2012 Kevin Fenzi <kevin@scrye.com> - 1.2.0-1
877fe4f
- Update to 1.2.0 
877fe4f
4a2e927
* Sun Apr 15 2012 Kevin Fenzi <kevin@scrye.com> - 1.1.0-4
4a2e927
- Rebuild for Xfce 4.10(pre2)
4a2e927
794c1e5
* Thu Apr 05 2012 Kevin Fenzi <kevin@scrye.com> - 1.1.0-3
794c1e5
- Rebuild for Xfce 4.10
794c1e5
3eac6bf
* Fri Mar 09 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-2
3eac6bf
- Don't use libxecdir if possible
3eac6bf
78cc5a6
* Sat Jan 14 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-1
78cc5a6
- Update to 1.1.0
78cc5a6
- Add VCS key
78cc5a6
ddb8a24
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-5
ddb8a24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ddb8a24
cad1db6
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.0.0-4
cad1db6
- Rebuild for new libpng
cad1db6
0cc74f6
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
0cc74f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0cc74f6
Kevin Fenzi e0c8ad5
* Fri Dec 10 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.0-2
Kevin Fenzi e0c8ad5
- Rebuild for xfce4-panel 4.7
Kevin Fenzi e0c8ad5
85fac25
* Fri Dec 10 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.0-1
85fac25
- Update to 1.0.0
85fac25
- Remove all patches (upstreamed)
85fac25
3b7f606
* Wed Sep 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-12
3b7f606
- Fix bar colors (#505214)
3b7f606
09c7dd5
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-11
09c7dd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
09c7dd5
4e937d2
* Mon Jun 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-10
4e937d2
- Bring back tooltips in GTK 2.16 with Dimitar Zhekov's patch (#508637)
4e937d2
326180e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-9
326180e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
326180e
3ae43e5
* Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-8
3ae43e5
- Rebuild for Xfce 4.6 (Beta 3)
3ae43e5
dbc720d
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-7
dbc720d
- Autorebuild for GCC 4.3
dbc720d
3ae43e5
* Sat Aug 25 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-6
9b03610
- Rebuild for BuildID feature
9b03610
- Update license tag
9b03610
3ae43e5
* Sat Apr 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-5
98f4a05
- Rebuild for Xfce 4.4.1
98f4a05
3ae43e5
* Mon Jan 22 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-4
0108e48
- Rebuild for Xfce 4.4.
0108e48
- Patch to compile with -Wl,--as-needed (bugzilla.xfce.org #2782)
0108e48
3ae43e5
* Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-3
08c4c89
- Bump release for devel checkin.
08c4c89
3ae43e5
* Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-2
08c4c89
- BR perl(XML::Parser).
08c4c89
3ae43e5
* Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-1
08c4c89
- Update to 0.4 on XFCE 4.3.90.2.
08c4c89
- Remove bufsize-patch for now.
08c4c89
3ae43e5
* Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.3-7
52f7740
- Mass rebuild for Fedora Core 6.
52f7740
906445d
* Tue Apr 11 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-6
906445d
- Require xfce4-panel.
906445d
7076a08
* Sat Feb 18 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-5
7076a08
- Rebuild for Fedora Extras 5.
7076a08
- Modify bufsize-patch.
7076a08
f8a4f9c
* Thu Feb 02 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-4
7076a08
- Add bufsize-patch (#179686).
f8a4f9c
73810a9
* Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-3
73810a9
- Add libxfcegui4-devel BuildReqs.
08c4c89
- Fix %%defattr.
73810a9
73810a9
* Mon Nov 14 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-2
73810a9
- Initial Fedora Extras version.
73810a9
- Rebuild for XFCE 4.2.3.
73810a9
- disable-static instead of removing .a files.
73810a9
73810a9
* Fri Sep 23 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-1.fc4.cw
73810a9
- Updated to version 0.3.3.
73810a9
- Add libxml2 BuildReqs.
73810a9
73810a9
* Sat Jul 09 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-1.fc4.cw
73810a9
- Updated to version 0.3.2.
73810a9
- Rebuild for Core 4.
73810a9
73810a9
* Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.1-1.fc3.cw
73810a9
- Updated to version 0.3.1.
73810a9
73810a9
* Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.2.3-1.fc3.cw
73810a9
- Initial RPM release.