]> git.pld-linux.org Git - packages/glibmm.git/commitdiff
- added bcond_without static
authorwitekfl <witekfl@pld-linux.org>
Wed, 15 Jun 2005 15:42:35 +0000 (15:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibmm.spec -> 1.27

glibmm.spec

index c131c125f343ca8bfea22555f0f962be194c75fb..f01384f4b0915e7bde111cc3bf82cc9ead5f0aa0 100644 (file)
@@ -1,3 +1,4 @@
+%bcond_without static  # don't build static library
 Summary:       A C++ interface for glib library
 Summary(pl):   Interfejs C++ dla biblioteki glib
 Name:          glibmm
@@ -75,7 +76,8 @@ Statyczna biblioteka glibmm.
 %{__automake}
 %configure \
        --enable-fulldocs \
-       --enable-static
+       --enable-static \
+       %{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -117,6 +119,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_gtkdocdir}/%{name}-2.4
 %{_examplesdir}/%{name}-%{version}
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
This page took 0.079239 seconds and 4 git commands to generate.