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