SPECS: espeak.spec - simplified build/install

qboosh qboosh at pld-linux.org
Sun May 13 20:55:44 CEST 2007


Author: qboosh                       Date: Sun May 13 18:55:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- simplified build/install

---- Files affected:
SPECS:
   espeak.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/espeak.spec
diff -u SPECS/espeak.spec:1.25 SPECS/espeak.spec:1.26
--- SPECS/espeak.spec:1.25	Sun May 13 20:51:35 2007
+++ SPECS/espeak.spec	Sun May 13 20:55:39 2007
@@ -119,24 +119,22 @@
 rm -f src/portaudio{18,19,}.h
 
 %build
-cd src
-%{__make} \
+%{__make} -C src \
 	CXX="%{__cxx}" \
 	CXXFLAGS="%{rpmcxxflags}" \
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-cd src
-%{__make} install \
+%{__make} -C src install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	LIBDIR="%{_libdir}"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -272,8 +270,8 @@
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/*
 %attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*
 
 %files static
 %defattr(644,root,root,755)
@@ -285,6 +283,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2007/05/13 18:55:39  qboosh
+- simplified build/install
+
 Revision 1.25  2007/05/13 18:51:35  twittner
 - try to fix '/usr/lib/libespeak.so.1 is needed by espeak-devel-1.24-1'
 - rel. 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/espeak.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list