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