]> git.pld-linux.org Git - packages/authconfig.git/blobdiff - authconfig.spec
- added using %%{__make} macro.
[packages/authconfig.git] / authconfig.spec
index 350e1a9a168c288d240bf61f1350bd6c5a8088e0..8e4882f22b1bded4505876475423f472af8e092e 100644 (file)
@@ -1,81 +1,57 @@
-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.
+Summary(de):   Textmodus-Tool, um NIS und shadow-Passwoerter zu konfigurieren
+Summary(pl):   Narzêdzie do ustawiania przes³oniêtych hase³ oraz NIS.
+Name:          authconfig
+Version:       2.0
+Release:       3
+License:       GPL
+ExclusiveOS:   Linux
+Group:         Base
+Group(pl):     Podstawowe
+Source0:       %{name}-%{version}.tar.gz
+Patch0:                authconfig-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.
+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 pl
+Authconfig jest terminalowym programem dla ustawiania NIS (Network
+Information Service) oraz przes³onietych (bardziej bezpiecznych) hase³
+w Twoim systemie. Authconfig dodatkowo konfiguruje system tak by NIS
+by³ aktywowany przy starcie systemu.
 
 %prep
 %setup -q
+%patch -p1
 
 %build
-make
+%{__make} CFLAGS="-DVERSION=\"${VERSION}\" $RPM_OPT_FLAGS -Wall"
 
 %install
-make INSTROOT=$RPM_BUILD_ROOT install
-
-%clean
 rm -rf $RPM_BUILD_ROOT
+%{__make} INSTROOT=$RPM_BUILD_ROOT install
 
-%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
-
-%changelog
-* 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
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
 
-* Tue Mar 09 1999 Preston Brown <pbrown@redhat.com>
-- static buffer sizes increased.
+%find_lang %{name}
 
-* 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
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-* Wed Feb 03 1999 Preston Brown <pbrown@redhat.com>
-- initial spec file
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/authconfig
+%{_mandir}/man8/*
This page took 0.069926 seconds and 4 git commands to generate.