Summary(de): Aktualisiert runlevel-Informationen für Systemdienste und fragt diese ab
Summary(fr): Mises à jour et interrogations des services systèmes
Summary(pl): Narzêdzie do aktualizacji i odpytywania o informacje nt serwisów systemowych
-Summary(pt_BR): Ferramenta para atualizar e listar serviços do sistema, pelo nível de execução (runlevel)
+Summary(pt): Ferramenta para atualizar e listar serviços do sistema, pelo nível de execução (runlevel)
Summary(tr): Sistem servis bilgilerini sorgular ve yeniler
Name: chkconfig
-Version: 1.0.5
+Version: 1.2.22
Release: 2
-Copyright: GPL
-Group: Utilities/System
-Group(pt_BR): Utilitários/Sistema
-Group(pl): Narzêdzia/System
-Source: ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz
-Source1: chkconfig.pl.po
-Patch: chkconfig-opt.patch
-BuildPrereq: slang-devel
-BuildPrereq: newt-devel
-BuildRoot: /tmp/%{name}-%{version}-root
+License: GPL
+Group: Applications/System
+Group(de): Applikationen/System
+Group(pl): Aplikacje/System
+Group(pt): Utilitários/Sistema
+Source0: ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz
+Patch0: %{name}-opt.patch
+Patch1: %{name}-fhs.patch
+Patch2: %{name}-add.patch
+Patch3: %{name}-popt.patch
+Patch4: %{name}-rcdir.patch
+Patch5: %{name}-noxinet.patch
+BuildRequires: slang-devel
+BuildRequires: newt-devel
+BuildRequires: popt-devel
+Prereq: popt
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-chkconfig provides a simple command-line tool for maintaining the
-/etc/rc.d directory hierarchy by relieving system administrators of
-directly manipulating the numerous symbolic links in that directory.
+chkconfig provides a simple command-line tool for maintaining the
+/etc/rc.d directory hierarchy by relieving system administrators of
+directly manipulating the numerous symbolic links in that directory.
%description -l de
chkconfig bietet ein einfaches Befehlszeilen-Tool zum Verwalten der
-Verzeichnishierarchie /etc/rc.d, indem es dem Systemadministrator das direkte
-Bearbeiten der zahlreichen symbolischen Verknüpfungen in diesem
-Verzeichnis abnimmt.
+Verzeichnishierarchie /etc/rc.d, indem es dem Systemadministrator das
+direkte Bearbeiten der zahlreichen symbolischen Verknüpfungen in
+diesem Verzeichnis abnimmt.
%description -l fr
chkconfig offre un outil simple en ligne de commande pour maintenir la
système de manipuler les différents liens symbolique de ce répertoire.
%description -l pl
-Pakiet chkconfig udostêpnia proste narzêdzia do zarz±dzania zawarto¶ci±
-katalogów w /etc/rc.d
+Pakiet chkconfig udostêpnia proste narzêdzia do zarz±dzania
+zawarto¶ci± katalogów w /etc/rc.d .
%description -l pt_BR
-Chkconfig provê uma ferramenta simples na linha de comando
-para manter a hierarquia de diretórios /etc/rc.d, aliviando os
-administradores do sistema da manipulação direta de numerosos
-links simbólicos.
+Chkconfig provê uma ferramenta simples na linha de comando para manter
+a hierarquia de diretórios /etc/rc.d, aliviando os administradores do
+sistema da manipulação direta de numerosos links simbólicos.
%description -l tr
-Saðladýðý basit bir komut satýrý programý yardýmýyla, /etc/rc.d dizinlerinin
-yapýsýyla ilgilenerek sistem yöneticilerinin bu dizinlerde bulunan çok
-sayýdaki simgesel baðlantýyý düzenleme iþini hafifletir.
+Saðladýðý basit bir komut satýrý programý yardýmýyla, /etc/rc.d
+dizinlerinin yapýsýyla ilgilenerek sistem yöneticilerinin bu
+dizinlerde bulunan çok sayýdaki simgesel baðlantýyý düzenleme iþini
+hafifletir.
%package -n ntsysv
Summary: Full-screen interface for configurating runlevel information
-Summary(pt_BR): Interface com menus para configuração de informações de níveis de execução
-Group: Utilities/System
-Group(pt_BR): Utilitários/Sistema
-Group(pl): Narzêdzia/System
+Summary(pl): Pe³noekranowy interfejs do wybierania dzia³aj±cych us³ug systemowych
+Summary(pt): Interface com menus para configuração de informações de níveis de execução
+Group: Applications/System
+Group(de): Applikationen/System
+Group(pl): Aplikacje/System
+Group(pt): Utilitários/Sistema
Requires: %{name} = %{version}
%description -n ntsysv
-ntsysv provides a full-screen tool for updating the /etc/rc.d directory
-hierarchy, which controls the starting and stopping of system services.
+ntsysv provides a full-screen tool for updating the /etc/rc.d
+directory hierarchy, which controls the starting and stopping of
+system services.
%description -l pl -n ntsysv
ntsysv udostêpnia pe³noekranowe narzêdzie do aktualizowania zawarto¶ci
terminação de serviços do sistema.
%prep
-%setup -q
-%patch -p1
-
-install %{SOURCE1} po/pl.po
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
%build
LIBMHACK=-lm
%endif
-make \
- OPTIMIZE="$RPM_OPT_FLAGS" \
+%{__make} \
+ OPTIMIZE="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
+ LDFLAGS="%{!?debug:-s}" \
LIBMHACK="$LIBMHACK"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/rc.d/{init,rc{0,1,2,3,4,5,6}}.d
-make instroot=$RPM_BUILD_ROOT install
+%{__make} install \
+ instroot=$RPM_BUILD_ROOT
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man8/*
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) /sbin/chkconfig
-
-%lang(cs) /usr/share/locale/cs/LC_MESSAGES/chkconfig.mo
-%lang(da) /usr/share/locale/da/LC_MESSAGES/chkconfig.mo
-%lang(de) /usr/share/locale/de/LC_MESSAGES/chkconfig.mo
-%lang(en_RN) /usr/share/locale/en_RN/LC_MESSAGES/chkconfig.mo
-%lang(et) /usr/share/locale/et/LC_MESSAGES/chkconfig.mo
-%lang(fi) /usr/share/locale/fi/LC_MESSAGES/chkconfig.mo
-%lang(fr) /usr/share/locale/fr/LC_MESSAGES/chkconfig.mo
-%lang(hu) /usr/share/locale/hu/LC_MESSAGES/chkconfig.mo
-%lang(in) /usr/share/locale/in/LC_MESSAGES/chkconfig.mo
-%lang(in_ID) /usr/share/locale/in_ID/LC_MESSAGES/chkconfig.mo
-%lang(no) /usr/share/locale/no/LC_MESSAGES/chkconfig.mo
-%lang(pl) /usr/share/locale/pl/LC_MESSAGES/chkconfig.mo
-%lang(pt_BR) /usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo
-%lang(ro) /usr/share/locale/ro/LC_MESSAGES/chkconfig.mo
-%lang(ru) /usr/share/locale/ru/LC_MESSAGES/chkconfig.mo
-%lang(sk) /usr/share/locale/sk/LC_MESSAGES/chkconfig.mo
-%lang(sr) /usr/share/locale/sr/LC_MESSAGES/chkconfig.mo
-%lang(tr) /usr/share/locale/tr/LC_MESSAGES/chkconfig.mo
-
-/usr/man/man8/chkconfig.8*
-
-%dir /etc/rc.d
-%dir /etc/rc.d/*
+%{_mandir}/man8/chkconfig.8*
%files -n ntsysv
%defattr(644,root,root,755)
-%attr(755,root,root) /usr/sbin/ntsysv
-/usr/man/man8/ntsysv.8*
-
-%changelog
-* Wed Apr 21 1999 Piotr Czerwiñski <pius@pld.org.pl>
- [1.0.5-1]
-- updated to 1.0.5,
-- removed man group from man pages,
-- added %defattr description in %files -n ntsysv,
-- replacements in %files,
-- added gzipping man pages,
-- added %dir macros,
-- fixed Requires in ntsysv,
-- cosmetic changes,
-- recompiled on rpm 3.
-
-* Tue Jan 26 1999 Micha³ Kuratczyk <kurkens@polbox.com>
- [0.9.5-3]
-- fixed pl translation,
-- added "Group(pl)",
-- cosmetics changes in %%files.
-
-* Thu Oct 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [0.9.5-2]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added %lang macros for files /usr/share/locale/*/LC_MESSAGES/chkconfig.mo
-- added pl translation,
-- fiew simplification in %files and %install,
-- added "Requires: chkconfig = %%{version}" for ntsysv,
-- added full %attr description in %files.
-
-* Thu Oct 08 1998 Cristian Gafton <gafton@redhat.com>
-- updated czech translation (and use cs instead of cz)
-
-* Tue Sep 22 1998 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
-- added pt_BR translations
-- added more translatable strings
-- support for i18n init.d scripts description
-
-* Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
-- built against newt 0.30
-- split ntsysv into a separate package
-
-* Thu May 07 1998 Erik Troan <ewt@redhat.com>
-- added numerous translations
-
-* Mon Mar 23 1998 Erik Troan <ewt@redhat.com>
-- added i18n support
-
-* Sun Mar 22 1998 Erik Troan <ewt@redhat.com>
-- added --back
+%attr(755,root,root) %{_sbindir}/ntsysv
+%{_mandir}/man8/ntsysv.8*