X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xfce4-diskperf-plugin.spec;h=18628ab44a18c8f10dcb7a0a631ec0bc5815576c;hb=778b188073b15243d25522dc20ea4e8597994096;hp=18cfbaa86ce74edc3c3e6d12a554da7d15ef68da;hpb=2345040d1aabd6390c95c9838eda3ed477a03bef;p=packages%2Fxfce4-diskperf-plugin.git diff --git a/xfce4-diskperf-plugin.spec b/xfce4-diskperf-plugin.spec index 18cfbaa..18628ab 100644 --- a/xfce4-diskperf-plugin.spec +++ b/xfce4-diskperf-plugin.spec @@ -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