]> git.pld-linux.org Git - packages/epsilon.git/commitdiff
- bcond static_libs
authorKarol Krenski <charles@pld-linux.org>
Wed, 30 Nov 2005 14:00:55 +0000 (14:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    epsilon.spec -> 1.8

epsilon.spec

index 2a3a48284f282ffa68f4bd3c7fb1da2f2aa6e186..8ceb65d266fe58001f652d98d34647369a2c2a39 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       Enlightened Thumbnail Generator
 Summary(pl):   O¶wiecony generator miniaturek obrazów
 Name:          epsilon
@@ -85,7 +89,8 @@ Statyczna biblioteka Epsilon.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -116,6 +121,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libepsilon.la
 %{_includedir}/Epsilon.h
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libepsilon.a
+%endif
This page took 0.139591 seconds and 4 git commands to generate.