+# TODO:
+# - update add,noxinet,pl.po-update patches
+# - optflags
Summary: Updates and queries runlevel information for system services
Summary(de): Aktualisiert runlevel-Informationen für Systemdienste und fragt diese ab
Summary(es): Herramienta para actualizar y listar servicios del sistema, por nivel de ejecución (runlevel)
#Patch0: %{name}-add.patch
#Patch1: %{name}-noxinet.patch
#Patch2: %{name}-pl.po-update.patch
-#Patch3: %{name}-ponames.patch
-#Patch4: %{name}-link.patch
-#Patch5: %{name}-more_readable.patch
+Patch5: %{name}-more_readable.patch
Patch6: %{name}-rc.d.patch
Patch7: %{name}-nostatic.patch
#BuildRequires: autoconf
%package -n alternatives
Summary: Maintain symbolic links determining default commands
+Summary(pl): 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
+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-dependencies script.
+it is intended to be a drop in replacement for Debian's
+update-alternatives script.
+
+%description -n alternatives -l pl
+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
#%patch2 -p1
#%patch3 -p1
#%patch4 -p1
-#%patch5 -p1
+%patch5 -p1
%patch6 -p1
%patch7 -p1
%configure \
--with-max-level=6
%endif
-%{__make} CC="%{__cc}"
+%{__make} \
+ CC="%{__cc}"
%install
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) /sbin/chkconfig
%{_mandir}/man8/chkconfig.8*
-%attr(644,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
%files -n ntsysv
%defattr(644,root,root,755)