xfce4-cpufreq-plugin-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Name: xfce4-cpufreq-plugin
  2. Summary: CPU monitor plugin for the Xfce panel
  3. Summary(ja): Xfce パネル用 CPU モニタプラグイン
  4. Version: 1.0.0
  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.3.90
  12. BuildRequires: libxfce4ui-devel >= 4.3.90
  13. BuildRequires: libxfcegui4-devel >= 4.3.90
  14. BuildRequires: xfce4-panel-devel >= 4.3.90
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. xfce4-cpufreq-plugin is a Plugin for the Xfce Panel, which
  20. shows CPU Informations
  21. %description -l ja
  22. xfce4-cpufreq は Xfce パネル用の CPU 情報を見るためのプラグインです。
  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. %post
  36. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  37. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  38. %postun
  39. if [ $1 -eq 0 ]; then
  40. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  41. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  42. fi
  43. %files -f %{name}.lang
  44. %defattr(-,root,root)
  45. %doc AUTHORS COPYING ChangeLog NEWS README
  46. %{_libexecdir}/xfce4/panel-plugins/xfce4-cpufreq-plugin
  47. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  48. %{_datadir}/xfce4/panel-plugins/%{name}.desktop
  49. %changelog
  50. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
  51. - initial build for Vine Linux