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