]> git.pld-linux.org Git - packages/alsa-oss.git/blobdiff - alsa-oss.spec
- up to 1.0.14
[packages/alsa-oss.git] / alsa-oss.spec
index 63f71e1cc4bc02b6c237ff37a72c17eb43f9820b..2304f6be78e5069830834b066bd02a7596362de9 100644 (file)
@@ -1,13 +1,12 @@
-Summary:       Advanced Linux Sound Architecture (ALSA) OSS compatibility wrapper library & script
-Summary(pl):   Advanced Linux Sound Architecture (ALSA) - biblioteka i skrypt  kompatibilno¶ci z OSS
+Summary:       Advanced Linux Sound Architecture - OSS compatibility wrapper library & script
+Summary(pl.UTF-8):     Advanced Linux Sound Architecture - biblioteka i skrypt kompatybilności z OSS
 Name:          alsa-oss
-%define                _pre    rc2
-Version:       1.0.0
-Release:       0.%{_pre}.2
+Version:       1.0.14
+Release:       1
 License:       GPL
 Group:         Applications/Sound
-Source0:       ftp://ftp.alsa-project.org/pub/oss-lib/%{name}-%{version}%{_pre}.tar.bz2
-# Source0-md5: 50cc9bd5c36149aacd0ca2d0bcb55d0b
+Source0:       ftp://ftp.alsa-project.org/pub/oss-lib/%{name}-%{version}.tar.bz2
+# Source0-md5: a24475b978982ff8cb2f25be793c6b83
 URL:           http://www.alsa-project.org/
 BuildRequires: alsa-lib-devel >= 1.0.0
 BuildRequires: autoconf
@@ -16,23 +15,39 @@ BuildRequires:      libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-OSS compatibility library and simple wrapper script which facilitates
-it's use. It just sets the appropriate LD_PRELOAD path and then runs
-the command.
+This package contains the ALSA -> OSS compatibility library and simple
+wrapper script which facilitates its use. This script just sets the
+appropriate LD_PRELOAD path and then runs the command.
 
+%description -l pl.UTF-8
+Ten pakiet zawiera bibliotekę kompatybilności ALSA -> OSS oraz prosty
+wrapper który ułatwia jej użycie, po prostu ustawiając odpowiednie
+LD_PRELOAD i uruchamiając polecenie.
 
-%description -l pl
-Bibliteka kompatybilno¶ci z OSS i prosty wrapper który u³atwia jej
-u¿ycie, który po prostu ustawia odpowiednie LD_PRELOAD po czym
-uruchamia komendê.
+%package devel
+Summary:       ossredir header file and static library
+Summary(pl.UTF-8):     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.UTF-8
+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 -n %{name}-%{version}%{_pre}
-%configure
+%setup -q
 
 %build
+cp -f /usr/share/automake/config.sub .
+%configure
 
 %{__make}
 
@@ -42,13 +57,25 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# useless (preloadable libraries)
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib{alsatoss,aoss}.{la,a}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/aoss
-
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_mandir}/man1/aoss.1*
-%{_libdir}/*.la
-%{_libdir}/*.so.*
+
+%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.032394 seconds and 4 git commands to generate.