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