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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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: 3%{?_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: libxfce4ui-devel >= 4.8.0
  12. BuildRequires: libxfce4util-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. chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so
  35. %find_lang %{name}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %post
  39. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  40. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  41. %postun
  42. if [ $1 -eq 0 ]; then
  43. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  45. fi
  46. %files -f %{name}.lang
  47. %defattr(-,root,root)
  48. %doc AUTHORS COPYING ChangeLog NEWS README
  49. %{_libdir}/xfce4/panel/plugins/libtime-out.so
  50. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  51. %{_datadir}/xfce4/panel/plugins/%{name}.desktop
  52. %changelog
  53. * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-3
  54. - modified libtime-out.so permission
  55. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2
  56. - rebuild with VineSeed environment
  57. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  58. - initial build for Vine Linux