]> git.pld-linux.org Git - packages/at-spi.git/commitdiff
- added bcond_without static_libs
authorwitekfl <witekfl@pld-linux.org>
Thu, 16 Jun 2005 14:29:25 +0000 (14:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    at-spi.spec -> 1.57

at-spi.spec

index 27ed68d3fcf8d1333d3b12932bf8310a8f87aa91..91b3c024fa8c81d5a6b0d769e161300075f2f75a 100644 (file)
@@ -1,3 +1,6 @@
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       Assistive Technology Service Provider Interface
 Summary(pl):   Interfejs pozwalaj±cy na korzystanie z urz±dzeñ wspomagaj±cych
 Name:          at-spi
@@ -80,7 +83,8 @@ Statyczna biblioteka at-spi.
 %configure \
        --enable-static \
        --enable-gtk-doc \
-       --with-html-dir=%{_gtkdocdir}
+       --with-html-dir=%{_gtkdocdir} \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -116,6 +120,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_gtkdocdir}/*
 %{_pkgconfigdir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
This page took 0.036869 seconds and 4 git commands to generate.