]> git.pld-linux.org Git - packages/xfce4-diskperf-plugin.git/blob - xfce4-diskperf-plugin.spec
14cb3b537d5ee6c465fd1a9bb64ba1f86762f36d
[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.3.0
5 Release:        2
6 License:        BSD-like (see COPYING)
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-diskperf-plugin/2.3/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c6ece8123c762ee203cbc6fd5450b503
10 Patch0:         %{name}-ui.patch
11 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
12 BuildRequires:  autoconf >= 2.63
13 BuildRequires:  automake
14 BuildRequires:  intltool
15 BuildRequires:  libtool
16 BuildRequires:  libxfce4ui-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  xfce4-dev-tools >= 4.4.0
19 BuildRequires:  xfce4-panel-devel >= 4.4.0
20 Requires:       xfce4-panel >= 4.4.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The DiskPerf plugin displays disk/partition performance based on the
25 rsect/wsect data provided by Linux kernels 2.6 or recent 2.4's (at
26 least 2.4.20 compiled with CONFIG_BLK_STATS turned on, or possibly
27 older kernel patched with "Disk extended statistics" in
28 /proc/partitions).
29
30 %description -l pl.UTF-8
31 Wtyczka DiskPerf wyświetla wydajność dysku/partycji bazując na danych
32 rsect/wsect dostarczanych przez jądro Linuksa 2.6 lub nowsze 2.4
33 (conajmniej 2.4.20 skompilowane z włączonym CONFIG_BLK_STATS lub
34 ewentualnie ze starszymi wersjami z dodaną łatą "rozszerzonych
35 statystyk dysku" w /proc/partitions).
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 %{__intltoolize}
43 %{__libtoolize}
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure \
49         --disable-static
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
60
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog COPYING NEWS README
69 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-diskperf-plugin
70 %{_datadir}/xfce4/panel-plugins/diskperf.desktop
This page took 0.060772 seconds and 2 git commands to generate.