]> git.pld-linux.org Git - packages/al.git/commitdiff
- up to 0.9.3
authortwittner <twittner@pld-linux.org>
Thu, 13 Oct 2005 22:54:14 +0000 (22:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    al.spec -> 1.8

al.spec

diff --git a/al.spec b/al.spec
index 1d27170fe620b62a64c72e188842469511b09e8f..10a016fc08d451750f9ce12a1c85530e05b71a95 100644 (file)
--- a/al.spec
+++ b/al.spec
@@ -1,17 +1,18 @@
 #
 # Conditional build:
 #
 # Conditional build:
-%bcond_with    tests   # perform "make check" (segfaults after tests)
+%bcond_without  static_libs    # don't build static libraries
+%bcond_with    tests           # perform "make check" (segfaults after tests)
 #
 Summary:       OSSP al - Assembly Line
 Summary(pl):   OSSP al - biblioteka Assembly Line ("linii monta¿owej")
 Name:          al
 #
 Summary:       OSSP al - Assembly Line
 Summary(pl):   OSSP al - biblioteka Assembly Line ("linii monta¿owej")
 Name:          al
-Version:       0.9.1
-Release:       0.3
+Version:       0.9.3
+Release:       0.1
 Epoch:         0
 License:       distributable (see README)
 Group:         Libraries
 Source0:       ftp://ftp.ossp.org/pkg/lib/al/%{name}-%{version}.tar.gz
 Epoch:         0
 License:       distributable (see README)
 Group:         Libraries
 Source0:       ftp://ftp.ossp.org/pkg/lib/al/%{name}-%{version}.tar.gz
-# Source0-md5: eba90e56fe7248466b66306a65868ae7
+# Source0-md5: ef943a29d1fb89ed4fd5556844cbc542
 Patch0:                %{name}-ac.patch
 URL:           http://www.ossp.org/pkg/lib/al/
 BuildRequires: autoconf
 Patch0:                %{name}-ac.patch
 URL:           http://www.ossp.org/pkg/lib/al/
 BuildRequires: autoconf
@@ -74,7 +75,8 @@ mv -f aclocal.m4 acinclude.m4
 %{__autoconf}
 %configure \
        %{?debug:--enable-debug} \
 %{__autoconf}
 %configure \
        %{?debug:--enable-debug} \
-       --with-ex
+       --with-ex \
+       --enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
 %{__make}
 
 %{?with_tests:%{__make} check}
 %{__make}
 
 %{?with_tests:%{__make} check}
@@ -104,6 +106,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*
 %{_mandir}/man3/*
 
 %{_includedir}/*
 %{_mandir}/man3/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.a
 %files static
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.a
+%endif
This page took 0.063621 seconds and 4 git commands to generate.