X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=alsa-lib.spec;h=ca04b1e6ace744bca936ee1811e8e1e593afbb85;hb=073fe343ac8c53a0808e838b7aab5bccbe9189a1;hp=a8e4b04675d5021c8bccac814cace35dc1fadee0;hpb=e31930beeafd91281c18f13948890276c617650f;p=packages%2Falsa-lib.git diff --git a/alsa-lib.spec b/alsa-lib.spec index a8e4b04..ca04b1e 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -1,93 +1,111 @@ Summary: Advanced Linux Sound Architecture (ALSA) - Library Summary(pl): Advanced Linux Sound Architecture (ALSA) - Biblioteka +Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA +Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA Name: alsa-lib -Version: 0.5.6 -Release: 1 +Version: 0.5.10b +Release: 2 License: GPL -Group: System/Libraries -Group(pl): System/Biblioteki -Source0: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2 -Patch0: alsa-lib-allin1.patch -Patch1: alsa-lib-autoconf.patch +Group: Libraries +Group(de): Libraries +Group(es): Bibliotecas +Group(fr): Librairies +Group(pl): Biblioteki +Group(pt_BR): Bibliotecas +Group(ru): âÉÂÌÉÏÔÅËÉ +Group(uk): â¦Â̦ÏÔÅËÉ +Source0: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2 +Source1: http://www.alsa-project.org/~perex/alsa-lib/%{name}.tgz URL: http://www.alsa-project.org/ +BuildRequires: alsa-driver-devel BuildRequires: libstdc++-devel BuildRequires: ncurses-devel -BuildRequires: autoconf -BuildRequires: automake BuildRequires: flex -BuildRequires: libtool BuildConflicts: alsa-lib <= 0.4.0 -Prereq: /sbin/depmod -Prereq: /sbin/ldconfig -Prereq: /sbin/chkconfig Obsoletes: alsa-libs ExcludeArch: sparc ExcludeArch: sparc64 -BuildRoot: /tmp/%{name}-%{version}-root +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc %description Advanced Linux Sound Architecture (ALSA) - Library -Features -======== -* general - - modularized architecture with support for 2.0 and latest 2.1 kernels +Features ======== +- general + - modularized architecture with support for 2.2 - support for versioned and exported symbols - full proc filesystem support - /proc/sound -* ISA soundcards +- ISA soundcards - support for 128k ISA DMA buffer -* mixer +- 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) + - 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) +- 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 +- OSS/Lite compatibility - full mixer compatibity - full PCM (/dev/dsp) compatibility %description -l pl Advanced Linux Sound Architecture (ALSA) - Biblioteka -Nowinki -======= -* generalne - - zmodularyzowana architektura ze wsparciem dla kerneli 2.0 jak i 2.1 +Nowinki ======= +- generalne + - zmodularyzowana architektura ze wsparciem dla kerneli 2.2 - pe³ne wsparcie dla systemu plików proc - /proc/sound -* karty d¼wiêkowe ISA +- karty d¼wiêkowe ISA - wsparcie dla buforu 128k ISA DMA -* mikser +- 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) + - 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) +- 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 + - 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 ru +âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA. + +%description -l uk +â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA. + %package devel Summary: Advanced Linux Sound Architecture (ALSA) - header files -Summary(pl): Advanced Linux Sound Architecture (ALSA) - pliki nag³owkowe +Summary(pl): Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe +Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÙ ÐÒÏÇÒÁÍÍÉÓÔÁ +Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÉ ÐÒÏÇÒÁͦÓÔÁ Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: %{name} = %{version} +Requires: alsa-driver-devel +Obsoletes: alsa-lib-devel-doc +Obsoletes: alsa-devel %description devel Advanced Linux Sound Architecture (ALSA) - header files. @@ -95,12 +113,27 @@ Advanced Linux Sound Architecture (ALSA) - header files. %description -l pl devel Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe. +%description -l ru devel +âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó +ÄÒÁÊ×ÅÒÏÍ ALSA. + +%description -l uk devel +â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ Â¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú +ÄÒÁÊ×ÅÒÏÍ ALSA. %package static Summary: Advanced Linux Sound Architecture (ALSA) - Static library Summary(pl): Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna +Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA +Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: %{name}-devel = %{version} %description static @@ -109,46 +142,42 @@ Advanced Linux Sound Architecture (ALSA) - Static library. %description -l pl static Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna. +%description -l ru static +óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA. + +%description -l uk static +óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA. + %prep -%setup -q +%setup -q -a1 %build -LDFLAGS="-s"; export LDFLAGS -aclocal -automake -c || : -autoconf -%configure -make +%configure2_13 +%{__make} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT - -strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*-*so - -#chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* -gzip -9nf ChangeLog doc/*.txt || : +%{__make} install DESTDIR=$RPM_BUILD_ROOT -%post -/sbin/ldconfig +gzip -9nf ChangeLog -%preun -/sbin/ldconfig +%post -p /sbin/ldconfig +%preun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/lib*-*so +%attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) -%doc *.gz doc/*.gz -%attr(755,root,root) %{_libdir}/libasound.so +%doc *.gz *.html *.gif +%attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la -%{_datadir}/aclocal/alsa.m4 +%{_aclocaldir}/alsa.m4 %{_includedir}/sys/*.h %files static