]> git.pld-linux.org Git - packages/alsa-lib.git/commitdiff
- up to 1.0.25 auto/th/alsa-lib-1_0_25-1 auto/ti/alsa-lib-1_0_25-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 27 Jan 2012 07:29:53 +0000 (07:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsa-lib.spec -> 1.159

alsa-lib.spec

index 3300c2d7c95019af799ce9494b7eaad2cd6c5d0e..7632c841b1e1df2f04a02ef02e5edf1cd54e1e3d 100644 (file)
@@ -12,12 +12,12 @@ Summary(pt_BR.UTF-8):       Biblioteca para o ALSA (Advanced Linux Sound Architecture)
 Summary(ru.UTF-8):     Библиотека API для работы с драйвером ALSA
 Summary(uk.UTF-8):     Бібліотека API для роботи з драйвером ALSA
 Name:          alsa-lib
-Version:       1.0.24.1
-Release:       2
+Version:       1.0.25
+Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
-# Source0-md5: 7cc05f25e1d5b65da8fb3fdcd540f226
+# Source0-md5: 06fe5819020c6684b991dcffc5471304
 Source1:       %{name}-modprobe.conf
 Source2:       %{name}-asound.conf
 URL:           http://www.alsa-project.org/
@@ -190,17 +190,34 @@ Moduł wiązania Pythona dla interfejsu miksera architektury ALSA.
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure \
+configure_opts="\
        --disable-silent-rules \
        %{!?with_python:--disable-python} \
-       %{?with_resmgr:--enable-resmgr} \
-       %{?with_static_libs:--enable-static}
+       %{?with_resmgr:--enable-resmgr}
+"
 
+%if %{with static_libs}
+%configure $configure_opts \
+       --disable-shared \
+       --enable-static
 %{__make}
+install -d static
+%{__make} install \
+       DESTDIR=$(pwd)/static
+%{__make} clean
+%endif
+
+%configure $configure_opts \
+       --enable-shared \
+       --disable-static
+
+%{__make}
+
+
 %{?with_apidocs:%{__make} doc}
 
 %install
@@ -210,6 +227,8 @@ install -d $RPM_BUILD_ROOT{/%{_lib},%{_sysconfdir}/alsa,/etc/modprobe.d}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install static/%{_libdir}/libasound.a $RPM_BUILD_ROOT%{_libdir}
+
 mv -f $RPM_BUILD_ROOT%{_libdir}/libasound.so.* $RPM_BUILD_ROOT/%{_lib}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libasound.so
 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libasound.so.*.*) \
This page took 0.521273 seconds and 4 git commands to generate.