]> git.pld-linux.org Git - packages/libdv.git/commitdiff
- added bcond_without static_libs auto/ac/libdv-0_104-1
authorwitekfl <witekfl@pld-linux.org>
Wed, 15 Jun 2005 19:59:53 +0000 (19:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libdv.spec -> 1.34

libdv.spec

index dd666ae6b172354514df24e79f1dc81c63df5cc5..8b257811cc52370630277f4d74e56f3d01d665c8 100644 (file)
@@ -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
This page took 0.240097 seconds and 4 git commands to generate.