gnome-schedule-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. %define pkg_version 2.2.0
  2. %define pkg_release 1%{?_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. BuildRequires: gnome-python-devel
  24. %endif
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. BuildArch: noarch
  27. Packager: kazutaka
  28. %description
  29. Gnome Schedule is a graphical user interface for creating,
  30. modifying, and deleting cron and at jobs.
  31. %description -l ja
  32. Gnome Schedule は、cron や at で実行するジョブを GUI から
  33. 登録・変更・削除できるツールです。
  34. %prep
  35. %setup -q
  36. %build
  37. %configure --disable-scrollkeeper
  38. %{__make}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  42. %{__cp} -f %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/applications/gnome-schedule.desktop
  43. # install japanese message catalog
  44. %{__install} -d -m755 ${RPM_BUILD_ROOT}/%{_datadir}/locale/ja
  45. %{__install} -d -m755 ${RPM_BUILD_ROOT}/%{_datadir}/locale/ja/LC_MESSAGES
  46. %{__install} -m644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_datadir}/locale/ja/LC_MESSAGES/gnome-schedule.mo
  47. %find_lang %{name}
  48. %post
  49. scrollkeeper-update > /dev/null 2>&1 || :
  50. %postun
  51. scrollkeeper-update > /dev/null 2>&1 || :
  52. %clean
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %files -f %{name}.lang
  55. %defattr(-,root,root)
  56. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
  57. %{_bindir}/gnome-schedule
  58. %{_bindir}/gnome-schedule-export
  59. %{_bindir}/gnome-schedule-import
  60. %{_datadir}/gnome-schedule
  61. %{_datadir}/gnome/help/gnome-schedule
  62. %{_datadir}/omf/gnome-schedule
  63. %{_datadir}/pixmaps/gnome-schedule
  64. %{_datadir}/applications/gnome-schedule.desktop
  65. %changelog
  66. * Tue Jun 26 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.0-1
  67. - new upstream release
  68. - deleted Requires: gnome-python-applet and BuildRequires:gnome-python-applet
  69. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-3
  70. - rebuild with rpm-4.8.1
  71. * Mon May 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.2-2
  72. - spec in utf-8 (only for VineSeed/Vine 5.0)
  73. * Mon Apr 14 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.2-1
  74. - initial build for Vine Linux