%define url_ver %(echo %{version}|cut -d. -f1,2) %define oname mate-netspeed Summary: MATE applet that shows traffic on a network device Name: %{oname}-applet Version: 1.8.0 Release: %mkrel 4 Group: Graphical desktop/MATE License: GPLv2+ URL: http://www.mate-desktop.org Source0: http://pub.mate-desktop.org/releases/%{url_ver}/%{oname}-%{version}.tar.xz BuildRequires: itstool BuildRequires: mate-common BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: pkgconfig(libwnck-1.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libmatepanelapplet-4.0) BuildRequires: yelp-tools Requires: mate-panel Provides: netspeed_applet = %{version}-%{release} Provides: %{oname} = %{version}-%{release} %description netspeed is a little MATE applet that shows the traffic on a specified network device (for example eth0) in kbytes/s. %prep %setup -q -n %{oname}-%{version} %build %configure2_5x \ --disable-static \ --disable-scrollkeeper \ --disable-schemas-compile %make LIBS='-lm' %install %makeinstall_std find %{buildroot} -type f -name '*.la' -delete find %{buildroot} -type f -name '*.a' -delete %find_lang %{oname} --all-name %files -f %{oname}.lang %doc AUTHORS README %{_libexecdir}/mate-netspeed-applet %{_datadir}/dbus-1/services/org.mate.panel.applet.NetspeedAppletFactory.service %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.netspeed.gschema.xml %{_datadir}/icons/hicolor/*x*/apps/*.png %{_datadir}/icons/hicolor/*x*/devices/*.png %{_datadir}/help/*/mate_netspeed_applet/* %{_datadir}/icons/hicolor/*x*/status/*.png %{_datadir}/icons/hicolor/scalable/apps/mate-netspeed-applet.svg %{_datadir}/mate-panel/applets/org.mate.panel.NetspeedApplet.mate-panel-applet %{_datadir}/mate-panel/ui/netspeed-menu.xml %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.8.0-4.mga5 + Revision: 739682 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.8.0-3.mga5 + Revision: 682196 - Mageia 5 Mass Rebuild * Tue Jun 03 2014 tarakbumba <tarakbumba> 1.8.0-2.mga5 + Revision: 632683 - Rebuild for libgtop2-2.30.0 * Wed Mar 05 2014 tarakbumba <tarakbumba> 1.8.0-1.mga5 + Revision: 600122 - Updated to version 1.8.0 * Sat Mar 01 2014 tarakbumba <tarakbumba> 1.7.90-1.mga5 + Revision: 598050 - Update to 1.7.x version * Fri Jan 03 2014 tarakbumba <tarakbumba> 1.6.1-1.mga4 + Revision: 564322 - Update to bugfix version: 1.6.1 * Sat Oct 19 2013 umeabot <umeabot> 1.6.0-2.mga4 + Revision: 531086 - Mageia 4 Mass Rebuild * Fri Jun 21 2013 tarakbumba <tarakbumba> 1.6.0-1.mga4 + Revision: 445512 - imported package mate-netspeed-applet