-Summary: Text-mode tool for setting up NIS and shadow passwords.
+Summary: Text-mode tool for setting up NIS and shadow passwords
+Summary(de): Textmodus-Tool, um NIS und shadow-Passwoerter zu konfigurieren
+Summary(es): Herramienta de interfaz texto para configuración de contraseñas shadow y NIS
+Summary(ja): NIS ¤È¥·¥ã¥É¡¼¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤹ¤ë¤¿¤á¤Î¥Æ¥¥¹¥È¥â¡¼¥É¤Î¥Ä¡¼¥ë¡£
+Summary(pl): Narzêdzie do ustawiania przes³oniêtych hase³ oraz NIS
+Summary(pt_BR): Ferramenta de interface texto para configuração de senhas shadow e NIS
+Summary(ru): õÔÉÌÉÔÁ ÔÅËÓÔÏ×ÏÇÏ ÒÅÖÉÍÁ ÄÌÑ ÎÁÓÔÒÏÊËÉ shadow É NIS-ÐÁÒÏÌÅÊ
+Summary(uk): õÔÉ̦ÔÁ ÔÅËÓÔÏ×ÏÇÏ ÒÅÖÉÍÕ ÄÌÑ ÎÁÌÁÇÏÄÖÅÎÎÑ shadow ÔÁ NIS-ÐÁÒÏ̦×
Name: authconfig
-Version: 1.7
-Release: 2
-Copyright: GPL
+Version: 2.0
+Release: 4
+License: GPL
ExclusiveOS: Linux
Group: Base
-Group(pl): Podstawy
-Source: %{name}-%{version}.tar.gz
-BuildPrereq: newt-devel
-BuildPrereq: popt-devel
-BuildPrereq: slang-devel
-BuildRoot: /tmp/%{name}-%{version}-root
-
-%description
-Authconfig is a terminal mode program for setting up Network Information
-Service (NIS) and shadow (more secure) passwords on your system. Authconfig
-also configures the system to automatically turn on NIS at system startup.
+Source0: %{name}-%{version}.tar.gz
+Patch0: %{name}-make.patch
+BuildRequires: newt-devel
+BuildRequires: popt-devel
+BuildRequires: slang-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Authconfig is a terminal mode program for setting up Network
+Information Service (NIS) and shadow (more secure) passwords on your
+system. Authconfig also configures the system to automatically turn on
+NIS at system startup.
+
+%description -l de
+Authconfig ist ein Textmodus-Programm, um Network
+Informations-Services (NIS) und Shadow (sicherere) Passwörter auf
+Ihren System zu konfigurieren. Authconfig kann außerdem anschalten,
+daß NIS beim Systemstart angeschaltet wird.
+
+%description -l es
+authconfig es un programa de interfaz de texto para configurar NIS y
+contraseñas shadow en el sistema. El programa authconfig también puede
+inicializar NIS cuando se arranca el sistema.
+
+%description -l ja
+authconfig ¤Ï¥·¥¹¥Æ¥à¤Ë Network Information Service (NIS) ¤È¥·¥ã¥É¡¼
+(¤è¤ê¥»¥¥å¥ê¥Æ¥£¡¼¤¬¹â¤¤)¥Ñ¥¹¥ï¡¼¥É¤Î¥»¥Ã¥Æ¥£¥ó¥°¤ò¤¹¤ëüËö¥â¡¼¥É¤Î
+¥×¥í¥°¥é¥à¤Ç¤¹¡£authconfig ¤Ï¤Þ¤¿¥·¥¹¥Æ¥àµ¯Æ°»þ¤Ë¼«Æ°Åª¤Ë NIS ¤ò
+¥ª¥ó¤Ë¤¹¤ë¤è¤¦¤Ë¥·¥¹¥Æ¥à¤òÀßÄê¤Ç¤¤Þ¤¹¡£
+
+%description -l pl
+Authconfig jest terminalowym programem dla ustawiania NIS (Network
+Information Service) oraz przes³oniêtych (bardziej bezpiecznych) hase³
+w Twoim systemie. Authconfig dodatkowo konfiguruje system tak by NIS
+by³ aktywowany przy starcie systemu.
+
+%description -l pt_BR
+O authconfig é um programa de interface texto para configurar o NIS e
+senhas shadow no seu sistema. O authconfig também pode inicializar o
+NIS no boot do sistema.
+
+%description -l ru
+Authconfig - ÜÔÏ ÔÅÒÍÉÎÁÌØÎÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÎÁÓÔÒÏÊËÉ Network
+Information Service (NIS) É shadow (ÂÏÌÅÅ ÂÅÚÏÐÁÓÎÙÈ) ÐÁÒÏÌÅÊ × ×ÁÛÅÊ
+ÓÉÓÔÅÍÅ. Authconfig ÔÁËÖÅ ÎÁÓÔÒÁÉ×ÁÅÔ ÓÉÓÔÅÍÕ ÎÁ Á×ÔÏÍÁÔÉÞÅÓËÉÊ ÚÁÐÕÓË
+NIS ÐÒÉ ÓÔÁÒÔÅ ÓÉÓÔÅÍÙ.
+
+%description -l uk
+Authconfig - ÃÅ ÔÅÒͦÎÁÌØÎÁ ÐÒÏÇÒÁÍÁ ÄÌÑ ÎÁÌÁÇÏÄÖÅÎÎÑ Network
+Information Service (NIS) ÔÁ shadow (¦ÌØÛ ÂÅÚÐÅÞÎÉÈ) ÐÁÒÏÌ¦× Õ ×ÁÛ¦Ê
+ÓÉÓÔÅͦ. Authconfig ÔÁËÏÖ ËÏÎƦÇÕÒÕ¤ ÓÉÓÔÅÍÕ ÄÌÑ Á×ÔÏÍÁÔÉÞÎÏÇÏ ÚÁÐÕÓËÕ
+NIS ÐÒÉ ÓÔÁÒÔ¦ ÓÉÓÔÅÍÉ.
%prep
%setup -q
+%patch -p1
%build
-make CFLAGS="-DVERSION=\"${VERSION}\" $RPM_OPT_FLAGS -Wall"
+%{__make} CFLAGS="-DVERSION=\"${VERSION}\" %{rpmcflags} -Wall"
%install
rm -rf $RPM_BUILD_ROOT
-make INSTROOT=$RPM_BUILD_ROOT install
+%{__make} INSTROOT=$RPM_BUILD_ROOT install
-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) /usr/sbin/authconfig
-
-%lang(hu) /usr/share/locale/hu/LC_MESSAGES/authconfig.mo
-%lang(in) /usr/share/locale/in/LC_MESSAGES/authconfig.mo
-%lang(no) /usr/share/locale/no/LC_MESSAGES/authconfig.mo
-%lang(sk) /usr/share/locale/sk/LC_MESSAGES/authconfig.mo
-
-/usr/man/man8/*
-
-%changelog
-* Wed Apr 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.7-2]
-- uncommented .mo files and added %lang macros for this files,
-- gzippen man page,
-- Group changed to Base,
-- added BuildPrereq rules,
-- added "rm -rf $RPM_BUILD_ROOT" on top %install.
-
-* Thu Apr 01 1999 Preston Brown <pbrown@redhat.com>
-- don't report errors about NIS fields not being filled in if not enabled
-
-* Fri Mar 26 1999 Preston Brown <pbrown@redhat.com>
-- fix typo
-- change domainname at nis start and stop
-
-* Tue Mar 23 1999 Preston Brown <pbrown@redhat.com>
-- fixed man page
-
-* Wed Mar 17 1999 Matt Wilson <msw@redhat.com>
-- fixed rewriting /etc/yp.conf
-- restarts ypbind so that new changes take effect
-
-* Mon Mar 15 1999 Matt Wilson <msw@redhat.com>
-- just make the NIS part of configuration grayed out if NIS is not installed
-
-* Tue Mar 09 1999 Preston Brown <pbrown@redhat.com>
-- static buffer sizes increased.
-
-* Tue Mar 9 1999 Matt Wilson <msw@redhat.com>
-- removed build opts because of problems on alpha
-
-* Mon Feb 8 1999 Matt Wilson <msw@redhat.com>
-- Don't rewrite ypbind.conf if you're not configuring NIS
-
-* Mon Feb 8 1999 Matt Wilson <msw@redhat.com>
-- Don't configure NIS if /etc/ypbind.conf does not exist.
-
-* Sat Feb 6 1999 Matt Wilson <msw@redhat.com>
-- changed "/sbin/chkconfig --add ypbind" to
- "/sbin/chkconfig --level 345 ypbind on"
-- added checks for null nis domains and servers if nis is enabled or if
- not using broadcast.
-- added newt entry filter for spaces in domains
-
-* Sat Feb 6 1999 Matt Wilson <msw@redhat.com>
-- changed command line options to match user interface
-- added --help
-
-* Thu Feb 4 1999 Matt Wilson <msw@redhat.com>
-- Rewrote UI to handle geometry management properly
-- MD5 passwords do not require shadow passwords, so made them independent
-
-* Wed Feb 03 1999 Preston Brown <pbrown@redhat.com>
-- initial spec file
+%attr(755,root,root) %{_sbindir}/authconfig
+%{_mandir}/man8/*