]> git.pld-linux.org Git - packages/fsplib.git/commitdiff
- added bcond without static_libs
authorwitekfl <witekfl@pld-linux.org>
Tue, 14 Jun 2005 14:14:56 +0000 (14:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fsplib.spec -> 1.5

fsplib.spec

index 029f7f678101357860e8284ac02ef82be4f878c8..c2cb4e5f6abd9c6c020bbe39a8da18b696cf4b57 100644 (file)
@@ -1,3 +1,4 @@
+%bcond_without static_libs     # don't build static library
 Summary:       fsp library
 Summary(pl):   Biblioteka fsp
 Name:          fsplib
@@ -66,7 +67,8 @@ autoreconf -i
 %{__autoconf}
 %{__automake}
 %configure \
-       --enable-shared
+       --enable-shared \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -92,6 +94,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.la
 %{_includedir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
This page took 0.10778 seconds and 4 git commands to generate.