]>
Commit | Line | Data |
---|---|---|
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.UTF-8): Aktualisiert runlevel-Informationen für Systemdienste und fragt diese ab | |
7 | Summary(es.UTF-8): Herramienta para actualizar y listar servicios del sistema, por nivel de ejecución (runlevel) | |
8 | Summary(fr.UTF-8): Mises à jour et interrogations des services systèmes | |
9 | Summary(ja.UTF-8): /etc/rc.d の階層をメンテナンスするためのシステムツール | |
10 | Summary(pl.UTF-8): Narzędzie do aktualizacji i odpytywania o informacje nt serwisów systemowych | |
11 | Summary(pt.UTF-8): Ferramenta para atualizar e listar serviços do sistema, pelo nível de execução (runlevel) | |
12 | Summary(ru.UTF-8): Системная утилита для управления иерархией /etc/rc.d | |
13 | Summary(tr.UTF-8): Sistem servis bilgilerini sorgular ve yeniler | |
14 | Summary(uk.UTF-8): Системна утиліта для керування ієрархією /etc/rc.d | |
15 | Name: chkconfig | |
16 | Version: 1.3.20 | |
17 | Release: 0.4 | |
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 | Patch9: %{name}-pl.patch | |
31 | #BuildRequires: autoconf | |
32 | #BuildRequires: automake | |
33 | BuildRequires: gettext-devel | |
34 | BuildRequires: newt-devel | |
35 | BuildRequires: popt-devel | |
36 | #BuildRequires: slang-devel >= 2.0.0 | |
37 | Requires: rc-scripts | |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
40 | %description | |
41 | chkconfig provides a simple command-line tool for maintaining the | |
42 | /etc/rc.d directory hierarchy by relieving system administrators of | |
43 | directly manipulating the numerous symbolic links in that directory. | |
44 | ||
45 | %description -l de.UTF-8 | |
46 | chkconfig bietet ein einfaches Befehlszeilen-Tool zum Verwalten der | |
47 | Verzeichnishierarchie /etc/rc.d, indem es dem Systemadministrator das | |
48 | direkte Bearbeiten der zahlreichen symbolischen Verknüpfungen in | |
49 | diesem Verzeichnis abnimmt. | |
50 | ||
51 | %description -l es.UTF-8 | |
52 | Chkconfig provee una herramienta sencilla en la línea de comando para | |
53 | mantener la jerarquía de directorios /etc/rc.d, atenuando los | |
54 | administradores del sistema del manejo directo de numerosos links | |
55 | simbólicos. | |
56 | ||
57 | %description -l fr.UTF-8 | |
58 | chkconfig offre un outil simple en ligne de commande pour maintenir la | |
59 | hiérarchie du répertoire /etc/rc.d tout en évitant aux administrateurs | |
60 | système de manipuler les différents liens symbolique de ce répertoire. | |
61 | ||
62 | %description -l ja.UTF-8 | |
63 | chkconfig | |
64 | は基本的なシステムユーティリティである。これはシステムサービスの | |
65 | runlevel の情報をアップデートや検証する。chkconfig は /etc/rc.d の | |
66 | 多数のシンボリックリンクを操作しますので、システム管理者は手動で | |
67 | シンボリックリンクをたびたびエディットしなくてもよい。 | |
68 | ||
69 | %description -l pl.UTF-8 | |
70 | Pakiet chkconfig udostępnia proste narzędzia do zarządzania | |
71 | zawartością katalogów w /etc/rc.d . | |
72 | ||
73 | %description -l pt_BR.UTF-8 | |
74 | Chkconfig provê uma ferramenta simples na linha de comando para manter | |
75 | a hierarquia de diretórios /etc/rc.d, aliviando os administradores do | |
76 | sistema da manipulação direta de numerosos links simbólicos. | |
77 | ||
78 | %description -l ru.UTF-8 | |
79 | chkconfig - это простая утилита командной строки, предназначенная для | |
80 | управления иерархией /etc/rc.d, освобождающая системного | |
81 | администратора от необходимости вручную создавать/удалять | |
82 | многочисленные симлинки в этом каталоге. | |
83 | ||
84 | %description -l tr.UTF-8 | |
85 | Sağladığı basit bir komut satırı programı yardımıyla, /etc/rc.d | |
86 | dizinlerinin yapısıyla ilgilenerek sistem yöneticilerinin bu | |
87 | dizinlerde bulunan çok sayıdaki simgesel bağlantıyı düzenleme işini | |
88 | hafifletir. | |
89 | ||
90 | %description -l uk.UTF-8 | |
91 | chkconfig - це проста утиліта командного рядка, призначена для | |
92 | керування ієрархією /etc/rc.d, яка звільняє системного адміністратора | |
93 | від необхідності вручну створювати/видаляти численні символьні | |
94 | посилання в цьому каталозі. | |
95 | ||
96 | %package -n ntsysv | |
97 | Summary: Full-screen interface for configurating runlevel information | |
98 | Summary(es.UTF-8): Interface con menús para configuración de información de niveles de ejecución | |
99 | Summary(ja.UTF-8): /etc/rc.d 階階層をメンテナンスするシステムツール | |
100 | Summary(pl.UTF-8): Pełnoekranowy interfejs do wybierania działających usług systemowych | |
101 | Summary(pt.UTF-8): Interface com menus para configuração de informações de níveis de execução | |
102 | Summary(ru.UTF-8): Полноэкранный интерфейс для настройки уровней исполнения | |
103 | Summary(uk.UTF-8): Повноекранний інтерфейс для налагодження рівнів виконання | |
104 | Group: Applications/System | |
105 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
106 | ||
107 | %description -n ntsysv | |
108 | ntsysv provides a full-screen tool for updating the /etc/rc.d | |
109 | directory hierarchy, which controls the starting and stopping of | |
110 | system services. | |
111 | ||
112 | %description -n ntsysv -l es.UTF-8 | |
113 | ntsysv ofrece una herramienta basada en menús para actualizar la | |
114 | jerarquía de directorios /etc/rc.d, que controla el arranque y el | |
115 | cierre de servicios del sistema. | |
116 | ||
117 | %description -n ntsysv -l ja.UTF-8 | |
118 | ntsysv はシステムサービスの runlevel の情報をアップデートや検証する。 | |
119 | ntsysv は システム管理者が直接/etc/rc.d の多数のシンボリックリンクを | |
120 | 操作することから解放する。 | |
121 | ||
122 | %description -n ntsysv -l pl.UTF-8 | |
123 | ntsysv udostępnia pełnoekranowe narzędzie do aktualizowania zawartości | |
124 | katalogów w /etc/rc.d, które kontrolują włączanie i wyłączanie | |
125 | poszczególnych serwisów systemowych. | |
126 | ||
127 | %description -n ntsysv -l pt_BR.UTF-8 | |
128 | O ntsysv fornece uma ferramenta baseada em menus para atualizar a | |
129 | hierarquia de diretórios /etc/rc.d, que controla a inicialização e a | |
130 | terminação de serviços do sistema. | |
131 | ||
132 | %description -n ntsysv -l ru.UTF-8 | |
133 | ntsysv - это полноэкранная утилита для обновления и изменения иерархии | |
134 | каталогов /etc/rc.d, которые управляют запуском и остановкой системных | |
135 | сервисов. | |
136 | ||
137 | %description -n ntsysv -l uk.UTF-8 | |
138 | ntsysv - це повноекранна утиліта для оновлення та зміни ієрархії | |
139 | каталогів /etc/rc.d, котрі керують запуском та зупинкою системних | |
140 | сервісів. | |
141 | ||
142 | %package -n alternatives | |
143 | Summary: Maintain symbolic links determining default commands | |
144 | Summary(pl.UTF-8): Utrzymywanie dowiązań symbolicznych określających domyślne polecenia | |
145 | Group: Applications/System | |
146 | ||
147 | %description -n alternatives | |
148 | alternatives creates, removes, maintains and displays information | |
149 | about the symbolic links comprising the alternatives system. The | |
150 | alternatives system is a reimplementation of the Debian alternatives | |
151 | system. It was rewritten primarily to remove the dependence on perl; | |
152 | it is intended to be a drop in replacement for Debian's | |
153 | update-alternatives script. | |
154 | ||
155 | %description -n alternatives -l pl.UTF-8 | |
156 | alternatives tworzy, usuwa, utrzymuje i wyświetla informacje o | |
157 | dowiązaniach symbolicznych obejmujących system alternatyw. System | |
158 | alternatyw to reimplementacja systemu alternatyw ("alternatives") z | |
159 | Debiana. Została napisana głównie w celu usunięcia zależności od | |
160 | perla; ma być zamiennikiem skryptu update-alternatives z Debiana. | |
161 | ||
162 | %prep | |
163 | %setup -q | |
164 | #%patch0 -p1 | |
165 | #%patch1 -p1 | |
166 | #%patch2 -p1 | |
167 | #%patch3 -p1 | |
168 | #%patch4 -p1 | |
169 | %patch5 -p1 | |
170 | %patch6 -p1 | |
171 | %patch7 -p1 | |
172 | %patch8 -p1 | |
173 | %patch9 -p1 | |
174 | ||
175 | #mv -f po/{eu_ES,eu}.po | |
176 | mv -f po/{no,nb}.po | |
177 | mv -f po/{sr,sr@Latn}.po | |
178 | #mv -f po/{zh,zh_TW}.po | |
179 | #mv -f po/{zh_CN.GB2312,zh_CN}.po | |
180 | ||
181 | %build | |
182 | %if 0 | |
183 | %{__aclocal} | |
184 | %{__autoconf} | |
185 | %{__automake} | |
186 | %configure \ | |
187 | --with-max-level=6 | |
188 | %endif | |
189 | %{__make} \ | |
190 | CC="%{__cc}" \ | |
191 | OPTFLAGS="%{rpmcflags}" | |
192 | ||
193 | %install | |
194 | rm -rf $RPM_BUILD_ROOT | |
195 | install -d $RPM_BUILD_ROOT{/etc/{rc.d/{init,rc{0,1,2,3,4,5,6}}.d,env.d},/sbin} | |
196 | ||
197 | %{__make} install \ | |
198 | MANDIR=%{_mandir} \ | |
199 | instroot=$RPM_BUILD_ROOT | |
200 | ||
201 | %find_lang %{name} | |
202 | ||
203 | cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_ON | |
204 | # display custom string instead of "on" (or its translation) | |
205 | #CHKCONFIG_ON="*****" | |
206 | EOF | |
207 | cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_OFF | |
208 | # display custom string instead of "off" (or its translation) | |
209 | #CHKCONFIG_OFF="-----" | |
210 | EOF | |
211 | ||
212 | %clean | |
213 | rm -rf $RPM_BUILD_ROOT | |
214 | ||
215 | %files -f %{name}.lang | |
216 | %defattr(644,root,root,755) | |
217 | %attr(755,root,root) /sbin/chkconfig | |
218 | %{_mandir}/man8/chkconfig.8* | |
219 | %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/* | |
220 | ||
221 | %files -n ntsysv | |
222 | %defattr(644,root,root,755) | |
223 | %attr(755,root,root) %{_sbindir}/ntsysv | |
224 | %{_mandir}/man8/ntsysv.8* | |
225 | ||
226 | %files -n alternatives | |
227 | %defattr(644,root,root,755) | |
228 | %dir %{_sysconfdir}/alternatives | |
229 | %attr(755,root,root) %{_sbindir}/alternatives | |
230 | %attr(755,root,root) %{_sbindir}/update-alternatives | |
231 | %dir /var/lib/alternatives | |
232 | %{_mandir}/man8/alternatives.8* |