Summary: Advanced Linux Sound Architecture - OSS compatibility wrapper library & script
-Summary(pl): Advanced Linux Sound Architecture - biblioteka i skrypt kompatibilno¶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.8
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: 9ec4bb783fdce19032aace086d65d874
+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)
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...)
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}
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
%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