-Summary: Text-mode tool for setting up NIS and shadow passwords.
-Name: authconfig
-%define version 1.7
-Version: %{version}
-Release: 1
-Copyright: GPL
-ExclusiveOS: Linux
-Group: System Environment/Base
-BuildRoot: /var/tmp/%{name}-root
-Source: %{name}-%{version}.tar.gz
+Summary: Text-mode tool for setting up NIS and shadow passwords.
+Name: authconfig
+Version: 1.7
+Release: 2
+Copyright: GPL
+ExclusiveOS: Linux
+Group: Base
+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.
+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.
%prep
%setup -q
make
%install
+rm -rf $RPM_BUILD_ROOT
make INSTROOT=$RPM_BUILD_ROOT install
+gzip -9nf $RPM_BUILD_ROOT/usr/man/man8/*
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
-%attr(-,root,root)/usr/sbin/authconfig
-%attr(-,root,root)/usr/man/man8/authconfig.8
-#%attr(-,root,root)/usr/share/locale/*/LC_MESSAGES/authconfig.mo
+%defattr(644,root,root,755)
+%attr(755,root,root) /usr/sbin/authconfig
+/usr/man/man8/*
+%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
%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