X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=chkconfig.spec;h=fcbadc6bf65343236bfeff5722c55fd5b1436b21;hb=fa0ab2b16abfe74583177e9f7c59e637745f996e;hp=b0c33d673775eb15d2cff6395b692ed5fa91b2a4;hpb=5c8cc5f6ade973ecc64ffe64723cd51a6b2b0378;p=packages%2Fchkconfig.git diff --git a/chkconfig.spec b/chkconfig.spec index b0c33d6..fcbadc6 100644 --- a/chkconfig.spec +++ b/chkconfig.spec @@ -1,176 +1,209 @@ Summary: Updates and queries runlevel information for system services -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(tr): Sistem servis bilgilerini sorgular ve yeniler +Summary(de.UTF-8): Aktualisiert runlevel-Informationen für Systemdienste und fragt diese ab +Summary(es.UTF-8): Herramienta para actualizar y listar servicios del sistema, por nivel de ejecución (runlevel) +Summary(fr.UTF-8): Mises à jour et interrogations des services systèmes +Summary(ja.UTF-8): /etc/rc.d の階層をメンテナンスするためのシステムツール +Summary(pl.UTF-8): Narzędzie do aktualizacji i odpytywania o informacje nt serwisów systemowych +Summary(pt.UTF-8): Ferramenta para atualizar e listar serviços do sistema, pelo nível de execução (runlevel) +Summary(ru.UTF-8): Системная утилита для управления иерархией /etc/rc.d +Summary(tr.UTF-8): Sistem servis bilgilerini sorgular ve yeniler +Summary(uk.UTF-8): Системна утиліта для керування ієрархією /etc/rc.d Name: chkconfig -Version: 1.0.5 -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 +Version: 1.3.58 +Release: 1 +Epoch: 2 +License: GPL v2 +Group: Applications/System +Source0: http://fedorahosted.org/releases/c/h/chkconfig/%{name}-%{version}.tar.bz2 +# Source0-md5: c2039ca67f2749fe0c06ef7c6f8ee246 +Patch0: %{name}-add.patch +Patch1: %{name}-noxinet.patch +Patch2: %{name}-rc.d.patch +Patch3: %{name}-optflags.patch +Patch4: %{name}-pl.patch +BuildRequires: gettext-devel +BuildRequires: newt-devel +BuildRequires: popt-devel +Requires: rc-scripts +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 +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 +%description -l de.UTF-8 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 -hiérarchie du répertoire /etc/rc.d tout en évitant aux administrateurs -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 +%description -l es.UTF-8 +Chkconfig provee una herramienta sencilla en la línea de comando para +mantener la jerarquía de directorios /etc/rc.d, atenuando los +administradores del sistema del manejo directo de numerosos links +simbólicos. -%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. - -%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. +%description -l fr.UTF-8 +chkconfig offre un outil simple en ligne de commande pour maintenir la +hiérarchie du répertoire /etc/rc.d tout en évitant aux administrateurs +système de manipuler les différents liens symbolique de ce répertoire. + +%description -l ja.UTF-8 +chkconfig +は基本的なシステムユーティリティである。これはシステムサービスの +runlevel の情報をアップデートや検証する。chkconfig は /etc/rc.d の +多数のシンボリックリンクを操作しますので、システム管理者は手動で +シンボリックリンクをたびたびエディットしなくてもよい。 + +%description -l pl.UTF-8 +Pakiet chkconfig udostępnia proste narzędzia do zarządzania +zawartością katalogów w /etc/rc.d . + +%description -l pt_BR.UTF-8 +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 ru.UTF-8 +chkconfig - это простая утилита командной строки, предназначенная для +управления иерархией /etc/rc.d, освобождающая системного +администратора от необходимости вручную создавать/удалять +многочисленные симлинки в этом каталоге. + +%description -l tr.UTF-8 +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. + +%description -l uk.UTF-8 +chkconfig - це проста утиліта командного рядка, призначена для +керування ієрархією /etc/rc.d, яка звільняє системного адміністратора +від необхідності вручну створювати/видаляти численні символьні +посилання в цьому каталозі. %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 -Requires: %{name} = %{version} +Summary(es.UTF-8): Interface con menús para configuración de información de niveles de ejecución +Summary(ja.UTF-8): /etc/rc.d 階階層をメンテナンスするシステムツール +Summary(pl.UTF-8): Pełnoekranowy interfejs do wybierania działających usług systemowych +Summary(pt.UTF-8): Interface com menus para configuração de informações de níveis de execução +Summary(ru.UTF-8): Полноэкранный интерфейс для настройки уровней исполнения +Summary(uk.UTF-8): Повноекранний інтерфейс для налагодження рівнів виконання +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} %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. - -%description -l pl -n ntsysv -ntsysv udostêpnia pe³noekranowe narzêdzie do aktualizowania zawarto¶ci -katalogów w /etc/rc.d, które kontroluj± startowanie i stopowanie -poszczególnych serwisów systemowych. - -%description -l pt_BR -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. + +%description -n ntsysv -l es.UTF-8 +ntsysv ofrece una herramienta basada en menús para actualizar la +jerarquía de directorios /etc/rc.d, que controla el arranque y el +cierre de servicios del sistema. + +%description -n ntsysv -l ja.UTF-8 +ntsysv はシステムサービスの runlevel の情報をアップデートや検証する。 +ntsysv は システム管理者が直接/etc/rc.d の多数のシンボリックリンクを +操作することから解放する。 + +%description -n ntsysv -l pl.UTF-8 +ntsysv udostępnia pełnoekranowe narzędzie do aktualizowania zawartości +katalogów w /etc/rc.d, które kontrolują włączanie i wyłączanie +poszczególnych serwisów systemowych. + +%description -n ntsysv -l pt_BR.UTF-8 O ntsysv fornece uma ferramenta baseada em menus para atualizar a -hierarquia de diretórios /etc/rc.d, que controla a inicialização e a -terminação de serviços do sistema. +hierarquia de diretórios /etc/rc.d, que controla a inicialização e a +terminação de serviços do sistema. + +%description -n ntsysv -l ru.UTF-8 +ntsysv - это полноэкранная утилита для обновления и изменения иерархии +каталогов /etc/rc.d, которые управляют запуском и остановкой системных +сервисов. + +%description -n ntsysv -l uk.UTF-8 +ntsysv - це повноекранна утиліта для оновлення та зміни ієрархії +каталогів /etc/rc.d, котрі керують запуском та зупинкою системних +сервісів. + +%package -n alternatives +Summary: Maintain symbolic links determining default commands +Summary(pl.UTF-8): Utrzymywanie dowiązań symbolicznych określających domyślne polecenia +Group: Applications/System + +%description -n alternatives +alternatives creates, removes, maintains and displays information +about the symbolic links comprising the alternatives system. The +alternatives system is a reimplementation of the Debian alternatives +system. It was rewritten primarily to remove the dependence on Perl; +it is intended to be a drop in replacement for Debian's +update-alternatives script. + +%description -n alternatives -l pl.UTF-8 +alternatives tworzy, usuwa, utrzymuje i wyświetla informacje o +dowiązaniach symbolicznych obejmujących system alternatyw. System +alternatyw to reimplementacja systemu alternatyw ("alternatives") z +Debiana. Została napisana głównie w celu usunięcia zależności od +Perla; ma być zamiennikiem skryptu update-alternatives z Debiana. %prep %setup -q -%patch -p1 - -install %{SOURCE1} po/pl.po +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build - -%ifarch sparc -LIBMHACK=-lm -%endif - -make \ - OPTIMIZE="$RPM_OPT_FLAGS" \ - LIBMHACK="$LIBMHACK" +%{__make} \ + CC="%{__cc}" \ + OPTFLAGS="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/rc.d/{init,rc{0,1,2,3,4,5,6}}.d +install -d $RPM_BUILD_ROOT{/etc/{rc.d/{init,rc{0,1,2,3,4,5,6}}.d,env.d},/sbin} + +%{__make} install \ + MANDIR=%{_mandir} \ + DESTDIR=$RPM_BUILD_ROOT -make instroot=$RPM_BUILD_ROOT install +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/bal -gzip -9nf $RPM_BUILD_ROOT/usr/man/man8/* +%find_lang %{name} + +cat < $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_ON +# display custom string instead of "on" (or its translation) +#CHKCONFIG_ON="*****" +EOF +cat < $RPM_BUILD_ROOT/etc/env.d/CHKCONFIG_OFF +# display custom string instead of "off" (or its translation) +#CHKCONFIG_OFF="-----" +EOF %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(de) /usr/share/locale/de/LC_MESSAGES/chkconfig.mo -%lang(en) /usr/share/locale/en*/LC_MESSAGES/chkconfig.mo -%lang(fr) /usr/share/locale/fr/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(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* +%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/* %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 - [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 - [0.9.5-3] -- fixed pl translation, -- added "Group(pl)", -- cosmetics changes in %%files. - -* Thu Oct 15 1998 Tomasz K³oczko - [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 -- updated czech translation (and use cs instead of cz) - -* Tue Sep 22 1998 Arnaldo Carvalho de Melo -- added pt_BR translations -- added more translatable strings -- support for i18n init.d scripts description - -* Sun Aug 02 1998 Erik Troan -- built against newt 0.30 -- split ntsysv into a separate package - -* Thu May 07 1998 Erik Troan -- added numerous translations - -* Mon Mar 23 1998 Erik Troan -- added i18n support - -* Sun Mar 22 1998 Erik Troan -- added --back +%attr(755,root,root) %{_sbindir}/ntsysv +%{_mandir}/man8/ntsysv.8* + +%files -n alternatives +%defattr(644,root,root,755) +%dir %{_sysconfdir}/alternatives +%attr(755,root,root) %{_sbindir}/alternatives +%attr(755,root,root) %{_sbindir}/update-alternatives +%dir /var/lib/alternatives +%{_mandir}/man8/alternatives.8* +%{_mandir}/man8/update-alternatives.8*