]> git.pld-linux.org Git - packages/xfce4-diskperf-plugin.git/blobdiff - xfce4-diskperf-plugin.spec
- up to 2.6.2
[packages/xfce4-diskperf-plugin.git] / xfce4-diskperf-plugin.spec
index 18cfbaa86ce74edc3c3e6d12a554da7d15ef68da..18628ab44a18c8f10dcb7a0a631ec0bc5815576c 100644 (file)
@@ -1,38 +1,51 @@
-Summary:       Disk performance XFce panel plugin
-Summary(pl):   Wtyczka wydajno¶ci dysku dla panela XFce
+Summary:       Disk performance Xfce panel plugin
+Summary(pl.UTF-8):     Wtyczka wydajności dysku dla panelu Xfce
 Name:          xfce4-diskperf-plugin
-Version:       1.1
+Version:       2.6.2
 Release:       1
-License:       See COPYING file
+License:       BSD-like (see COPYING)
 Group:         X11/Applications
-Source0:       http://download.berlios.de/xfce-goodies/%{name}-%{version}.tar.gz
-# Source0-md5: 7e6c3380815bf85aa30feaf960b207ee
-URL:           http://xfce-goodies.berlios.de/
-BuildRequires: libxfce4util-devel >= 3.99
-BuildRequires: libxfcegui4-devel >= 3.99
+Source0:       http://archive.xfce.org/src/panel-plugins/xfce4-diskperf-plugin/2.6/%{name}-%{version}.tar.bz2
+# Source0-md5: 538119ea97a217695b297e2d165b305f
+URL:           http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake
+BuildRequires: intltool
+BuildRequires: libtool
+BuildRequires: libxfce4ui-devel
 BuildRequires: pkgconfig
-BuildRequires: xfce4-panel-devel >= 3.99
-Requires:      xfce4-panel >= 3.99
+BuildRequires: xfce4-dev-tools >= 4.14.0
+BuildRequires: xfce4-panel-devel >= 4.14.0
+Requires:      xfce4-panel >= 4.12.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The DiskPerf plugin displays disk/partition performance based on the
 rsect/wsect data provided by Linux kernels 2.6 or recent 2.4's (at
 least 2.4.20 compiled with CONFIG_BLK_STATS turned on, or possibly
-older kernel patched with "Disk extended statistics" in /proc/partitions).
+older kernel patched with "Disk extended statistics" in
+/proc/partitions).
 
-%description -l pl
-Wtyczka DiskPerf wy¶wietla wydajno¶æ dysku/partycji bazuj±c na danych
-rsect/wsect dostarczanych przez j±dro Linuksa 2.6 lub nowsze 2.4
-(conajmniej 2.4.20 skompilowane z w³±czonym CONFIG_BLK_STATS lub
-ewentualnie ze starszymi wersjami z za³atanymi "Rozszerzonymi statystykami
-dysku" w /proc/partitions).
+%description -l pl.UTF-8
+Wtyczka DiskPerf wyświetla wydajność dysku/partycji bazując na danych
+rsect/wsect dostarczanych przez jądro Linuksa 2.6 lub nowsze 2.4
+(conajmniej 2.4.20 skompilowane z włączonym CONFIG_BLK_STATS lub
+ewentualnie ze starszymi wersjami z dodaną łatą "rozszerzonych
+statystyk dysku" w /proc/partitions).
 
 %prep
 %setup -q
 
 %build
-%configure
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-static
+
 %{__make}
 
 %install
@@ -41,12 +54,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog COPYING NEWS README
-%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
+%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libdiskperf.so
+%{_datadir}/xfce4/panel/plugins/diskperf.desktop
This page took 0.099809 seconds and 4 git commands to generate.