tksysv-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. %define locale_ja ja
  2. Summary: An X editor for editing runlevel services.
  3. Name: tksysv
  4. Version: 1.1
  5. Release: 4%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. Source: tksysv-%{version}.tar.gz
  9. # Vine stuff
  10. Source1: tksysv.ja
  11. Source2: about-ja.txt
  12. Source3: sysvinit-ja.txt
  13. Source4: tksysv-ja.txt
  14. Source5: tksysv.8
  15. Source6: tksysv.exe
  16. Requires: tcl tk chkconfig
  17. BuildArchitectures: noarch
  18. Buildroot: %{_tmppath}/%{name}-%{version}-root
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Summary(ja): サービスの runlevel をエディットするための X のエディタ
  22. %description
  23. Tksysv is an X Window System based graphical interface for editing the
  24. services provided by different runlevels. Tksysv is used to set which
  25. services are stopped and which services are started in the different
  26. runlevels on your system.
  27. Install the tksysv package if you'd like to use a graphical tool for
  28. editing runlevel services.
  29. %description -l ja
  30. tksysv は異なる runlevel によって提供されるサービスをエディットするための
  31. X Window System ベースのグラフィカルインターフェースである。tksysv は
  32. あなたのシステムの異なる runlevel で起動するサービスを起動したり終了したり
  33. するよう set するために使われる。
  34. もし runlevel サービスをエディットするグラフィカルツールが使いたいときは、
  35. tksysv パッケージをインストールしなさい。
  36. %prep
  37. %setup -q
  38. sed -e 's|/usr/man|%{_mandir}|g' Install > Install.new
  39. mv -f Install.new Install
  40. chmod 755 Install
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. PREFIX=$RPM_BUILD_ROOT ./Install
  44. ##mv $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv.en
  45. ##install -p -m 0755 %SOURCE1 $RPM_BUILD_ROOT/usr/X11R6/bin
  46. ##cp -p %SOURCE2 %SOURCE3 %SOURCE4 $RPM_BUILD_ROOT/usr/lib/tksysv
  47. ##install -p -m 0755 %SOURCE6 $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv
  48. install -d $RPM_BUILD_ROOT%{_bindir}
  49. mv $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv $RPM_BUILD_ROOT%{_bindir}/tksysv.en
  50. install -p -m 0755 %SOURCE1 $RPM_BUILD_ROOT%{_bindir}
  51. cp -p %SOURCE2 %SOURCE3 %SOURCE4 $RPM_BUILD_ROOT/usr/lib/tksysv
  52. install -p -m 0755 %SOURCE6 $RPM_BUILD_ROOT%{_bindir}/tksysv
  53. mkdir -p $RPM_BUILD_ROOT%{_mandir}/%{locale_ja}/man8
  54. cp -p %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/%{locale_ja}/man8
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %files
  58. %defattr(-,root,root)
  59. %doc CHANGELOG COPYING
  60. %{_bindir}/tksysv
  61. %{_bindir}/tksysv.en
  62. %{_bindir}/tksysv.ja
  63. /usr/lib/tksysv
  64. /usr/lib/rhs/control-panel/tksysv.init
  65. /usr/lib/rhs/control-panel/tksysv.gif
  66. /usr/lib/rhs/control-panel/tksysv.xpm
  67. %{_mandir}/man8/tksysv.8*
  68. %{_mandir}/%{locale_ja}/man8/tksysv.8*
  69. %changelog
  70. * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-4vl5
  71. - applied new versioning policy, spec in utf-8
  72. - s/Copyright/License/
  73. - /usr/X11R6/bin -> %%{_bindir}
  74. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  75. - 1.1-3vl2
  76. - /usr/man -> %%{_mandir}
  77. * Wed Jul 5 2000 Lisa Sagami <czs14350@nifty.ne.jp>
  78. - 1.1-2vl1: from Vine 1.0_jp-2 and RHL 1.1-2 in RH 6.2
  79. - fixed: version number and Japanese doc/man in source
  80. - fixed: manpath (for BRP) and Distribution in spec
  81. * Thu Feb 10 2000 Bill Nottingham <notting@redhat.com>
  82. - re-introduce djb's changes (why weren't these in CVS??)
  83. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  84. - rebuild to gzip man page
  85. * Wed Nov 24 1999 Donnie Barnes <djb@redhat.com>
  86. - added two patches from Florent Villard <warly@mandrakesoft.com>
  87. to fix man page syntax bug and root depends in install scripts
  88. - added defattr(-,root,root) to file list
  89. - updated %clean to be "safer"
  90. - fixed broken version number in title bar and .
  91. * Tue Nov 23 1999 Norihito Ohmori <ohmori@flatout.org>
  92. - modiry for Vine Linux
  93. * Sun Nov 7 1999 Toru Hoshina <t@kondara.org>
  94. - be a NoSrc :-P
  95. * Mon Nov 1 1999 Norihito Ohmori <ohmori@flatout.org>
  96. - fix help file [Kondara-devel: 00390]
  97. - change file name -j -> -ja.
  98. * Thu Aug 5 1999 Norihito Ohmori <ohmori@flatout.org>
  99. - Japanese SPEC file
  100. - Japanise tksysv
  101. - Japanese man page added.
  102. * Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
  103. - set BOOTUP for new initscripts (no ANSI in capture, please!)
  104. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  105. - Injected new description and group.
  106. * Tue Dec 22 1998 Preston Brown <pbrown@redhat.com>
  107. - bumped spec number for 6.0 build
  108. * Thu Apr 23 1998 Prospector System <bugs@redhat.com>
  109. - translations modified for de, fr, tr
  110. * Thu Apr 23 1998 Donnie Barnes <djb@redhat.com>
  111. - fixed version number in title bar