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