]> git.pld-linux.org Git - packages/alsa-lib.git/blobdiff - alsa-lib.spec
- updated to 0.9.0rc8a
[packages/alsa-lib.git] / alsa-lib.spec
index d9e7e92ab797f43aa7f9ca2321a84c5408d256b7..796ad24212d659ba670411cd5435377a2bdd6f1c 100644 (file)
@@ -1,21 +1,20 @@
 Summary:       Advanced Linux Sound Architecture (ALSA) - Library
 Summary(pl):   Advanced Linux Sound Architecture (ALSA) - Biblioteka
+Summary(ru):   âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
+Summary(uk):   â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
 Name:          alsa-lib
-Version:       0.5.6
+Version:       0.9.0rc8a
 Release:       1
 License:       GPL
-Group:         System/Libraries
-Group(pl):     System/Biblioteki
-Source0:       ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
-Patch0:                alsa-lib-allin1.patch
-Patch1:                alsa-lib-autoconf.patch
+Group:         Libraries
+Source0:       ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
 URL:           http://www.alsa-project.org/
-BuildRequires: libstdc++-devel
-BuildRequires: ncurses-devel
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: alsa-driver-devel
+BuildRequires: doxygen
 BuildRequires: flex
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
+BuildRequires: ncurses-devel
 BuildConflicts:        alsa-lib <= 0.4.0
 Obsoletes:     alsa-libs
 ExcludeArch:   sparc
@@ -27,120 +26,152 @@ BuildRoot:        %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Advanced Linux Sound Architecture (ALSA) - Library
 
-Features
-========
-* general
+Features ========
+- general
   - modularized architecture with support for 2.2
   - support for versioned and exported symbols
   - full proc filesystem support - /proc/sound
-* ISA soundcards
+- ISA soundcards
   - support for 128k ISA DMA buffer
-* mixer
+- mixer
   - new enhanced API for applications
   - support for unlimited number of channels
-  - volume can be set in three ways (percentual (0-100), exact and decibel)
+  - volume can be set in three ways (percentual (0-100), exact and
+    decibel)
   - support for mute (and hardware mute if hardware supports it)
   - support for mixer events
     - this allows two or more applications to be synchronized
-* digital audio (PCM)
+- digital audio (PCM)
   - new enhanced API for applications
   - full real duplex support
   - full duplex support for SoundBlaster 16/AWE soundcards
   - digital audio data for playback and record should be read back using
     proc filesystem
-* OSS/Lite compatibility
+- OSS/Lite compatibility
   - full mixer compatibity
   - full PCM (/dev/dsp) compatibility
 
 %description -l pl
 Advanced Linux Sound Architecture (ALSA) - Biblioteka
 
-Nowinki
-=======
-* generalne
-  - zmodularyzowana architektura ze wsparciem dla kerneli 2.2
+Nowinki =======
+- generalne
+  - zmodularyzowana architektura ze wsparciem dla j±der 2.2
   - pe³ne wsparcie dla systemu plików proc - /proc/sound
-* karty d¼wiêkowe ISA
-  - wsparcie dla buforu 128k ISA DMA
-* mikser
+- karty d¼wiêkowe ISA
+  - wsparcie dla bufora 128k ISA DMA
+- mikser
   - nowe rozszerzone API dla aplikacji
   - wsparcie dla nielimitowanej liczby kana³ów
-  - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo (0-100),
-    liniowo oraz w skali decybelowej)
-  - wsparcie dla mute (oraz dla sprzêtowego mute)
+  - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo
+    (0-100), liniowo oraz w skali decybelowej)
+  - wsparcie dla wyciszania (oraz sprzêtowego wyciszania)
   - wsparcie dla zdarzeñ miksera
-    - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowac
-* cyfrowe audio (PCM)
+    - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowaæ
+- cyfrowe audio (PCM)
   - nowe rozszerzone API dla aplikacji
   - pe³ne realne wsparcie dla trybu duplex
-  - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ odczytywane
-    poprzez system plików /proc
-* kompatybilno¶æ z OSS/Lite
+  - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ
+    odczytywane poprzez system plików /proc
+- kompatybilno¶æ z OSS/Lite
   - pe³na kompatybilno¶æ miksera
   - pe³na kompatybilno¶æ PCM (/dev/dsp)
 
+%description -l ru
+âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
+
+%description -l uk
+â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
+
 %package devel
 Summary:       Advanced Linux Sound Architecture (ALSA) - header files
 Summary(pl):   Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
+Summary(ru):   âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÙ ÐÒÏÇÒÁÍÍÉÓÔÁ
+Summary(uk):   â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÉ ÐÒÏÇÒÁͦÓÔÁ
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
+Requires:      alsa-driver-devel
+Obsoletes:     alsa-lib-devel-doc
+Obsoletes:     alsa-devel
+
 %description devel
 Advanced Linux Sound Architecture (ALSA) - header files.
 
-%description -l pl devel
+%description devel -l pl
 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
 
+%description devel -l ru
+âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó
+ÄÒÁÊ×ÅÒÏÍ ALSA.
+
+%description devel -l uk
+â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌѠ¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú
+ÄÒÁÊ×ÅÒÏÍ ALSA.
+
 %package static
 Summary:       Advanced Linux Sound Architecture (ALSA) - Static library
 Summary(pl):   Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
+Summary(ru):   óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
+Summary(uk):   óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
 Advanced Linux Sound Architecture (ALSA) - Static library.
 
-%description -l pl static
+%description static -l pl
 Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna.
 
+%description static -l ru
+óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
+
+%description static -l uk
+óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
+
 %prep
 %setup -q
 
 %build
-LDFLAGS="-s"; export LDFLAGS
-aclocal
-automake -c || :
-autoconf
-%configure
-make
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --enable-static 
+       
+%{__make}
+%{__make} doc
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 
-gzip -9nf ChangeLog
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%preun -p /sbin/ldconfig
+install -d $RPM_BUILD_ROOT/%{_aclocaldir}
+cp utils/alsa.m4 $RPM_BUILD_ROOT/%{_aclocaldir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/alsa
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz
+%doc doc/doxygen/html/*
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
-%{_datadir}/aclocal/alsa.m4
+%{_libdir}/lib*.la
+%{_aclocaldir}/alsa.m4
 %{_includedir}/sys/*.h
+%{_includedir}/alsa
+%{_pkgconfigdir}/*.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.228437 seconds and 4 git commands to generate.