X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=alsa-lib.spec;h=929201fd5b7c1c9920e76a27a4d70d20924aae40;hb=b48724c035d1333f6907edca76087ea5207ce037;hp=2cf7be6daecce691573cf08e62018d3438a75458;hpb=ce4fe3ea6343c87db179019447ab53c5e92355e4;p=packages%2Falsa-lib.git diff --git a/alsa-lib.spec b/alsa-lib.spec index 2cf7be6..929201f 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -1,162 +1,213 @@ +# +# TODO: +# - track this bug - alsasink in gstreamer isn't working +# https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000116 +# Summary: Advanced Linux Sound Architecture (ALSA) - Library +Summary(es): Biblioteca para ALSA (Advanced Linux Sound Architecture) Summary(pl): Advanced Linux Sound Architecture (ALSA) - Biblioteka +Summary(pt_BR): Biblioteca para o ALSA (Advanced Linux Sound Architecture) +Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA +Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA Name: alsa-lib -Version: 0.3.0pre4 +Version: 1.0.6 Release: 1 -Copyright: GPL -Vendor: Jaroslav Kysela -Group: System/Libraries -Group(pl): System/Biblioteki -Source: ftp://alsa.jcu.cz/pub/lib/%{name}-%{version}.tar.gz -URL: http://alsa.jcu.cz/ -BuildRoot: /tmp/%{name}-%{version}-root -Requires: alsa-driver +License: LGPL +Group: Libraries +Source0: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2 +# Source0-md5: d1534d9d2301f247b54a9e8cff4183c5 +Patch0: %{name}-bluezsco.patch +Patch1: %{name}-alpha.patch +URL: http://www.alsa-project.org/ +BuildRequires: alsa-driver-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: doxygen +BuildRequires: flex +BuildRequires: libstdc++-devel +BuildRequires: libtool +BuildRequires: ncurses-devel +BuildConflicts: alsa-lib <= 0.4.0 +Obsoletes: alsa-libs +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Advanced Linux Sound Architecture (ALSA) - Library -Features -======== -* general - - modularized architecture with support for 2.0 and latest 2.1 kernels - - support for versioned and exported symbols - - full proc filesystem support - /proc/sound -* ISA soundcards - - support for 128k ISA DMA buffer -* mixer - - new enhanced API for applications - - support for unlimited number of channels - - volume can be set in three ways (percentual (0-100), exact and decibel) - - support for mute (and hardware mute if hardware supports it) - - support for mixer events - - this allows two or more applications to be synchronized -* digital audio (PCM) - - new enhanced API for applications - - full real duplex support - - full duplex support for SoundBlaster 16/AWE soundcards - - digital audio data for playback and record should be read back using - proc filesystem -* OSS/Lite compatibility - - full mixer compatibity - - full PCM (/dev/dsp) compatibility +Features: +- general + - modularized architecture with support for 2.2 + - support for versioned and exported symbols + - full proc filesystem support - /proc/sound +- ISA soundcards + - support for 128k ISA DMA buffer +- mixer + - new enhanced API for applications + - support for unlimited number of channels + - volume can be set in three ways (percentual (0-100), exact and + decibel) + - support for mute (and hardware mute if hardware supports it) + - support for mixer events + - this allows two or more applications to be synchronized +- digital audio (PCM) + - new enhanced API for applications + - full real duplex support + - full duplex support for SoundBlaster 16/AWE soundcards + - digital audio data for playback and record should be read back using + proc filesystem +- OSS/Lite compatibility + - full mixer compatibity + - full PCM (/dev/dsp) compatibility + +%description -l es +Bibliotecas para el sistema de sonido ALSA. Este paquete se necesita +para ejecutar programas Linux que usan el programa de control de +sonido ALSA. %description -l pl Advanced Linux Sound Architecture (ALSA) - Biblioteka -Nowinki -======= -* generalne - - zmodularyzowana architektura ze wsparciem dla kerneli 2.0 jak i 2.1 - - pe³ne wsparcie dla systemu plików proc - /proc/sound -* karty d¼wiêkowe ISA - - wsparcie dla buforu 128k ISA DMA -* mikser - - nowe rozszerzone API dla aplikacji - - wsparcie dla nielimitowanej liczby kana³ów - - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo (0-100), - liniowo oraz w skali decybelowej) - - wsparcie dla mute (oraz dla sprzêtowego mute) - - wsparcie dla zdarzeñ miksera - - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowac -* cyfrowe audio (PCM) - - nowe rozszerzone API dla aplikacji - - pe³ne realne wsparcie dla trybu duplex - - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ odczytywane - poprzez system plików /proc -* kompatybilno¶æ z OSS/Lite - - pe³na kompatybilno¶æ miksera - - pe³na kompatybilno¶æ PCM (/dev/dsp) +Mo¿liwo¶ci: +- generalne + - zmodularyzowana architektura ze wsparciem dla j±der 2.2 + - pe³ne wsparcie dla systemu plików proc - /proc/sound +- karty d¼wiêkowe ISA + - obs³uga bufora 128k ISA DMA +- mikser + - nowe rozszerzone API dla aplikacji + - obs³uga nielimitowanej liczby kana³ów + - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo + (0-100), liniowo oraz w skali decybelowej) + - obs³uga wyciszania (oraz sprzêtowego wyciszania) + - obs³uga zdarzeñ miksera + - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowaæ +- cyfrowe audio (PCM) + - nowe rozszerzone API dla aplikacji + - pe³na, prawdziwa obs³uga trybu duplex + - pe³na obs³uga trybu duplex dla kart SoundBlaster 16/AWE + - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ + odczytywane poprzez system plików /proc +- kompatybilno¶æ z OSS/Lite + - pe³na kompatybilno¶æ miksera + - pe³na kompatybilno¶æ PCM (/dev/dsp) + +%description -l pt_BR +Bibliotecas para o ALSA. Esse pacote é necessário para rodar programas +Linux queusam o driver de som ALSA. + +%description -l ru +âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA. + +%description -l uk +â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA. %package devel -Summary: Header files fo ALSA library -Summary(pl): Pliki nag³owkowe do biblioteki ALSA +Summary: Advanced Linux Sound Architecture (ALSA) - header files +Summary(es): Archivos de desarrollo de ALSA (Advanced Linux Sound Architecture) +Summary(pl): Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe +Summary(pt_BR): Arquivos de desenvolvimento do ALSA (Advanced Linux Sound Architecture) +Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÙ ÐÒÏÇÒÁÍÍÉÓÔÁ +Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÉ ÐÒÏÇÒÁͦÓÔÁ Group: Development/Libraries -Group(pl): Programowanie/Biblioteki -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} +Requires: alsa-driver-devel +Obsoletes: alsa-devel +Obsoletes: alsa-lib-devel-doc %description devel -Header files fo ALSA library. +Advanced Linux Sound Architecture (ALSA) - header files. -%description -l pl devel -Pliki nag³owkowe do biblioteki ALSA. +%description devel -l es +Este paquete contiene los archivos necesarios para compilar programas +que usan la biblioteca del sistema ALSA. No es necesario instalarlo si +lo que se desea es solamente ejecutar programas. + +%description devel -l pl +Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe. + +%description devel -l pt_BR +Esse pacote contém os arquivos necessários para compilar programas que +usam a biblioteca do ALSA. Não é necessário instalar esse pacote para +apenas rodar programas. + +%description devel -l ru +âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó +ÄÒÁÊ×ÅÒÏÍ ALSA. + +%description devel -l uk +â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ Â¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú +ÄÒÁÊ×ÅÒÏÍ ALSA. %package static -Summary: Advanced Linux Sound Architecture (ALSA) - Static library -Summary(pl): Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna +Summary: Advanced Linux Sound Architecture (ALSA) - static library +Summary(pl): Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna +Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a alsa-lib +Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA +Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA Group: Development/Libraries -Group(pl): Programowanie/Biblioteki -Requires: %{name}-devel = %{version} +Requires: %{name}-devel = %{version}-%{release} %description static -Advanced Linux Sound Architecture (ALSA) - Static library. +Advanced Linux Sound Architecture (ALSA) - static library. + +%description static -l pl +Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna. + +%description static -l pt_BR +Bibliotecas estáticas para desenvolvimento com a alsa-lib + +%description static -l ru +óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA. -%description -l pl static -Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna. +%description static -l uk +óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA. %prep -%setup -q +%setup -q +%patch0 -p1 +%patch1 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ -./configure %{_target} \ - --prefix=/usr -make +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} +%configure \ + --enable-static + +%{__make} +%{__make} doc %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/usr/{include/sys,lib} -make prefix=$RPM_BUILD_ROOT/usr install +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install -D utils/alsa.m4 $RPM_BUILD_ROOT%{_aclocaldir}/alsa.m4 -gzip -9nf ChangeLog doc/*.txt +%clean +rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib*.so.*.* +%{_datadir}/alsa %files devel %defattr(644,root,root,755) -%doc *.gz doc/*.gz - +%doc doc/doxygen/html/* %attr(755,root,root) %{_libdir}/lib*.so -%attr(644,root,root) %{_includedir}/sys/*.h +%{_libdir}/lib*.la +%{_aclocaldir}/alsa.m4 +%{_includedir}/sys/*.h +%{_includedir}/alsa +%{_pkgconfigdir}/*.pc %files static -%attr(644,root,root) %{_libdir}/lib*.a - -%clean -rm -rf $RPM_BUILD_ROOT - -%changelog -* Sat Feb 27 1999 Tomasz K³oczko - [0.3.0pre4-1] -- added CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" to configure enviroment, -- changed Group in static to Development/Libraries, -- removed "Prereq: /sbin/ldconfig" - it is generated automatically, -- added devel subpackage. - -* Wed Jan 21 1999 Arkadiusz Mi¶kiewicz - [0.3.0pre3-1d] -- new upstream release - -* Sat Jan 02 1999 Arkadiusz Mi¶kiewicz - [0.3.0pre2-1d] -- new upstream release - -* Thu Nov 12 1998 Arkadiusz Mi¶kiewicz -- new upstream release (0.1.3) - -* Fri Nov 06 1998 Arkadiusz Mi¶kiewicz -- new upstream release - -* Mon Sep 28 1998 Arkadiusz Mi¶kiewicz -- changed "-" to "_" (rpm doesn't like "-" in Name or Version) - -* Sun Sep 27 1998 Arkadiusz Mi¶kiewicz -- added Polish translations -- rewrited spec file - -* Mon May 28 1998 Helge Jensen -- Made SPEC file +%defattr(644,root,root,755) +%{_libdir}/lib*.a