]> git.pld-linux.org Git - packages/alsa-oss.git/commitdiff
- updated to 1.0.3a
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Mar 2004 20:37:44 +0000 (20:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -devel package with ossredir lib (dlopening libalsatoss)

Changed files:
    alsa-oss.spec -> 1.6

alsa-oss.spec

index a1d45d5804429a7228ed1a8d683044e8ba0a1877..b953844875842668164604507470811447295394 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Advanced Linux Sound Architecture - OSS compatibility wrapper library & script
 Summary(pl):   Advanced Linux Sound Architecture - biblioteka i skrypt kompatibilno¶ci z OSS
 Name:          alsa-oss
-Version:       1.0.2
+Version:       1.0.3a
 Release:       1
 License:       GPL
 Group:         Applications/Sound
 Source0:       ftp://ftp.alsa-project.org/pub/oss-lib/%{name}-%{version}.tar.bz2
-# Source0-md5: 464b4840c6416875171113f233d896e4
+# Source0-md5: 3451a108627ee5431e82b103ed733060
 URL:           http://www.alsa-project.org/
 BuildRequires: alsa-lib-devel >= 1.0.0
 BuildRequires: autoconf
@@ -24,12 +24,29 @@ Ten pakiet zawiera bibliotek
 wrapper który u³atwia jej u¿ycie, po prostu ustawiaj±c odpowiednie
 LD_PRELOAD i uruchamiaj±c polecenie.
 
+%package devel
+Summary:       ossredir header file and static library
+Summary(pl):   Plik nag³ówkowy i biblioteka statyczka ossredir
+Group:         Development/Libraries
+# doesn't require base on build time (only at runtime...)
+
+%description devel
+The purpose of this little piece of code is to redirect OSS (Open
+Sound System) calls to any shared library to avoid overhead caused
+with the LD_PRELOAD wrapper. Especially, wrapping select() and poll()
+functions cause big overhead.
+
+%description devel -l pl
+Celem tego ma³ego kawa³ka kodu jest przekierowanie wywo³añ OSS (Open
+Sound System) do dowolnej biblioteki dzielonej, aby zapobiec narzutowi
+wywo³anemu przez wrapper LD_PRELOAD. Szczególnie przechwytywanie
+select() i poll() powoduje du¿y narzut.
+
 %prep
 %setup -q
 
 %build
-%configure \
-       --disable-static
+%configure
 
 %{__make}
 
@@ -39,8 +56,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# useless (preloadable library)
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
+# useless (preloadable libraries)
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,3 +71,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_mandir}/man1/aoss.1*
+
+%files devel
+%defattr(644,root,root,755)
+%doc oss-redir/README
+%{_libdir}/libossredir.a
+%{_libdir}/libossredir.la
+%{_includedir}/oss-redir.h
This page took 0.044313 seconds and 4 git commands to generate.