]> git.pld-linux.org Git - packages/authconfig.git/blobdiff - authconfig.spec
- masive changes:
[packages/authconfig.git] / authconfig.spec
index 599f4395c13d686a71a99e8bb54bfcda0111c64e..19b470020f41e86dd851383ff68010311fc19fb2 100644 (file)
@@ -1,10 +1,11 @@
 Summary:       Text-mode tool for setting up NIS and shadow passwords.
 Name:          authconfig
 Version:       1.7
-Release:       2
+Release:       3
 Copyright:     GPL
 ExclusiveOS:   Linux
 Group:         Base
+Group(pl):     Podstawy
 Source:                %{name}-%{version}.tar.gz
 BuildPrereq:   newt-devel
 BuildPrereq:   popt-devel
@@ -20,13 +21,15 @@ also configures the system to automatically turn on NIS at system startup.
 %setup -q
 
 %build
-make
+make CFLAGS="-DVERSION=\"${VERSION}\" $RPM_OPT_FLAGS -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make INSTROOT=$RPM_BUILD_ROOT install
 
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man8/*
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
+
+mv $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/usr/share
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -34,13 +37,19 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %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
 
+%{_mandir}/man8/*
+
 %changelog
+* Fri May 14 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.7-3]
+- now package is FHS 2.0 compliant.
+
 * 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,
This page took 0.300829 seconds and 4 git commands to generate.