xfce4-cpugraph-plugin-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Name: xfce4-cpugraph-plugin
  2. Summary: CPU Graph plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 CPU グラフプラグイン
  4. Version: 1.0.2
  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}/1.0/%{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. This plugin displays an graph from your latest system load.
  19. %description -l ja
  20. このプラグインはシステム負荷率をグラフ表示します。
  21. %prep
  22. %setup -q
  23. %build
  24. %configure --disable-static
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT
  29. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  30. %find_lang %{name}
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %post
  34. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  35. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  36. %postun
  37. if [ $1 -eq 0 ]; then
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  40. fi
  41. %files -f %{name}.lang
  42. %defattr(-,root,root)
  43. %doc AUTHORS COPYING ChangeLog NEWS README
  44. %{_libdir}/xfce4/panel/plugins/libcpugraph.so
  45. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  46. %{_datadir}/xfce4/panel/plugins/cpugraph.desktop
  47. %changelog
  48. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  49. - initial build for Vine Linux