-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): 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: 0.9.5
-Release: 3
-Copyright: GPL
-Group: Utilities/System
-Group(pt): Utilitários/Sistema
-Group(pl): Narzêdzia/System
-Source: ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz
-BuildRoot: /tmp/%{name}-%{version}-root
+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
+Name: chkconfig
+Version: 1.0.5
+Release: 1
+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
%description
chkconfig provides a simple command-line tool for maintaining the
sayýdaki simgesel baðlantýyý düzenleme iþini hafifletir.
%package -n ntsysv
-Summary: Full-screen interface for configurating runlevel information
-Summary(pt): Interface com menus para configuração de informações de níveis de execução
-Group: Utilities/System
-Group(pt): Utilitários/Sistema
-Group(pl): Narzêdzia/System
-Requires: chkconfig = %{version}
+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}
%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 -n ntsysv -l pl
+%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 -n ntsysv -l pt
+%description -l pt_BR -n ntsysv
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.
%prep
%setup -q
+%patch -p1
+
+install %{SOURCE1} po/pl.po
%build
LIBMHACK=-lm
%endif
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBMHACK=$LIBMHACK
+make \
+ OPTIMIZE="$RPM_OPT_FLAGS" \
+ LIBMHACK="$LIBMHACK"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/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
make instroot=$RPM_BUILD_ROOT install
+gzip -9nf $RPM_BUILD_ROOT/usr/man/man8/*
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(644, root, root, 755)
-%attr(755, root, root) /sbin/chkconfig
-%attr(644, root, man) /usr/man/man8/*
-/etc/rc.d
-%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(pt) /usr/share/locale/pt*/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
+%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/*
%files -n ntsysv
-%attr(755, root, root) /usr/sbin/ntsysv
-%attr(644, root, man) /usr/man/man8/*
+%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
+- 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]