From 1a9c4de1324e0b41b52509ce76c568cbc4df89e5 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 13 May 2007 18:55:39 +0000 Subject: [PATCH] - simplified build/install Changed files: espeak.spec -> 1.26 --- espeak.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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) -- 2.43.0