source: projects/specs/trunk/c/chkconfig/chkconfig-vl.spec @ 7709

Revision 7709, 10.8 KB checked in by daisuke, 11 years ago (diff)

chkconfig: update to 1.3.60

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