1 Summary: Advanced Linux Sound Architecture - OSS compatibility wrapper library & script
2 Summary(pl.UTF-8): Advanced Linux Sound Architecture - biblioteka i skrypt kompatybilności z OSS
7 Group: Applications/Sound
8 Source0: ftp://ftp.alsa-project.org/pub/oss-lib/%{name}-%{version}.tar.bz2
9 # Source0-md5: fc845cafc4444193510ab1865c7350b8
10 Patch0: %{name}-path.patch
11 Patch1: alsa-oss-libdl.patch
12 URL: http://www.alsa-project.org/
13 BuildRequires: alsa-lib-devel >= 1.0.0
14 BuildRequires: autoconf >= 2.59
15 BuildRequires: automake
16 BuildRequires: libtool
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This package contains the ALSA -> OSS compatibility library and simple
21 wrapper script which facilitates its use. This script just sets the
22 appropriate LD_PRELOAD path and then runs the command.
24 %description -l pl.UTF-8
25 Ten pakiet zawiera bibliotekę kompatybilności ALSA -> OSS oraz prosty
26 wrapper który ułatwia jej użycie, po prostu ustawiając odpowiednie
27 LD_PRELOAD i uruchamiając polecenie.
30 Summary: ossredir header file and static library
31 Summary(pl.UTF-8): Plik nagłówkowy i biblioteka statyczka ossredir
32 Group: Development/Libraries
33 # doesn't require base on build time (only at runtime...)
36 The purpose of this little piece of code is to redirect OSS (Open
37 Sound System) calls to any shared library to avoid overhead caused
38 with the LD_PRELOAD wrapper. Especially, wrapping select() and poll()
39 functions cause big overhead.
41 %description devel -l pl.UTF-8
42 Celem tego małego kawałka kodu jest przekierowanie wywołań OSS (Open
43 Sound System) do dowolnej biblioteki dzielonej, aby zapobiec narzutowi
44 wywołanemu przez wrapper LD_PRELOAD. Szczególnie przechwytywanie
45 select() i poll() powoduje duży narzut.
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
67 # useless (preloadable libraries)
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a}
71 rm -rf $RPM_BUILD_ROOT
73 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/aoss
79 %attr(755,root,root) %{_libdir}/libalsatoss.so.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libalsatoss.so.0
81 %attr(755,root,root) %{_libdir}/libalsatoss.so
82 %attr(755,root,root) %{_libdir}/libaoss.so.*.*.*
83 %attr(755,root,root) %ghost %{_libdir}/libaoss.so.0
84 %attr(755,root,root) %{_libdir}/libaoss.so
85 %{_mandir}/man1/aoss.1*
88 %defattr(644,root,root,755)
90 %{_libdir}/libossredir.a
91 %{_libdir}/libossredir.la
92 %{_includedir}/oss-redir.h