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: 49fb5fbae8bf955b248e46ff9c9a2aa1
10 Patch0: %{name}-path.patch
11 URL: http://www.alsa-project.org/
12 BuildRequires: alsa-lib-devel >= 1.0.0
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This package contains the ALSA -> OSS compatibility library and simple
20 wrapper script which facilitates its use. This script just sets the
21 appropriate LD_PRELOAD path and then runs the command.
23 %description -l pl.UTF-8
24 Ten pakiet zawiera bibliotekę kompatybilności ALSA -> OSS oraz prosty
25 wrapper który ułatwia jej użycie, po prostu ustawiając odpowiednie
26 LD_PRELOAD i uruchamiając polecenie.
29 Summary: ossredir header file and static library
30 Summary(pl.UTF-8): Plik nagłówkowy i biblioteka statyczka ossredir
31 Group: Development/Libraries
32 # doesn't require base on build time (only at runtime...)
35 The purpose of this little piece of code is to redirect OSS (Open
36 Sound System) calls to any shared library to avoid overhead caused
37 with the LD_PRELOAD wrapper. Especially, wrapping select() and poll()
38 functions cause big overhead.
40 %description devel -l pl.UTF-8
41 Celem tego małego kawałka kodu jest przekierowanie wywołań OSS (Open
42 Sound System) do dowolnej biblioteki dzielonej, aby zapobiec narzutowi
43 wywołanemu przez wrapper LD_PRELOAD. Szczególnie przechwytywanie
44 select() i poll() powoduje duży narzut.
51 cp -f /usr/share/automake/config.sub .
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
62 # useless (preloadable libraries)
63 rm -f $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a}
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/aoss
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
75 %attr(755,root,root) %{_libdir}/lib*.so
76 %{_mandir}/man1/aoss.1*
79 %defattr(644,root,root,755)
81 %{_libdir}/libossredir.a
82 %{_libdir}/libossredir.la
83 %{_includedir}/oss-redir.h