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