X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=alsa-oss.spec;h=d9e4c2a64fe9ee426676a39f86364787730fa69f;hb=b9aa0ed63a0ca438eede2090303b9b9ddae7c652;hp=8f0e583f0edcc36a7365fd54eca7dc97083d96aa;hpb=fdd2ba3990801ca7e6345ffe311721a23f00f08e;p=packages%2Falsa-oss.git diff --git a/alsa-oss.spec b/alsa-oss.spec index 8f0e583..d9e4c2a 100644 --- a/alsa-oss.spec +++ b/alsa-oss.spec @@ -1,15 +1,17 @@ Summary: Advanced Linux Sound Architecture - OSS compatibility wrapper library & script -Summary(pl): Advanced Linux Sound Architecture - biblioteka i skrypt kompatybilno¶ci z OSS +Summary(pl.UTF-8): Advanced Linux Sound Architecture - biblioteka i skrypt kompatybilności z OSS Name: alsa-oss -Version: 1.0.6 +Version: 1.1.6 Release: 1 -License: GPL +License: GPL v2+ Group: Applications/Sound Source0: ftp://ftp.alsa-project.org/pub/oss-lib/%{name}-%{version}.tar.bz2 -# Source0-md5: b104ba44268718cacf36fa18383162fe +# Source0-md5: fc845cafc4444193510ab1865c7350b8 +Patch0: %{name}-path.patch +Patch1: alsa-oss-libdl.patch URL: http://www.alsa-project.org/ BuildRequires: alsa-lib-devel >= 1.0.0 -BuildRequires: autoconf +BuildRequires: autoconf >= 2.59 BuildRequires: automake BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -19,14 +21,14 @@ This package contains the ALSA -> OSS compatibility library and simple wrapper script which facilitates its use. This script just sets the appropriate LD_PRELOAD path and then runs the command. -%description -l pl -Ten pakiet zawiera bibliotekê kompatybilno¶ci ALSA -> OSS oraz prosty -wrapper który u³atwia jej u¿ycie, po prostu ustawiaj±c odpowiednie -LD_PRELOAD i uruchamiaj±c polecenie. +%description -l pl.UTF-8 +Ten pakiet zawiera bibliotekę kompatybilności ALSA -> OSS oraz prosty +wrapper który ułatwia jej użycie, po prostu ustawiając odpowiednie +LD_PRELOAD i uruchamiając polecenie. %package devel Summary: ossredir header file and static library -Summary(pl): Plik nag³ówkowy i biblioteka statyczka ossredir +Summary(pl.UTF-8): Plik nagłówkowy i biblioteka statyczka ossredir Group: Development/Libraries # doesn't require base on build time (only at runtime...) @@ -36,16 +38,22 @@ Sound System) calls to any shared library to avoid overhead caused with the LD_PRELOAD wrapper. Especially, wrapping select() and poll() functions cause big overhead. -%description devel -l pl -Celem tego ma³ego kawa³ka kodu jest przekierowanie wywo³añ OSS (Open +%description devel -l pl.UTF-8 +Celem tego małego kawałka kodu jest przekierowanie wywołań OSS (Open Sound System) do dowolnej biblioteki dzielonej, aby zapobiec narzutowi -wywo³anemu przez wrapper LD_PRELOAD. Szczególnie przechwytywanie -select() i poll() powoduje du¿y narzut. +wywołanemu przez wrapper LD_PRELOAD. Szczególnie przechwytywanie +select() i poll() powoduje duży narzut. %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure %{__make} @@ -57,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT # useless (preloadable libraries) -rm -f $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a} +%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a} %clean rm -rf $RPM_BUILD_ROOT @@ -68,8 +76,12 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/aoss -%attr(755,root,root) %{_libdir}/lib*.so.*.*.* -%attr(755,root,root) %{_libdir}/lib*.so +%attr(755,root,root) %{_libdir}/libalsatoss.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libalsatoss.so.0 +%attr(755,root,root) %{_libdir}/libalsatoss.so +%attr(755,root,root) %{_libdir}/libaoss.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libaoss.so.0 +%attr(755,root,root) %{_libdir}/libaoss.so %{_mandir}/man1/aoss.1* %files devel