]> git.pld-linux.org Git - packages/gdome2.git/commitdiff
- added bcond_without static_libs auto/ti/gdome2-0_8_1-8
authorwitekfl <witekfl@pld-linux.org>
Fri, 7 Sep 2007 17:43:07 +0000 (17:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdome2.spec -> 1.29

gdome2.spec

index 6cc8bf12bd87d9dd17547b9edf14ef447fa9e2fc..417ec77562e23fdcc6fd1d22db3048112c64c347 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+#
 Summary:       DOM level2 library for accessing XML files
 Summary(pl.UTF-8):     Biblioteka dostępu do plików XML, DOM poziom 2
 Name:          gdome2
@@ -126,7 +130,8 @@ echo 'AM_DEFUN([AM_PATH_GLIB], [$3])' >> acinclude.m4
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -159,6 +164,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_aclocaldir}/%{name}.m4
 %{_pkgconfigdir}/%{name}.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
This page took 0.104018 seconds and 4 git commands to generate.