xfce4-diskperf-plugin-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Name: xfce4-diskperf-plugin
  2. Summary: Disk performance plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 ディスクパフォーマンス表示プラグイン
  4. Version: 2.5.5
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: BSD
  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. chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so
  33. %find_lang %{name}
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files -f %{name}.lang
  37. %defattr(-,root,root)
  38. %doc AUTHORS COPYING ChangeLog NEWS README
  39. %{_libdir}/xfce4/panel/plugins/libdiskperf.so
  40. %{_datadir}/xfce4/panel/plugins/diskperf.desktop
  41. %changelog
  42. * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5.5-1
  43. - new upstream release
  44. * Mon Mar 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5.4-2
  45. - rebuilt with libxfce4util 4.12.1
  46. * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5.4-1
  47. - new upstream release
  48. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.5.3-2
  49. - rebuild with VineSeed environment
  50. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.5.3-1
  51. - initial build for Vine Linux