xfce4-time-out-plugin-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Name: xfce4-time-out-plugin
  2. Summary: Time-out plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 タイムアウトプラグイン
  4. Version: 1.0.1
  5. Release: 2%{?_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. xfce4-time-out-plugin is a plugin for the Xfce panel. It's a
  19. comfortable tool for taking a break from computer work every now
  20. and then. You can define a working interval and whenever time
  21. of this interval has passed your screen is locked for a configurable
  22. amount of time - which gives you enough time to grab a cup of
  23. coffee, smoke a cigarette or even do something healthy like eating,
  24. exercising, cleaning up or whatever.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  34. %find_lang %{name}
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  40. %postun
  41. if [ $1 -eq 0 ]; then
  42. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  43. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  44. fi
  45. %files -f %{name}.lang
  46. %defattr(-,root,root)
  47. %doc AUTHORS COPYING ChangeLog NEWS README
  48. %{_libdir}/xfce4/panel/plugins/libtime-out.so
  49. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  50. %{_datadir}/xfce4/panel/plugins/%{name}.desktop
  51. %changelog
  52. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2
  53. - rebuild with VineSeed environment
  54. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  55. - initial build for Vine Linux