SPECS: wireless-tools.spec - make cleanup, avoid recompiling on in...

qboosh qboosh at pld-linux.org
Thu Jun 14 22:56:48 CEST 2007


Author: qboosh                       Date: Thu Jun 14 20:56:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make cleanup, avoid recompiling on install
- install cs and fr manuals

---- Files affected:
SPECS:
   wireless-tools.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/wireless-tools.spec
diff -u SPECS/wireless-tools.spec:1.40 SPECS/wireless-tools.spec:1.41
--- SPECS/wireless-tools.spec:1.40	Thu Jun 14 21:04:59 2007
+++ SPECS/wireless-tools.spec	Thu Jun 14 22:56:43 2007
@@ -84,15 +84,10 @@
 %build
 %{__make} \
 	CC="%{__cc}" \
-	OPT="%{rpmcflags}" \
-	KERNEL_SRC=%{_kernelsrcdir} \
 	OPTFLAGS="%{rpmcflags}"
 
-sed -i -e 's#.*BUILD_STATIC = y#BUILD_STATIC = y#g' Makefile
 %{__make} libiw.a \
 	CC="%{__cc}" \
-	OPT="%{rpmcflags}" \
-	KERNEL_SRC=%{_kernelsrcdir} \
 	OPTFLAGS="%{rpmcflags}"
 
 %install
@@ -105,17 +100,27 @@
 	INSTALL_INC=$RPM_BUILD_ROOT%{_includedir} \
 	INSTALL_MAN=$RPM_BUILD_ROOT%{_mandir}
 
+install -d $RPM_BUILD_ROOT%{_mandir}/{cs,fr}/man{5,7,8}
+install cs/*.5 $RPM_BUILD_ROOT%{_mandir}/cs/man5
+install cs/*.7 $RPM_BUILD_ROOT%{_mandir}/cs/man7
+install cs/*.8 $RPM_BUILD_ROOT%{_mandir}/cs/man8
+install fr/*.5 $RPM_BUILD_ROOT%{_mandir}/fr/man5
+install fr/*.7 $RPM_BUILD_ROOT%{_mandir}/fr/man7
+install fr/*.8 $RPM_BUILD_ROOT%{_mandir}/fr/man8
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -n libiw -p /sbin/ldconfig
-%postun -n libiw -p /sbin/ldconfig
+%post	-n libiw -p /sbin/ldconfig
+%postun	-n libiw -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc READ* INSTA* PCM*
 %attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man?/*
+%{_mandir}/man[578]/*
+%lang(cs) %{_mandir}/cs/man[578]/*
+%lang(fr) %{_mandir}/fr/man[578]/*
 
 %files -n libiw
 %defattr(644,root,root,755)
@@ -136,6 +141,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2007/06/14 20:56:43  qboosh
+- make cleanup, avoid recompiling on install
+- install cs and fr manuals
+
 Revision 1.40  2007/06/14 19:04:59  arekm
 - up to pre21
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/wireless-tools.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list