X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=alsa-lib.spec;h=475b378818fa3333771057ec89a22ecbb3e919dd;hb=9a7772e244e21677891154d95760d05999459cfc;hp=9eb458a53283fa0e83b96aac47fbe0e74783edf2;hpb=a7876390feb1900a200c9d831a8d6d965a18276b;p=packages%2Falsa-lib.git diff --git a/alsa-lib.spec b/alsa-lib.spec index 9eb458a..475b378 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -1,7 +1,6 @@ # -# TODO: -# - track this bug - alsasink in gstreamer isn't working -# https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000116 +# Conditional build: +%bcond_without static_libs # don't build static library # Summary: Advanced Linux Sound Architecture (ALSA) - Library Summary(es): Advanced Linux Sound Architecture (ALSA) - Biblioteca @@ -10,13 +9,12 @@ Summary(pt_BR): Biblioteca para o ALSA (Advanced Linux Sound Architecture) Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA Name: alsa-lib -Version: 1.0.7 -Release: 1 +Version: 1.0.9 +Release: 0.1 License: LGPL Group: Libraries Source0: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2 -# Source0-md5: 34ceaac0d1f0fc2b1462cef7c3a6825e -Patch0: %{name}-alpha.patch +# Source0-md5: 114af3304619920ffe2b147b760700b9 URL: http://www.alsa-project.org/ BuildRequires: alsa-driver-devel BuildRequires: autoconf @@ -158,7 +156,6 @@ Bibliotecas est %prep %setup -q -%patch0 -p1 %build %{__libtoolize} @@ -166,7 +163,8 @@ Bibliotecas est %{__autoconf} %{__automake} %configure \ - --enable-static + --enable-static \ + %{!?with_static_libs:--disable-static} %{__make} %{__make} doc @@ -201,6 +199,8 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/alsa %{_pkgconfigdir}/*.pc +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/lib*.a +%endif