From: Jakub Bogusz Date: Sun, 13 May 2007 18:55:39 +0000 (+0000) Subject: - simplified build/install X-Git-Tag: auto/th/espeak-1_25-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fespeak.git;a=commitdiff_plain;h=1a9c4de1324e0b41b52509ce76c568cbc4df89e5 - simplified build/install Changed files: espeak.spec -> 1.26 --- diff --git a/espeak.spec b/espeak.spec index ff7d3c8..d81edb9 100644 --- a/espeak.spec +++ b/espeak.spec @@ -118,24 +118,22 @@ eSpeak - biblioteki statyczne. 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) @@ -271,8 +269,8 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(644,root,root,755) -%{_includedir}/* %attr(755,root,root) %{_libdir}/lib*.so +%{_includedir}/* %files static %defattr(644,root,root,755)