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