]>
Commit | Line | Data |
---|---|---|
f8f72df1 | 1 | Summary: Disk performance Xfce panel plugin |
edc99de8 | 2 | Summary(pl.UTF-8): Wtyczka wydajności dysku dla panelu Xfce |
2345040d | 3 | Name: xfce4-diskperf-plugin |
bebfbf92 | 4 | Version: 2.1.0 |
dcfc2f7c | 5 | Release: 1 |
4cd3408c | 6 | License: BSD-like (see COPYING) |
2345040d | 7 | Group: X11/Applications |
b1d85337 | 8 | Source0: http://goodies.xfce.org/releases/xfce4-diskperf-plugin/%{name}-%{version}.tar.bz2 |
bebfbf92 | 9 | # Source0-md5: fc74a0c7d2b9486cdb704a072cd72b83 |
b1d85337 | 10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin |
bebfbf92 | 11 | BuildRequires: autoconf >= 2.50 |
8b01dbbf | 12 | BuildRequires: automake |
bebfbf92 | 13 | BuildRequires: intltool |
2345040d | 14 | BuildRequires: pkgconfig |
bebfbf92 MB |
15 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
16 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
17 | Requires: xfce4-panel >= 4.4.0 | |
2345040d MC |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | The DiskPerf plugin displays disk/partition performance based on the | |
22 | rsect/wsect data provided by Linux kernels 2.6 or recent 2.4's (at | |
23 | least 2.4.20 compiled with CONFIG_BLK_STATS turned on, or possibly | |
4cd3408c JB |
24 | older kernel patched with "Disk extended statistics" in |
25 | /proc/partitions). | |
2345040d | 26 | |
edc99de8 JR |
27 | %description -l pl.UTF-8 |
28 | Wtyczka DiskPerf wyświetla wydajność dysku/partycji bazując na danych | |
29 | rsect/wsect dostarczanych przez jądro Linuksa 2.6 lub nowsze 2.4 | |
30 | (conajmniej 2.4.20 skompilowane z włączonym CONFIG_BLK_STATS lub | |
31 | ewentualnie ze starszymi wersjami z dodaną łatą "rozszerzonych | |
4cd3408c | 32 | statystyk dysku" w /proc/partitions). |
2345040d MC |
33 | |
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
bebfbf92 | 38 | %{__intltoolize} |
b1d85337 MB |
39 | %{__aclocal} |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
921338cb AA |
43 | %configure \ |
44 | --disable-static | |
45 | ||
2345040d MC |
46 | %{__make} |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
bebfbf92 | 54 | %find_lang %{name} |
2345040d MC |
55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
bebfbf92 | 59 | %files -f %{name}.lang |
2345040d MC |
60 | %defattr(644,root,root,755) |
61 | %doc AUTHORS ChangeLog COPYING NEWS README | |
bebfbf92 MB |
62 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-diskperf-plugin |
63 | %{_datadir}/xfce4/panel-plugins/diskperf.desktop |