[6284] | 1 | Name: xfce4-diskperf-plugin |
---|
| 2 | Summary: Disk performance plugin for the Xfce4 panel |
---|
| 3 | Summary(ja): Xfce パネル用 ディスクパフォーマンス表示プラグイン |
---|
[9173] | 4 | Version: 2.5.4 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[6284] | 6 | |
---|
| 7 | Group: User Interface/Desktops |
---|
[9173] | 8 | License: BSD |
---|
[6284] | 9 | URL: http://goodies.xfce.org/projects/panel-plugins/%{name} |
---|
| 10 | |
---|
| 11 | Source0: http://archive.xfce.org/src/panel-plugins/%{name}/2.5/%{name}-%{version}.tar.bz2 |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: libxfce4util-devel >= 4.8.0 |
---|
| 15 | BuildRequires: libxfce4ui-devel >= 4.8.0 |
---|
| 16 | BuildRequires: xfce4-panel-devel >= 4.8.0 |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | Packager: Takemikaduchi |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | The DiskPerf plugin displays disk/partition performance based on data provided |
---|
| 25 | by Linux kernels 2.6 or recent 2.4's (at least 2.4.20 compiled with CONFIG_BLK_STATS |
---|
| 26 | turned on, or possibly older kernel patched with "Disk extended statistics" in |
---|
| 27 | /proc/partitions),or with NetBSD, based on the dk_rbytes and db_wbytes values provided |
---|
| 28 | by the hw.diskstats sysctl (see iostat for details). |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %configure --disable-static |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf $RPM_BUILD_ROOT |
---|
| 40 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 41 | |
---|
| 42 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
[9173] | 43 | chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so |
---|
[6284] | 44 | |
---|
| 45 | %find_lang %{name} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %files -f %{name}.lang |
---|
| 53 | %defattr(-,root,root) |
---|
| 54 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 55 | %{_libdir}/xfce4/panel/plugins/libdiskperf.so |
---|
| 56 | %{_datadir}/xfce4/panel/plugins/diskperf.desktop |
---|
| 57 | |
---|
| 58 | %changelog |
---|
[9173] | 59 | * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5.4-1 |
---|
| 60 | - new upstream release |
---|
| 61 | |
---|
[8073] | 62 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.5.3-2 |
---|
| 63 | - rebuild with VineSeed environment |
---|
| 64 | |
---|
[6284] | 65 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.5.3-1 |
---|
| 66 | - initial build for Vine Linux |
---|
| 67 | |
---|