xfce4-timer-plugin-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Name: xfce4-timer-plugin
  2. Summary: Timer plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 タイマプラグイン
  4. Version: 0.6.4
  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}/0.6/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libxfce4util-devel >= 4.3.0
  12. BuildRequires: libxfcegui4-devel >= 4.2.0
  13. BuildRequires: xfce4-panel-devel >= 4.8.0
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: Takemikaduchi
  17. %description
  18. This is a simple plugin that lets the user run an alarm at a specified time or at the end of a specified countdown period.
  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. %{_libexecdir}/xfce4/panel-plugins/xfce4-timer
  45. %{_datadir}/icons/hicolor/*/apps/*
  46. %{_datadir}/xfce4/panel-plugins/xfce4-timer.desktop
  47. %changelog
  48. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
  49. - initial build for Vine Linux