]> git.pld-linux.org Git - packages/alsa-oss.git/blame - alsa-oss.spec
- updated to 1.1.8
[packages/alsa-oss.git] / alsa-oss.spec
CommitLineData
e0a29c17 1Summary: Advanced Linux Sound Architecture - OSS compatibility wrapper library & script
c51558f4 2Summary(pl.UTF-8): Advanced Linux Sound Architecture - biblioteka i skrypt kompatybilności z OSS
aca608fe 3Name: alsa-oss
436e37b2 4Version: 1.1.8
7d5ffb01 5Release: 1
6003b9d2 6License: GPL v2+
aca608fe 7Group: Applications/Sound
7de3ef11 8Source0: ftp://ftp.alsa-project.org/pub/oss-lib/%{name}-%{version}.tar.bz2
436e37b2 9# Source0-md5: 9ec4bb783fdce19032aace086d65d874
ada6f012 10Patch0: %{name}-path.patch
9ff58bb0 11Patch1: alsa-oss-libdl.patch
aca608fe 12URL: http://www.alsa-project.org/
13BuildRequires: alsa-lib-devel >= 1.0.0
aea11929 14BuildRequires: autoconf >= 2.59
aca608fe 15BuildRequires: automake
16BuildRequires: libtool
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
e0a29c17
JB
20This package contains the ALSA -> OSS compatibility library and simple
21wrapper script which facilitates its use. This script just sets the
22appropriate LD_PRELOAD path and then runs the command.
aca608fe 23
1ef74edf
JR
24%description -l pl.UTF-8
25Ten pakiet zawiera bibliotekę kompatybilności ALSA -> OSS oraz prosty
26wrapper który ułatwia jej użycie, po prostu ustawiając odpowiednie
27LD_PRELOAD i uruchamiając polecenie.
aca608fe 28
ad44c427
JB
29%package devel
30Summary: ossredir header file and static library
c51558f4 31Summary(pl.UTF-8): Plik nagłówkowy i biblioteka statyczka ossredir
ad44c427
JB
32Group: Development/Libraries
33# doesn't require base on build time (only at runtime...)
34
35%description devel
36The purpose of this little piece of code is to redirect OSS (Open
37Sound System) calls to any shared library to avoid overhead caused
38with the LD_PRELOAD wrapper. Especially, wrapping select() and poll()
39functions cause big overhead.
40
1ef74edf
JR
41%description devel -l pl.UTF-8
42Celem tego małego kawałka kodu jest przekierowanie wywołań OSS (Open
ad44c427 43Sound System) do dowolnej biblioteki dzielonej, aby zapobiec narzutowi
1ef74edf
JR
44wywołanemu przez wrapper LD_PRELOAD. Szczególnie przechwytywanie
45select() i poll() powoduje duży narzut.
ad44c427 46
aca608fe 47%prep
7de3ef11 48%setup -q
ada6f012 49%patch0 -p1
9ff58bb0 50%patch1 -p1
aca608fe 51
52%build
9ff58bb0
AM
53%{__libtoolize}
54%{__aclocal}
55%{__autoconf}
56%{__automake}
ad44c427 57%configure
aca608fe 58
59%{__make}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
ad44c427 67# useless (preloadable libraries)
aea11929 68%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a}
e0a29c17 69
aca608fe 70%clean
71rm -rf $RPM_BUILD_ROOT
72
e0a29c17
JB
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
aca608fe 76%files
77%defattr(644,root,root,755)
78%attr(755,root,root) %{_bindir}/aoss
6003b9d2
JB
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
aca608fe 85%{_mandir}/man1/aoss.1*
ad44c427
JB
86
87%files devel
88%defattr(644,root,root,755)
89%doc oss-redir/README
90%{_libdir}/libossredir.a
91%{_libdir}/libossredir.la
92%{_includedir}/oss-redir.h
This page took 0.088652 seconds and 4 git commands to generate.