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