]> git.pld-linux.org Git - packages/chkconfig.git/blob - chkconfig.spec
- s/update-dependencies/update-alternatives/ (mistake in man page?)
[packages/chkconfig.git] / chkconfig.spec
1 # TODO:
2 # - update add,noxinet,pl.po-update patches
3 # - optflags
4 Summary:        Updates and queries runlevel information for system services
5 Summary(de):    Aktualisiert runlevel-Informationen für Systemdienste und fragt diese ab
6 Summary(es):    Herramienta para actualizar y listar servicios del sistema, por nivel de ejecución (runlevel)
7 Summary(fr):    Mises à jour et interrogations des services systèmes
8 Summary(ja):    /etc/rc.d ¤Î³¬Áؤò¥á¥ó¥Æ¥Ê¥ó¥¹¤¹¤ë¤¿¤á¤Î¥·¥¹¥Æ¥à¥Ä¡¼¥ë
9 Summary(pl):    Narzêdzie do aktualizacji i odpytywania o informacje nt serwisów systemowych
10 Summary(pt):    Ferramenta para atualizar e listar serviços do sistema, pelo nível de execução (runlevel)
11 Summary(ru):    óÉÓÔÅÍÎÁÑ ÕÔÉÌÉÔÁ ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÉÅÒÁÒÈÉÅÊ /etc/rc.d
12 Summary(tr):    Sistem servis bilgilerini sorgular ve yeniler
13 Summary(uk):    óÉÓÔÅÍÎÁ ÕÔÉ̦ÔÁ ÄÌÑ ËÅÒÕ×ÁÎÎÑ ¦¤ÒÁÒȦ¤À /etc/rc.d
14 Name:           chkconfig
15 Version:        1.3.20
16 Release:        0.2
17 Epoch:          1
18 License:        GPL
19 Group:          Applications/System
20 Source0:        %{name}-%{version}.tar.gz
21 # Source0-md5:  a993765a3fcd0c0cd891e16022e35d13
22 #Patch0:                %{name}-add.patch
23 #Patch1:                %{name}-noxinet.patch
24 #Patch2:                %{name}-pl.po-update.patch
25 Patch5:         %{name}-more_readable.patch
26 Patch6:         %{name}-rc.d.patch
27 Patch7:         %{name}-nostatic.patch
28 #BuildRequires: autoconf
29 #BuildRequires: automake
30 BuildRequires:  gettext-devel
31 BuildRequires:  newt-devel
32 BuildRequires:  popt-devel
33 #BuildRequires: slang-devel >= 2.0.0
34 Requires:       rc-scripts
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 chkconfig provides a simple command-line tool for maintaining the
39 /etc/rc.d directory hierarchy by relieving system administrators of
40 directly manipulating the numerous symbolic links in that directory.
41
42 %description -l de
43 chkconfig bietet ein einfaches Befehlszeilen-Tool zum Verwalten der
44 Verzeichnishierarchie /etc/rc.d, indem es dem Systemadministrator das
45 direkte Bearbeiten der zahlreichen symbolischen Verknüpfungen in
46 diesem Verzeichnis abnimmt.
47
48 %description -l es
49 Chkconfig provee una herramienta sencilla en la línea de comando para
50 mantener la jerarquía de directorios /etc/rc.d, atenuando los
51 administradores del sistema del manejo directo de numerosos links
52 simbólicos.
53
54 %description -l fr
55 chkconfig offre un outil simple en ligne de commande pour maintenir la
56 hiérarchie du répertoire /etc/rc.d tout en évitant aux administrateurs
57 système de manipuler les différents liens symbolique de ce répertoire.
58
59 %description -l ja
60 chkconfig
61 ¤Ï´ðËÜŪ¤Ê¥·¥¹¥Æ¥à¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¤¢¤ë¡£¤³¤ì¤Ï¥·¥¹¥Æ¥à¥µ¡¼¥Ó¥¹¤Î
62 runlevel ¤Î¾ðÊó¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤ä¸¡¾Ú¤¹¤ë¡£chkconfig ¤Ï /etc/rc.d ¤Î
63 ¿¿ô¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òÁàºî¤·¤Þ¤¹¤Î¤Ç¡¢¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï¼êÆ°¤Ç
64 ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò¤¿¤Ó¤¿¤Ó¥¨¥Ç¥£¥Ã¥È¤·¤Ê¤¯¤Æ¤â¤è¤¤¡£
65
66 %description -l pl
67 Pakiet chkconfig udostêpnia proste narzêdzia do zarz±dzania
68 zawarto¶ci± katalogów w /etc/rc.d .
69
70 %description -l pt_BR
71 Chkconfig provê uma ferramenta simples na linha de comando para manter
72 a hierarquia de diretórios /etc/rc.d, aliviando os administradores do
73 sistema da manipulação direta de numerosos links simbólicos.
74
75 %description -l ru
76 chkconfig - ÜÔÏ ÐÒÏÓÔÁÑ ÕÔÉÌÉÔÁ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ, ÐÒÅÄÎÁÚÎÁÞÅÎÎÁÑ ÄÌÑ
77 ÕÐÒÁ×ÌÅÎÉÑ ÉÅÒÁÒÈÉÅÊ /etc/rc.d, ÏÓ×ÏÂÏÖÄÁÀÝÁÑ ÓÉÓÔÅÍÎÏÇÏ
78 ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ ÏÔ ÎÅÏÂÈÏÄÉÍÏÓÔÉ ×ÒÕÞÎÕÀ ÓÏÚÄÁ×ÁÔØ/ÕÄÁÌÑÔØ
79 ÍÎÏÇÏÞÉÓÌÅÎÎÙÅ ÓÉÍÌÉÎËÉ × ÜÔÏÍ ËÁÔÁÌÏÇÅ.
80
81 %description -l tr
82 Saðladýðý basit bir komut satýrý programý yardýmýyla, /etc/rc.d
83 dizinlerinin yapýsýyla ilgilenerek sistem yöneticilerinin bu
84 dizinlerde bulunan çok sayýdaki simgesel baðlantýyý düzenleme iþini
85 hafifletir.
86
87 %description -l uk
88 chkconfig - ÃÅ ÐÒÏÓÔÁ ÕÔÉ̦ÔÁ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ, ÐÒÉÚÎÁÞÅÎÁ ÄÌÑ
89 ËÅÒÕ×ÁÎÎÑ ¦¤ÒÁÒȦ¤À /etc/rc.d, ÑËÁ ÚצÌØÎѤ ÓÉÓÔÅÍÎÏÇÏ ÁÄͦΦÓÔÒÁÔÏÒÁ
90 צĠÎÅÏÂȦÄÎÏÓÔ¦ ×ÒÕÞÎÕ ÓÔ×ÏÒÀ×ÁÔÉ/×ÉÄÁÌÑÔÉ ÞÉÓÌÅÎΦ ÓÉÍ×ÏÌØΦ
91 ÐÏÓÉÌÁÎÎÑ × ÃØÏÍÕ ËÁÔÁÌÏÚ¦.
92
93 %package -n ntsysv
94 Summary:        Full-screen interface for configurating runlevel information
95 Summary(es):    Interface con menús para configuración de información de niveles de ejecución
96 Summary(ja):    /etc/rc.d ³¬³¬Áؤò¥á¥ó¥Æ¥Ê¥ó¥¹¤¹¤ë¥·¥¹¥Æ¥à¥Ä¡¼¥ë
97 Summary(pl):    Pe³noekranowy interfejs do wybierania dzia³aj±cych us³ug systemowych
98 Summary(pt):    Interface com menus para configuração de informações de níveis de execução
99 Summary(ru):    ðÏÌÎÏÜËÒÁÎÎÙÊ ÉÎÔÅÒÆÅÊÓ ÄÌÑ ÎÁÓÔÒÏÊËÉ ÕÒÏ×ÎÅÊ ÉÓÐÏÌÎÅÎÉÑ
100 Summary(uk):    ðÏ×ÎÏÅËÒÁÎÎÉÊ ¦ÎÔÅÒÆÅÊÓ ÄÌÑ ÎÁÌÁÇÏÄÖÅÎÎÑ Ò¦×Φנ×ÉËÏÎÁÎÎÑ
101 Group:          Applications/System
102 Requires:       %{name} = %{epoch}:%{version}-%{release}
103
104 %description -n ntsysv
105 ntsysv provides a full-screen tool for updating the /etc/rc.d
106 directory hierarchy, which controls the starting and stopping of
107 system services.
108
109 %description -n ntsysv -l es
110 ntsysv ofrece una herramienta basada en menús para actualizar la
111 jerarquía de directorios /etc/rc.d, que controla el arranque y el
112 cierre de servicios del sistema.
113
114 %description -n ntsysv -l ja
115 ntsysv ¤Ï¥·¥¹¥Æ¥à¥µ¡¼¥Ó¥¹¤Î runlevel ¤Î¾ðÊó¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤ä¸¡¾Ú¤¹¤ë¡£
116 ntsysv ¤Ï ¥·¥¹¥Æ¥à´ÉÍý¼Ô¤¬Ä¾ÀÜ/etc/rc.d ¤Î¿¿ô¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò
117 Áàºî¤¹¤ë¤³¤È¤«¤é²òÊü¤¹¤ë¡£
118
119 %description -n ntsysv -l pl
120 ntsysv udostêpnia pe³noekranowe narzêdzie do aktualizowania zawarto¶ci
121 katalogów w /etc/rc.d, które kontroluj± w³±czanie i wy³±czanie
122 poszczególnych serwisów systemowych.
123
124 %description -n ntsysv -l pt_BR
125 O ntsysv fornece uma ferramenta baseada em menus para atualizar a
126 hierarquia de diretórios /etc/rc.d, que controla a inicialização e a
127 terminação de serviços do sistema.
128
129 %description -n ntsysv -l ru
130 ntsysv - ÜÔÏ ÐÏÌÎÏÜËÒÁÎÎÁÑ ÕÔÉÌÉÔÁ ÄÌÑ ÏÂÎÏ×ÌÅÎÉÑ É ÉÚÍÅÎÅÎÉÑ ÉÅÒÁÒÈÉÉ
131 ËÁÔÁÌÏÇÏ× /etc/rc.d, ËÏÔÏÒÙÅ ÕÐÒÁ×ÌÑÀÔ ÚÁÐÕÓËÏÍ É ÏÓÔÁÎÏ×ËÏÊ ÓÉÓÔÅÍÎÙÈ
132 ÓÅÒ×ÉÓÏ×.
133
134 %description -n ntsysv -l uk
135 ntsysv - ÃÅ ÐÏ×ÎÏÅËÒÁÎÎÁ ÕÔÉ̦ÔÁ ÄÌÑ ÏÎÏ×ÌÅÎÎÑ ÔÁ ÚͦÎÉ ¦¤ÒÁÒȦ§
136 ËÁÔÁÌÏǦנ/etc/rc.d, ËÏÔÒ¦ ËÅÒÕÀÔØ ÚÁÐÕÓËÏÍ ÔÁ ÚÕÐÉÎËÏÀ ÓÉÓÔÅÍÎÉÈ
137 ÓÅÒצӦ×.
138
139 %package -n alternatives
140 Summary:        Maintain symbolic links determining default commands
141 Summary(pl):    Utrzymywanie dowi±zañ symbolicznych okre¶laj±cych domy¶lne polecenia
142 Group:          Applications/System
143
144 %description -n alternatives
145 alternatives creates, removes, maintains and displays information
146 about the symbolic links comprising the alternatives system. The
147 alternatives system is a reimplementation of the Debian alternatives
148 system. It was rewritten primarily to remove the dependence on perl;
149 it is intended to be a drop in replacement for Debian's
150 update-alternatives script.
151
152 %description -n alternatives -l pl
153 alternatives tworzy, usuwa, utrzymuje i wy¶wietla informacje o
154 dowi±zaniach symbolicznych obejmuj±cych system alternatyw. System
155 alternatyw to reimplementacja systemu alternatyw ("alternatives") z
156 Debiana. Zosta³a napisana g³ównie w celu usuniêcia zale¿no¶ci od
157 perla; ma byæ zamiennikiem skryptu update-alternatives z Debiana.
158
159 %prep
160 %setup -q
161 #%patch0 -p1
162 #%patch1 -p1
163 #%patch2 -p1
164 #%patch3 -p1
165 #%patch4 -p1
166 %patch5 -p1
167 %patch6 -p1
168 %patch7 -p1
169
170 #mv -f po/{eu_ES,eu}.po
171 mv -f po/{no,nb}.po
172 mv -f po/{sr,sr@Latn}.po
173 #mv -f po/{zh,zh_TW}.po
174 #mv -f po/{zh_CN.GB2312,zh_CN}.po
175
176 %build
177 %if 0
178 %{__aclocal}
179 %{__autoconf}
180 %{__automake}
181 %configure \
182         --with-max-level=6
183 %endif
184 %{__make} \
185         CC="%{__cc}"
186
187 %install
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT{/etc/{rc.d/{init,rc{0,1,2,3,4,5,6}}.d,env.d},/sbin}
190
191 %{__make} install \
192         MANDIR=%{_mandir} \
193         instroot=$RPM_BUILD_ROOT
194
195 %find_lang %{name}
196
197 cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_ON
198 # display custom string instead of "on" (or its translation)
199 #CHKCONFIG_ON="*****"
200 EOF
201 cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_OFF
202 # display custom string instead of "off" (or its translation)
203 #CHKCONFIG_OFF="-----"
204 EOF
205
206 %clean
207 rm -rf $RPM_BUILD_ROOT
208
209 %files -f %{name}.lang
210 %defattr(644,root,root,755)
211 %attr(755,root,root) /sbin/chkconfig
212 %{_mandir}/man8/chkconfig.8*
213 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
214
215 %files -n ntsysv
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{_sbindir}/ntsysv
218 %{_mandir}/man8/ntsysv.8*
219
220 %files -n alternatives
221 %defattr(644,root,root,755)
222 %dir %{_sysconfdir}/alternatives
223 %attr(755,root,root) %{_sbindir}/alternatives
224 %attr(755,root,root) %{_sbindir}/update-alternatives
225 %dir /var/lib/alternatives
226 %{_mandir}/man8/alternatives.8*
This page took 0.060148 seconds and 4 git commands to generate.