2 # - add patch needs fix to stop "chkconfig service off && chkconfig --add service" reactivating service
4 Summary: Updates and queries runlevel information for system services
5 Summary(de.UTF-8): Aktualisiert runlevel-Informationen für Systemdienste und fragt diese ab
6 Summary(es.UTF-8): Herramienta para actualizar y listar servicios del sistema, por nivel de ejecución (runlevel)
7 Summary(fr.UTF-8): Mises à jour et interrogations des services systèmes
8 Summary(ja.UTF-8): /etc/rc.d の階層をメンテナンスするためのシステムツール
9 Summary(pl.UTF-8): Narzędzie do aktualizacji i odpytywania o informacje nt serwisów systemowych
10 Summary(pt.UTF-8): Ferramenta para atualizar e listar serviços do sistema, pelo nível de execução (runlevel)
11 Summary(ru.UTF-8): Системная утилита для управления иерархией /etc/rc.d
12 Summary(tr.UTF-8): Sistem servis bilgilerini sorgular ve yeniler
13 Summary(uk.UTF-8): Системна утиліта для керування ієрархією /etc/rc.d
19 Group: Applications/System
20 Source0: http://fedorahosted.org/releases/c/h/chkconfig/%{name}-%{version}.tar.bz2
21 # Source0-md5: c2039ca67f2749fe0c06ef7c6f8ee246
22 Patch0: %{name}-add.patch
23 Patch1: %{name}-noxinet.patch
24 Patch2: %{name}-rc.d.patch
25 Patch3: %{name}-optflags.patch
26 Patch4: %{name}-pl.patch
27 BuildRequires: gettext-devel
28 BuildRequires: newt-devel
29 BuildRequires: popt-devel
31 # sr@Latn vs. sr@latin
32 Conflicts: glibc-misc < 6:2.7
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 chkconfig provides a simple command-line tool for maintaining the
37 /etc/rc.d directory hierarchy by relieving system administrators of
38 directly manipulating the numerous symbolic links in that directory.
40 %description -l de.UTF-8
41 chkconfig bietet ein einfaches Befehlszeilen-Tool zum Verwalten der
42 Verzeichnishierarchie /etc/rc.d, indem es dem Systemadministrator das
43 direkte Bearbeiten der zahlreichen symbolischen Verknüpfungen in
44 diesem Verzeichnis abnimmt.
46 %description -l es.UTF-8
47 Chkconfig provee una herramienta sencilla en la línea de comando para
48 mantener la jerarquía de directorios /etc/rc.d, atenuando los
49 administradores del sistema del manejo directo de numerosos links
52 %description -l fr.UTF-8
53 chkconfig offre un outil simple en ligne de commande pour maintenir la
54 hiérarchie du répertoire /etc/rc.d tout en évitant aux administrateurs
55 système de manipuler les différents liens symbolique de ce répertoire.
57 %description -l ja.UTF-8
59 は基本的なシステムユーティリティである。これはシステムサービスの
60 runlevel の情報をアップデートや検証する。chkconfig は /etc/rc.d の
61 多数のシンボリックリンクを操作しますので、システム管理者は手動で
62 シンボリックリンクをたびたびエディットしなくてもよい。
64 %description -l pl.UTF-8
65 Pakiet chkconfig udostępnia proste narzędzia do zarządzania
66 zawartością katalogów w /etc/rc.d .
68 %description -l pt_BR.UTF-8
69 Chkconfig provê uma ferramenta simples na linha de comando para manter
70 a hierarquia de diretórios /etc/rc.d, aliviando os administradores do
71 sistema da manipulação direta de numerosos links simbólicos.
73 %description -l ru.UTF-8
74 chkconfig - это простая утилита командной строки, предназначенная для
75 управления иерархией /etc/rc.d, освобождающая системного
76 администратора от необходимости вручную создавать/удалять
77 многочисленные симлинки в этом каталоге.
79 %description -l tr.UTF-8
80 Sağladığı basit bir komut satırı programı yardımıyla, /etc/rc.d
81 dizinlerinin yapısıyla ilgilenerek sistem yöneticilerinin bu
82 dizinlerde bulunan çok sayıdaki simgesel bağlantıyı düzenleme işini
85 %description -l uk.UTF-8
86 chkconfig - це проста утиліта командного рядка, призначена для
87 керування ієрархією /etc/rc.d, яка звільняє системного адміністратора
88 від необхідності вручну створювати/видаляти численні символьні
89 посилання в цьому каталозі.
92 Summary: Full-screen interface for configurating runlevel information
93 Summary(es.UTF-8): Interface con menús para configuración de información de niveles de ejecución
94 Summary(ja.UTF-8): /etc/rc.d 階階層をメンテナンスするシステムツール
95 Summary(pl.UTF-8): Pełnoekranowy interfejs do wybierania działających usług systemowych
96 Summary(pt.UTF-8): Interface com menus para configuração de informações de níveis de execução
97 Summary(ru.UTF-8): Полноэкранный интерфейс для настройки уровней исполнения
98 Summary(uk.UTF-8): Повноекранний інтерфейс для налагодження рівнів виконання
99 Group: Applications/System
100 Requires: %{name} = %{epoch}:%{version}-%{release}
102 %description -n ntsysv
103 ntsysv provides a full-screen tool for updating the /etc/rc.d
104 directory hierarchy, which controls the starting and stopping of
107 %description -n ntsysv -l es.UTF-8
108 ntsysv ofrece una herramienta basada en menús para actualizar la
109 jerarquía de directorios /etc/rc.d, que controla el arranque y el
110 cierre de servicios del sistema.
112 %description -n ntsysv -l ja.UTF-8
113 ntsysv はシステムサービスの runlevel の情報をアップデートや検証する。
114 ntsysv は システム管理者が直接/etc/rc.d の多数のシンボリックリンクを
117 %description -n ntsysv -l pl.UTF-8
118 ntsysv udostępnia pełnoekranowe narzędzie do aktualizowania zawartości
119 katalogów w /etc/rc.d, które kontrolują włączanie i wyłączanie
120 poszczególnych serwisów systemowych.
122 %description -n ntsysv -l pt_BR.UTF-8
123 O ntsysv fornece uma ferramenta baseada em menus para atualizar a
124 hierarquia de diretórios /etc/rc.d, que controla a inicialização e a
125 terminação de serviços do sistema.
127 %description -n ntsysv -l ru.UTF-8
128 ntsysv - это полноэкранная утилита для обновления и изменения иерархии
129 каталогов /etc/rc.d, которые управляют запуском и остановкой системных
132 %description -n ntsysv -l uk.UTF-8
133 ntsysv - це повноекранна утиліта для оновлення та зміни ієрархії
134 каталогів /etc/rc.d, котрі керують запуском та зупинкою системних
137 %package -n alternatives
138 Summary: Maintain symbolic links determining default commands
139 Summary(pl.UTF-8): Utrzymywanie dowiązań symbolicznych określających domyślne polecenia
140 Group: Applications/System
142 %description -n alternatives
143 alternatives creates, removes, maintains and displays information
144 about the symbolic links comprising the alternatives system. The
145 alternatives system is a reimplementation of the Debian alternatives
146 system. It was rewritten primarily to remove the dependence on Perl;
147 it is intended to be a drop in replacement for Debian's
148 update-alternatives script.
150 %description -n alternatives -l pl.UTF-8
151 alternatives tworzy, usuwa, utrzymuje i wyświetla informacje o
152 dowiązaniach symbolicznych obejmujących system alternatyw. System
153 alternatyw to reimplementacja systemu alternatyw ("alternatives") z
154 Debiana. Została napisana głównie w celu usunięcia zależności od
155 Perla; ma być zamiennikiem skryptu update-alternatives z Debiana.
168 OPTFLAGS="%{rpmcflags}"
171 rm -rf $RPM_BUILD_ROOT
172 install -d $RPM_BUILD_ROOT{/etc/{rc.d/{init,rc{0,1,2,3,4,5,6}}.d,env.d},/sbin}
176 DESTDIR=$RPM_BUILD_ROOT
178 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/bal
182 cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_ON
183 # display custom string instead of "on" (or its translation)
184 #CHKCONFIG_ON="*****"
186 cat <<EOF > $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_OFF
187 # display custom string instead of "off" (or its translation)
188 #CHKCONFIG_OFF="-----"
192 rm -rf $RPM_BUILD_ROOT
194 %files -f %{name}.lang
195 %defattr(644,root,root,755)
196 %attr(755,root,root) /sbin/chkconfig
197 %{_mandir}/man8/chkconfig.8*
198 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
201 %defattr(644,root,root,755)
202 %attr(755,root,root) %{_sbindir}/ntsysv
203 %{_mandir}/man8/ntsysv.8*
205 %files -n alternatives
206 %defattr(644,root,root,755)
207 %dir %{_sysconfdir}/alternatives
208 %attr(755,root,root) %{_sbindir}/alternatives
209 %attr(755,root,root) %{_sbindir}/update-alternatives
210 %dir /var/lib/alternatives
211 %{_mandir}/man8/alternatives.8*
212 %{_mandir}/man8/update-alternatives.8*