3 # - update add,noxinet,pl.po-update patches
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
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
38 # sr@Latn vs. sr@latin
39 Conflicts: glibc-misc < 6:2.7
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 chkconfig provides a simple command-line tool for maintaining the
44 /etc/rc.d directory hierarchy by relieving system administrators of
45 directly manipulating the numerous symbolic links in that directory.
47 %description -l de.UTF-8
48 chkconfig bietet ein einfaches Befehlszeilen-Tool zum Verwalten der
49 Verzeichnishierarchie /etc/rc.d, indem es dem Systemadministrator das
50 direkte Bearbeiten der zahlreichen symbolischen Verknüpfungen in
51 diesem Verzeichnis abnimmt.
53 %description -l es.UTF-8
54 Chkconfig provee una herramienta sencilla en la línea de comando para
55 mantener la jerarquía de directorios /etc/rc.d, atenuando los
56 administradores del sistema del manejo directo de numerosos links
59 %description -l fr.UTF-8
60 chkconfig offre un outil simple en ligne de commande pour maintenir la
61 hiérarchie du répertoire /etc/rc.d tout en évitant aux administrateurs
62 système de manipuler les différents liens symbolique de ce répertoire.
64 %description -l ja.UTF-8
66 は基本的なシステムユーティリティである。これはシステムサービスの
67 runlevel の情報をアップデートや検証する。chkconfig は /etc/rc.d の
68 多数のシンボリックリンクを操作しますので、システム管理者は手動で
69 シンボリックリンクをたびたびエディットしなくてもよい。
71 %description -l pl.UTF-8
72 Pakiet chkconfig udostępnia proste narzędzia do zarządzania
73 zawartością katalogów w /etc/rc.d .
75 %description -l pt_BR.UTF-8
76 Chkconfig provê uma ferramenta simples na linha de comando para manter
77 a hierarquia de diretórios /etc/rc.d, aliviando os administradores do
78 sistema da manipulação direta de numerosos links simbólicos.
80 %description -l ru.UTF-8
81 chkconfig - это простая утилита командной строки, предназначенная для
82 управления иерархией /etc/rc.d, освобождающая системного
83 администратора от необходимости вручную создавать/удалять
84 многочисленные симлинки в этом каталоге.
86 %description -l tr.UTF-8
87 Sağladığı basit bir komut satırı programı yardımıyla, /etc/rc.d
88 dizinlerinin yapısıyla ilgilenerek sistem yöneticilerinin bu
89 dizinlerde bulunan çok sayıdaki simgesel bağlantıyı düzenleme işini
92 %description -l uk.UTF-8
93 chkconfig - це проста утиліта командного рядка, призначена для
94 керування ієрархією /etc/rc.d, яка звільняє системного адміністратора
95 від необхідності вручну створювати/видаляти численні символьні
96 посилання в цьому каталозі.
99 Summary: Full-screen interface for configurating runlevel information
100 Summary(es.UTF-8): Interface con menús para configuración de información de niveles de ejecución
101 Summary(ja.UTF-8): /etc/rc.d 階階層をメンテナンスするシステムツール
102 Summary(pl.UTF-8): Pełnoekranowy interfejs do wybierania działających usług systemowych
103 Summary(pt.UTF-8): Interface com menus para configuração de informações de níveis de execução
104 Summary(ru.UTF-8): Полноэкранный интерфейс для настройки уровней исполнения
105 Summary(uk.UTF-8): Повноекранний інтерфейс для налагодження рівнів виконання
106 Group: Applications/System
107 Requires: %{name} = %{epoch}:%{version}-%{release}
109 %description -n ntsysv
110 ntsysv provides a full-screen tool for updating the /etc/rc.d
111 directory hierarchy, which controls the starting and stopping of
114 %description -n ntsysv -l es.UTF-8
115 ntsysv ofrece una herramienta basada en menús para actualizar la
116 jerarquía de directorios /etc/rc.d, que controla el arranque y el
117 cierre de servicios del sistema.
119 %description -n ntsysv -l ja.UTF-8
120 ntsysv はシステムサービスの runlevel の情報をアップデートや検証する。
121 ntsysv は システム管理者が直接/etc/rc.d の多数のシンボリックリンクを
124 %description -n ntsysv -l pl.UTF-8
125 ntsysv udostępnia pełnoekranowe narzędzie do aktualizowania zawartości
126 katalogów w /etc/rc.d, które kontrolują włączanie i wyłączanie
127 poszczególnych serwisów systemowych.
129 %description -n ntsysv -l pt_BR.UTF-8
130 O ntsysv fornece uma ferramenta baseada em menus para atualizar a
131 hierarquia de diretórios /etc/rc.d, que controla a inicialização e a
132 terminação de serviços do sistema.
134 %description -n ntsysv -l ru.UTF-8
135 ntsysv - это полноэкранная утилита для обновления и изменения иерархии
136 каталогов /etc/rc.d, которые управляют запуском и остановкой системных
139 %description -n ntsysv -l uk.UTF-8
140 ntsysv - це повноекранна утиліта для оновлення та зміни ієрархії
141 каталогів /etc/rc.d, котрі керують запуском та зупинкою системних
144 %package -n alternatives
145 Summary: Maintain symbolic links determining default commands
146 Summary(pl.UTF-8): Utrzymywanie dowiązań symbolicznych określających domyślne polecenia
147 Group: Applications/System
149 %description -n alternatives
150 alternatives creates, removes, maintains and displays information
151 about the symbolic links comprising the alternatives system. The
152 alternatives system is a reimplementation of the Debian alternatives
153 system. It was rewritten primarily to remove the dependence on perl;
154 it is intended to be a drop in replacement for Debian's
155 update-alternatives script.
157 %description -n alternatives -l pl.UTF-8
158 alternatives tworzy, usuwa, utrzymuje i wyświetla informacje o
159 dowiązaniach symbolicznych obejmujących system alternatyw. System
160 alternatyw to reimplementacja systemu alternatyw ("alternatives") z
161 Debiana. Została napisana głównie w celu usunięcia zależności od
162 perla; ma być zamiennikiem skryptu update-alternatives z Debiana.
177 #mv -f po/{eu_ES,eu}.po
179 mv -f po/{sr,sr@Latn}.po
180 #mv -f po/{zh,zh_TW}.po
181 #mv -f po/{zh_CN.GB2312,zh_CN}.po
193 OPTFLAGS="%{rpmcflags}"
196 rm -rf $RPM_BUILD_ROOT
197 install -d $RPM_BUILD_ROOT{/etc/{rc.d/{init,rc{0,1,2,3,4,5,6}}.d,env.d},/sbin}
201 instroot=$RPM_BUILD_ROOT
203 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
204 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
207 cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_ON
208 # display custom string instead of "on" (or its translation)
209 #CHKCONFIG_ON="*****"
211 cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_OFF
212 # display custom string instead of "off" (or its translation)
213 #CHKCONFIG_OFF="-----"
217 rm -rf $RPM_BUILD_ROOT
219 %files -f %{name}.lang
220 %defattr(644,root,root,755)
221 %attr(755,root,root) /sbin/chkconfig
222 %{_mandir}/man8/chkconfig.8*
223 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
226 %defattr(644,root,root,755)
227 %attr(755,root,root) %{_sbindir}/ntsysv
228 %{_mandir}/man8/ntsysv.8*
230 %files -n alternatives
231 %defattr(644,root,root,755)
232 %dir %{_sysconfdir}/alternatives
233 %attr(755,root,root) %{_sbindir}/alternatives
234 %attr(755,root,root) %{_sbindir}/update-alternatives
235 %dir /var/lib/alternatives
236 %{_mandir}/man8/alternatives.8*