]> git.pld-linux.org Git - packages/alsa-oss.git/blob - alsa-oss.spec
- up to 1.0.15
[packages/alsa-oss.git] / alsa-oss.spec
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
3 Name:           alsa-oss
4 Version:        1.0.15
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:  49fb5fbae8bf955b248e46ff9c9a2aa1
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.UTF-8
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.UTF-8):      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.UTF-8
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 cp -f /usr/share/automake/config.sub .
50 %configure
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 # useless (preloadable libraries)
61 rm -f $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/aoss
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
73 %attr(755,root,root) %{_libdir}/lib*.so
74 %{_mandir}/man1/aoss.1*
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.055956 seconds and 3 git commands to generate.