]> git.pld-linux.org Git - packages/ex.git/blobdiff - ex.spec
- up to 1.0.5
[packages/ex.git] / ex.spec
diff --git a/ex.spec b/ex.spec
index 374ca251c4126569324f886a2e619e245243e043..bd40a5e80e2d9a6f64c0d9b8e5796c79ce7bc4dd 100644 (file)
--- a/ex.spec
+++ b/ex.spec
@@ -1,17 +1,18 @@
 #
 # Conditional build:
-%bcond_without tests   # don't perform "make check"
+%bcond_without  static_libs # don't build static libraries
+%bcond_without tests # don't perform "make check"
 #
 Summary:       OSSP ex - Exception Handling
 Summary(pl):   OSSP ex - biblioteka obs³ugi wyj±tków
 Name:          ex
-Version:       1.0.4
-Release:       0.2
+Version:       1.0.5
+Release:       0.1
 Epoch:         0
 License:       distributable (see README)
 Group:         Libraries
 Source0:       ftp://ftp.ossp.org/pkg/lib/ex/%{name}-%{version}.tar.gz
-# Source0-md5: 9054e4325e5e182b2105566d9d02732d        
+# Source0-md5: 419f0915cb578f9eb3bfc483bc49f066
 Patch0:                %{name}-libs.patch
 URL:           http://www.ossp.org/pkg/lib/ex/
 BuildRequires: autoconf
@@ -97,7 +98,8 @@ mv -f aclocal.m4 acinclude.m4
 %{__aclocal}
 %{__autoconf}
 
-%configure
+%configure \
+       --enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
 %{__make}
 
 %{?with_tests:%{__make} check}
@@ -127,6 +129,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*
 %{_mandir}/man3/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.a
+%endif
This page took 0.0716 seconds and 4 git commands to generate.