]> git.pld-linux.org Git - packages/xfce4-diskperf-plugin.git/blob - xfce4-diskperf-plugin.spec
Updated to 2.5.4
[packages/xfce4-diskperf-plugin.git] / xfce4-diskperf-plugin.spec
1 Summary:        Disk performance Xfce panel plugin
2 Summary(pl.UTF-8):      Wtyczka wydajności dysku dla panelu Xfce
3 Name:           xfce4-diskperf-plugin
4 Version:        2.5.4
5 Release:        1
6 License:        BSD-like (see COPYING)
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-diskperf-plugin/2.5/%{name}-%{version}.tar.bz2
9 # Source0-md5:  2db453fc3ea2e4fe073ec313a25b0961
10 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake
13 BuildRequires:  intltool
14 BuildRequires:  libtool
15 BuildRequires:  libxfce4ui-devel
16 BuildRequires:  pkgconfig
17 BuildRequires:  xfce4-dev-tools >= 4.10.0
18 BuildRequires:  xfce4-panel-devel >= 4.10.0
19 Requires:       xfce4-panel >= 4.10.0
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
26 older kernel patched with "Disk extended statistics" in
27 /proc/partitions).
28
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
34 statystyk dysku" w /proc/partitions).
35
36 %prep
37 %setup -q
38
39 %build
40 %{__intltoolize}
41 %{__libtoolize}
42 %{__aclocal}
43 %{__autoconf}
44 %{__autoheader}
45 %{__automake}
46 %configure \
47         --disable-static
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
58 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog COPYING NEWS README
68 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libdiskperf.so
69 %{_datadir}/xfce4/panel/plugins/diskperf.desktop
This page took 0.116058 seconds and 3 git commands to generate.