From f50fb0ea8f165abfc8641007d078eb23c209153d Mon Sep 17 00:00:00 2001 From: witekfl Date: Wed, 15 Jun 2005 19:59:53 +0000 Subject: [PATCH] - added bcond_without static_libs Changed files: libdv.spec -> 1.34 --- libdv.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libdv.spec b/libdv.spec index dd666ae..8b25781 100644 --- a/libdv.spec +++ b/libdv.spec @@ -2,6 +2,7 @@ # Conditional build: %bcond_without gui # don't build gui stuff %bcond_with mmx # use MMX asm (won't run on non-MMX CPU!) +%bcond_without static_libs # don't build static library # %ifarch athlon pentium3 pentium4 %{x8664} %define with_mmx 1 @@ -93,7 +94,8 @@ Statyczna wersja biblioteki libdv. --disable-gtk \ %endif --without-debug \ - %{!?with_mmx:--disable-asm} + %{!?with_mmx:--disable-asm} \ + %{!?with_static_libs:--disable-static} %{__make} @@ -129,6 +131,8 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/libdv %{_pkgconfigdir}/* +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/lib*.a +%endif -- 2.44.0