]> git.pld-linux.org Git - packages/dar.git/commitdiff
- added bcond_without static_libs
authortwittner <twittner@pld-linux.org>
Thu, 16 Jun 2005 21:08:46 +0000 (21:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dar.spec -> 1.49

dar.spec

index 62345cf55211fe8b83ca8d926b0e3888067322e6..23e3de8d92e243c1c41420f27608aa5905a099a6 100644 (file)
--- a/dar.spec
+++ b/dar.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without ea              # build without support for linux extented attributes
 %bcond_without static          # build without dar_static
+%bcond_without static_libs     # don't build static libraries
 #
 Summary:       dar makes backup of a directory tree and files
 Summary(pl):   dar - narzêdzie do tworzenia kopii zapasowych drzew katalogów i plików
@@ -237,6 +238,7 @@ Statyczna wersja biblioteki dar.
 %configure \
        %{!?with_ea:--disable-ea-support} \
        %{!?with_static:--disable-dar-static} \
+       %{!?with_static_libs:--disable-static} \
        --enable-mode=64 \
        --disable-upx
 %{__make}
@@ -283,6 +285,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /bin/*
 %endif
 
+%if %{with static_libs}
 %files libs-static
 %defattr(644,root,root,755)
 %{_libdir}/libdar64.a
+%endif
This page took 0.061412 seconds and 4 git commands to generate.