]> git.pld-linux.org Git - packages/alsa-lib.git/blobdiff - alsa-lib.spec
- use new %%doc
[packages/alsa-lib.git] / alsa-lib.spec
index 4880dab9658c38e00a5107fc657d3a832acf5e44..f4616c261417c6ff844ece5a612b67d384215d37 100644 (file)
 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.3.0pre4
-Release:       1
-Copyright:     GPL
-Vendor:                Jaroslav Kysela <perex@jcu.cz>
-Group:         System/Libraries
-Group(pl):     System/Biblioteki
-Source:                ftp://alsa.jcu.cz/pub/lib/%{name}-%{version}.tar.gz
-URL:           http://alsa.jcu.cz/
-BuildRoot:     /tmp/%{name}-%{version}-root
-Requires:      alsa-driver
+Version:       0.5.10b
+Release:       2
+License:       GPL
+Group:         Libraries
+Source0:       ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
+Source1:       http://www.alsa-project.org/~perex/alsa-lib/%{name}.tgz
+URL:           http://www.alsa-project.org/
+BuildRequires: alsa-driver-devel
+BuildRequires: libstdc++-devel
+BuildRequires: ncurses-devel
+BuildRequires: flex
+BuildConflicts:        alsa-lib <= 0.4.0
+Obsoletes:     alsa-libs
+ExcludeArch:   sparc
+ExcludeArch:   sparc64
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc
 
 %description
 Advanced Linux Sound Architecture (ALSA) - Library
 
-Features
-========
-* general
-  - modularized architecture with support for 2.0 and latest 2.1 kernels
+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.0 jak i 2.1
+Nowinki =======
+- generalne
+  - zmodularyzowana architektura ze wsparciem dla kerneli 2.2
   - pe³ne wsparcie dla systemu plików proc - /proc/sound
-* karty d¼wiêkowe ISA
+- karty d¼wiêkowe ISA
   - wsparcie dla buforu 128k ISA DMA
-* mikser
+- 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)
+  - 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)
   - wsparcie dla zdarzeñ miksera
     - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowac
-* cyfrowe audio (PCM)
+- 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:       Header files fo ALSA library
-Summary(pl):   Pliki nag³owkowe do biblioteki ALSA
+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
-Header files fo ALSA library.
+Advanced Linux Sound Architecture (ALSA) - header files.
+
+%description devel -l pl
+Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
 
-%description -l pl devel
-Pliki nag³owkowe do biblioteki ALSA.
+%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 
+%setup -q -a1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr
-make
+%configure2_13
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/{include/sys,lib}
 
-make prefix=$RPM_BUILD_ROOT/usr install
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf ChangeLog doc/*.txt
+%post  -p /sbin/ldconfig
+%preun -p /sbin/ldconfig
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
-%attr(755,root,root) /usr/lib/lib*.so.*.*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz doc/*.gz
-
-%attr(755,root,root) /usr/lib/lib*.so
-%attr(644,root,root) /usr/include/sys/*.h
+%doc ChangeLog *.html *.gif
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
+%{_aclocaldir}/alsa.m4
+%{_includedir}/sys/*.h
 
 %files static
-%attr(644,root,root) /usr/lib/lib*.a
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%changelog
-* Sat Feb 27 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.0pre4-1]
-- added CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" to configure enviroment,
-- changed Group in static to Development/Libraries,
-- removed "Prereq: /sbin/ldconfig" - it is generated automatically,
-- added devel subpackage.
-
-* Wed Jan 21 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-  [0.3.0pre3-1d]
-- new upstream release
-
-* Sat Jan 02 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-  [0.3.0pre2-1d]
-- new upstream release
-
-* Thu Nov 12 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-- new upstream release (0.1.3)
-
-* Fri Nov 06 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-- new upstream release
-
-* Mon Sep 28 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-- changed "-" to "_" (rpm doesn't like "-" in Name or Version)
-
-* Sun Sep 27 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-- added Polish translations
-- rewrited spec file
-
-* Mon May 28 1998 Helge Jensen <slog@slog.dk>
-- Made SPEC file
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.11971 seconds and 4 git commands to generate.