chkconfig-vl.spec 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. Summary: A system tool for maintaining the /etc/rc*.d hierarchy.
  2. Summary(ja): /etc/rc.d の階層をメンテナンスするためのシステムツール
  3. Name: chkconfig
  4. Version: 1.3.37
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Base
  8. Source: %{name}-%{version}.tar.gz
  9. Source1: chkconfig-1.2.17.ja.po
  10. Source2: chkconfig.8
  11. Source3: ntsysv.8
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildPrereq: newt-devel popt
  14. Conflicts: initscripts <= 5.30-1
  15. %description
  16. Chkconfig is a basic system utility. It updates and queries runlevel
  17. information for system services. Chkconfig manipulates the numerous
  18. symbolic links in /etc/rc.d, to relieve system administrators of some
  19. of the drudgery of manually editing the symbolic links.
  20. %description -l ja
  21. chkconfig は基本的なシステムユーティリティである。これはシステムサービスの
  22. runlevel の情報をアップデートや検証する。chkconfig は /etc/rc.d の
  23. 多数のシンボリックリンクを操作しますので、システム管理者は手動で
  24. シンボリックリンクをたびたびエディットしなくてもよい。
  25. %package -n ntsysv
  26. Summary: A tool to set the stop/start of system services in a runlevel.
  27. Summary(ja): /etc/rc.d 階階層をメンテナンスするシステムツール
  28. Group: System Environment/Base
  29. %description -n ntsysv
  30. Ntsysv provides a simple interface for setting which system services
  31. are started or stopped in various runlevels (instead of directly
  32. manipulating the numerous symbolic links in /etc/rc.d). Unless you
  33. specify a runlevel or runlevels on the command line (see the man
  34. page), ntsysv configures the current runlevel (5 if you're using X).
  35. %description -n ntsysv -l ja
  36. ntsysv はシステムサービスの runlevel の情報をアップデートや検証する。
  37. ntsysv は システム管理者が直接/etc/rc.d の多数のシンボリックリンクを
  38. 操作することから解放する。
  39. %prep
  40. %setup -q
  41. #cp %SOURCE1 po/ja.po
  42. %build
  43. %ifarch sparc
  44. LIBMHACK=-lm
  45. %endif
  46. %__make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBMHACK=$LIBMHACK
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. %__make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} SBINDIR=%{_sbindir} install
  50. mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
  51. ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
  52. for n in 0 1 2 3 4 5 6; do
  53. mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc${n}.d
  54. ln -s rc.d/rc${n}.d $RPM_BUILD_ROOT/etc/rc${n}.d
  55. done
  56. mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man8
  57. cp %SOURCE2 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/ja/man8
  58. # remove unpackaged files
  59. # we have own alternatives system.
  60. rm -f $RPM_BUILD_ROOT/%{_sbindir}/*alternatives
  61. rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/*alternatives*
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %files
  65. %defattr(-,root,root)
  66. /sbin/chkconfig
  67. /etc/init.d
  68. /etc/rc.d/init.d
  69. /etc/rc[0-6].d
  70. /etc/rc.d/rc[0-6].d
  71. %{_mandir}/*/chkconfig*
  72. %{_mandir}/ja/*/chkconfig*
  73. %{_localedir}/*/LC_MESSAGES/chkconfig.mo
  74. %files -n ntsysv
  75. %defattr(-,root,root)
  76. /usr/sbin/ntsysv
  77. %{_mandir}/*/ntsysv.8*
  78. %{_mandir}/ja/*/ntsysv.8*
  79. %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
  80. %changelog
  81. * Tue Aug 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.37-1
  82. - new upstream release
  83. * Sun Jul 27 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.34-1vl5
  84. - applied new versioning policy and spec in utf-8
  85. * Fri May 04 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.34-0vl2
  86. - dropped obsoleted Makefile.x86_64.patch
  87. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.34-0vl1
  88. - new upstream release
  89. * Thu Jul 06 2006 Shu KONNO <owa@bg.wakwak.com> 1.2.17-1vl9
  90. - add Makefile.x86_64.patch
  91. * Wed May 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.17-1vl8
  92. - add Patch10 to skip xinetd parsing if not exist.
  93. * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2.17-1vl7
  94. - rebuild
  95. * Thu Sep 06 2001 akira yamada <akira@vinelinux.org> 1.2.17-1vl6
  96. - Requires -> Conflicts.
  97. apt-0.3.19.cnc.52-3vl1 can handle Conflicts-field nicely, so
  98. Conflicts/Pre-Depends-loop does not happen.
  99. * Sun Sep 02 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.17-1vl5
  100. - Oops not PreReq but Requires. Fixed.
  101. * Sun Sep 02 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.17-1vl4
  102. - change Conflicts: initscripts <= 5.30-1 to PreReq: initscripts > 5.30-1
  103. to avoid Conflicts/Pre-Depends loop on apt
  104. * Thu Jun 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp>
  105. - 1.2.17-1vl3
  106. - change checkbox color
  107. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  108. - 1.2.17-1vl2
  109. - rebuilt for VineSeed
  110. * Sun Dec 10 2000 Jun Nishii <jun@vinelinux.org>
  111. - 1.2.17-1vl1
  112. * Wed Oct 18 2000 Bill Nottingham <notting@redhat.com>
  113. - ignore .rpmnew files (#18915)
  114. - fix typo in error message (#17575)
  115. * Wed Aug 30 2000 Nalin Dahyabhai <nalin@redhat.com>
  116. - make xinetd config files mode 0644, not 644
  117. * Thu Aug 24 2000 Erik Troan <ewt@redhat.com>
  118. - updated it and es translations
  119. * Sun Aug 20 2000 Bill Nottingham <notting@redhat.com>
  120. - get man pages in proper packages
  121. * Sun Aug 20 2000 Matt Wilson <msw@redhat.com>
  122. - new translations
  123. * Tue Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
  124. - don't worry about extra whitespace on chkconfig: lines (#16150)
  125. * Wed Aug 10 2000 Trond Eivind Glomsr <teg@redhat.com>
  126. - i18n merge
  127. * Wed Jul 26 2000 Matt Wilson <msw@redhat.com>
  128. - new translations for de fr it es
  129. * Tue Jul 25 2000 Bill Nottingham <notting@redhat.com>
  130. - change prereqs
  131. * Sun Jul 23 2000 Bill Nottingham <notting@redhat.com>
  132. - fix ntsysv's handling of xinetd/init files with the same name
  133. * Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
  134. - fix segv when reading malformed files
  135. * Wed Jul 19 2000 Bill Nottingham <notting@redhat.com>
  136. - put links, rc[0-6].d dirs back, those are necessary
  137. * Tue Jul 18 2000 Bill Nottingham <notting@redhat.com>
  138. - add quick hack support for reading descriptions from xinetd files
  139. * Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  140. - don't own the /etc/rc[0-6].d symlinks; they're owned by initscripts
  141. * Sat Jul 15 2000 Matt Wilson <msw@redhat.com>
  142. - move back to old file layout
  143. * Thu Jul 13 2000 Preston Brown <pbrown@redhat.com>
  144. - bump copyright date
  145. * Tue Jul 11 2000 Bill Nottingham <notting@redhat.com>
  146. - no %pre today. Maybe tomorrow.
  147. * Thu Jul 6 2000 Bill Nottingham <notting@redhat.com>
  148. - put initscripts %pre here too
  149. * Mon Jul 3 2000 Bill Nottingham <notting@redhat.com>
  150. - oops, if we don't prereq initscripts, we *need* to own /etc/rc[0-6].d
  151. * Sun Jul 2 2000 Bill Nottingham <notting@redhat.com>
  152. - add xinetd support
  153. * Tue Jun 27 2000 Matt Wilson <msw@redhat.com>
  154. - changed Prereq: initscripts >= 5.18 to Conflicts: initscripts < 5.18
  155. - fixed sumary and description where a global string replace nuked them
  156. * Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
  157. - what Bill said, but actually build this version
  158. * Thu Jun 15 2000 Bill Nottingham <notting@redhat.com>
  159. - don't own /etc/rc.*
  160. * Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
  161. - typo in man page
  162. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  163. - fix description
  164. * Wed Jan 12 2000 Bill Nottingham <notting@redhat.com>
  165. - link chkconfig statically against popt
  166. * Mon Oct 18 1999 Bill Nottingham <notting@redhat.com>
  167. - fix querying alternate levels
  168. * Mon Aug 23 1999 Jeff Johnson <jbj@redhat.com>
  169. - don't use strchr to skip unwanted files, look at extension instead (#4166).
  170. * Thu Aug 5 1999 Bill Nottingham <notting@redhat.com>
  171. - fix --help, --verson
  172. * Mon Aug 2 1999 Matt Wilson <msw@redhat.com>
  173. - rebuilt ntsysv against newt 0.50
  174. * Mon Aug 2 1999 Jeff Johnson <jbj@redhat.com>
  175. - fix i18n problem in usage message (#4233).
  176. - add --help and --version.
  177. * Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
  178. - release for Red Hat 6.0
  179. * Thu Apr 8 1999 Matt Wilson <msw@redhat.com>
  180. - added support for a "hide: true" tag in initscripts that will make
  181. services not appear in ntsysv when run with the "--hide" flag
  182. * Thu Apr 1 1999 Matt Wilson <msw@redhat.com>
  183. - added --hide flag for ntsysv that allows you to hide a service from the
  184. user.
  185. * Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
  186. - fix glob, once and for all. Really. We mean it.
  187. * Thu Mar 18 1999 Bill Nottingham <notting@redhat.com>
  188. - revert fix for services@levels, it's broken
  189. - change default to only edit the current runlevel
  190. * Mon Mar 15 1999 Bill Nottingham <notting@redhat.com>
  191. - don't remove scripts that don't support chkconfig
  192. * Tue Mar 09 1999 Erik Troan <ewt@redhat.com>
  193. - made glob a bit more specific so xinetd and inetd don't cause improper matches
  194. * Thu Feb 18 1999 Matt Wilson <msw@redhat.com>
  195. - removed debugging output when starting ntsysv
  196. * Thu Feb 18 1999 Preston Brown <pbrown@redhat.com>
  197. - fixed globbing error
  198. - fixed ntsysv running services not at their specified levels.
  199. * Tue Feb 16 1999 Matt Wilson <msw@redhat.com>
  200. - print the value of errno on glob failures.
  201. * Sun Jan 10 1999 Matt Wilson <msw@redhat.com>
  202. - rebuilt for newt 0.40 (ntsysv)
  203. * Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
  204. - add ru.po.
  205. * Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
  206. - build for Raw Hide (slang-1.2.2)
  207. * Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
  208. - translation updates
  209. * Thu Oct 08 1998 Cristian Gafton <gafton@redhat.com>
  210. - updated czech translation (and use cs instead of cz)
  211. * Tue Sep 22 1998 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
  212. - added pt_BR translations
  213. - added more translatable strings
  214. - support for i18n init.d scripts description
  215. * Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
  216. - built against newt 0.30
  217. - split ntsysv into a separate package
  218. * Thu May 07 1998 Erik Troan <ewt@redhat.com>
  219. - added numerous translations
  220. * Mon Mar 23 1998 Erik Troan <ewt@redhat.com>
  221. - added i18n support
  222. * Sun Mar 22 1998 Erik Troan <ewt@redhat.com>
  223. - added --back