xfce4-diskperf-plugin-vl.spec 1.6 KB

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