gnome-schedule-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define pkg_version 2.0.2
  2. %define pkg_release 2%{?_dist_release}
  3. Summary: A GTK+ based user interface for cron and at
  4. Summary(ja): cron と at 用の GUI 設定ツール
  5. Name: gnome-schedule
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: %{name}-%{version}.tar.gz
  9. Source1: gnome-schedule.desktop
  10. Source2: gnome-schedule-2.0.2-ja.po
  11. Source3: gnome-schedule-2.0.2-ja.mo
  12. License: GPL
  13. Group: Applications/System
  14. URL: http://gnome-schedule.sourceforge.net/
  15. Requires: pygtk2 > 2.3, pygtk2-libglade, gnome-python
  16. Requires: at, vixie-cron, scrollkeeper
  17. BuildRequires: pygtk2-devel > 2.3, pygtk2-libglade
  18. BuildRequires:at, vixie-cron, gnome-doc-utils
  19. %if %{?_dist_release} == vl4
  20. Requires: gnome-python-extras
  21. BuildRequires: gnome-python-extras
  22. %else
  23. Requires: gnome-python-applet
  24. BuildRequires: gnome-python-devel gnome-python-applet
  25. %endif
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. BuildArch: noarch
  28. Packager: kazutaka
  29. %description
  30. Gnome Schedule is a graphical user interface for creating,
  31. modifying, and deleting cron and at jobs.
  32. %description -l ja
  33. Gnome Schedule は、cron や at で実行するジョブを GUI から
  34. 登録・変更・削除できるツールです。
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --disable-scrollkeeper
  39. %{__make}
  40. %install
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  43. %{__cp} -f %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/applications/gnome-schedule.desktop
  44. # install japanese message catalog
  45. %{__install} -d -m755 ${RPM_BUILD_ROOT}/%{_datadir}/locale/ja
  46. %{__install} -d -m755 ${RPM_BUILD_ROOT}/%{_datadir}/locale/ja/LC_MESSAGES
  47. %{__install} -m644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_datadir}/locale/ja/LC_MESSAGES/gnome-schedule.mo
  48. %find_lang %{name}
  49. %post
  50. scrollkeeper-update > /dev/null 2>&1 || :
  51. %postun
  52. scrollkeeper-update > /dev/null 2>&1 || :
  53. %clean
  54. %{__rm} -rf ${RPM_BUILD_ROOT}
  55. %files -f %{name}.lang
  56. %defattr(-,root,root)
  57. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
  58. %{_bindir}/gnome-schedule
  59. %{_datadir}/gnome-schedule
  60. %{_datadir}/gnome/help/gnome-schedule
  61. %{_datadir}/omf/gnome-schedule
  62. %{_datadir}/pixmaps/gnome-schedule
  63. %{_datadir}/applications/gnome-schedule.desktop
  64. %{_libdir}/bonobo/servers/GNOME_GnomeSchedule.server
  65. %changelog
  66. * Mon May 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.2-2
  67. - spec in utf-8 (only for VineSeed/Vine 5.0)
  68. * Mon Apr 14 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.2-1
  69. - initial build for Vine Linux