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

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