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