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