commit 3fee7003be06ec67cb295d3ec18d3439061c3741
Author: Jakub Bogusz <[email protected]>
Date:   Wed Jan 1 15:41:14 2014 +0100

    - updated to 1.6.1, pl, completed dependencies

 mate-applet-netspeed.spec | 55 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 40 insertions(+), 15 deletions(-)
---
diff --git a/mate-applet-netspeed.spec b/mate-applet-netspeed.spec
index aa8ba29..6516b67 100644
--- a/mate-applet-netspeed.spec
+++ b/mate-applet-netspeed.spec
@@ -1,21 +1,36 @@
 %define                pname   mate-netspeed
-Summary:       MATE netspeed
+Summary:       MATE netspeed applet
+Summary(pl.UTF-8):     Aplet netspeed dla środowiska MATE
 Name:          mate-applet-netspeed
-Version:       1.5.2
+Version:       1.6.1
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       
http://pub.mate-desktop.org/releases/1.5/%{pname}-%{version}.tar.xz
-# Source0-md5: 992945ff8c48bceeb13e52a54039cc6d
+Source0:       
http://pub.mate-desktop.org/releases/1.6/%{pname}-%{version}.tar.xz
+# Source0-md5: 10b5ae48f17ff17252ca0d22dae85582
 URL:           http://www.mate-desktop.org/
+BuildRequires: autoconf >= 2.53
+BuildRequires: automake >= 1:1.9
 BuildRequires: docbook-dtd44-xml
-BuildRequires: gtk+2-devel
-BuildRequires: libgtop-devel
+BuildRequires: gettext-devel >= 0.10.40
+BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libgtop-devel >= 1:2.14.2
+BuildRequires: libiw-devel >= 29
+BuildRequires: libtool >= 1:1.4.3
 BuildRequires: mate-common
 BuildRequires: mate-doc-utils
-BuildRequires: mate-panel-devel
+BuildRequires: mate-panel-devel >= 1.5
+BuildRequires: pkgconfig
 BuildRequires: rpmbuild(find_lang) >= 1.36
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires(post,postun): glib2 >= 1:2.26.0
+Requires(post,postun): gtk-update-icon-cache
 Requires:      glib2 >= 1:2.26.0
+Requires:      hicolor-icon-theme
+Requires:      libgtop >= 1:2.14.2
+Requires:      libiw >= 29
 Requires:      mate-panel >= 1.5
 Obsoletes:     mate-netspeed
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,16 +39,25 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 MATE netspeed is an applet that shows how much traffic occurs on a
-specified network device.
+specified network device. It's a fork of GNOME netspeed applet.
+
+%description -l pl.UTF-8
+MATE netspeed to aplet pokazujący, jak duży ruch występuje na
+określonym urządzeniu sieciowym. Jest to odgałęzienie apletu GNOME
+netspeed.
 
 %prep
 %setup -q -n %{pname}-%{version}
 
 %build
-NOCONFIGURE=1 ./autogen.sh
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --disable-silent-rules \
-       --disable-static \
        --disable-scrollkeeper \
        --disable-schemas-compile \
 
@@ -44,6 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# mate-netspeed gettext domain, mate_netspeed_applet mate help and omf
 %find_lang %{name} --with-omf --with-mate --all-name
 
 %clean
@@ -59,12 +84,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS README
-%attr(755,root,root) %{_libdir}/mate-panel/mate-netspeed-applet
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_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
-%{_iconsdir}/hicolor/*/apps/mate-netspeed-applet.*
-%{_iconsdir}/hicolor/*/devices/mate-netspeed-*.png
-%{_iconsdir}/hicolor/*/status/mate-netspeed-*.png
 %{_datadir}/mate-panel/applets/org.mate.panel.NetspeedApplet.mate-panel-applet
 %{_datadir}/mate-panel/ui/netspeed-menu.xml
+%{_iconsdir}/hicolor/*/apps/mate-netspeed-applet.*
+%{_iconsdir}/hicolor/*x*/devices/mate-netspeed-*.png
+%{_iconsdir}/hicolor/24x24/status/mate-netspeed-*.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-applet-netspeed.git/commitdiff/3fee7003be06ec67cb295d3ec18d3439061c3741

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to