]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
- rewmoved Prereq: /sbin/depmod, /sbin/ldconfig, /sbin/chkconfig,
[packages/alsa-lib.git] / alsa-lib.spec
1 Summary:        Advanced Linux Sound Architecture (ALSA) - Library
2 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka
3 Name:           alsa-lib
4 Version:        0.5.6
5 Release:        1
6 License:        GPL
7 Group:          System/Libraries
8 Group(pl):      System/Biblioteki
9 Source0:        ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
10 Patch0:         alsa-lib-allin1.patch
11 Patch1:         alsa-lib-autoconf.patch
12 URL:            http://www.alsa-project.org/
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  ncurses-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  flex
18 BuildRequires:  libtool
19 BuildConflicts: alsa-lib <= 0.4.0
20 Obsoletes:      alsa-libs
21 ExcludeArch:    sparc
22 ExcludeArch:    sparc64
23 BuildRoot:      /tmp/%{name}-%{version}-root
24
25 %define         _sysconfdir     /etc
26
27 %description
28 Advanced Linux Sound Architecture (ALSA) - Library
29
30 Features
31 ========
32 * general
33   - modularized architecture with support for 2.0 and latest 2.1 kernels
34   - support for versioned and exported symbols
35   - full proc filesystem support - /proc/sound
36 * ISA soundcards
37   - support for 128k ISA DMA buffer
38 * mixer
39   - new enhanced API for applications
40   - support for unlimited number of channels
41   - volume can be set in three ways (percentual (0-100), exact and decibel)
42   - support for mute (and hardware mute if hardware supports it)
43   - support for mixer events
44     - this allows two or more applications to be synchronized
45 * digital audio (PCM)
46   - new enhanced API for applications
47   - full real duplex support
48   - full duplex support for SoundBlaster 16/AWE soundcards
49   - digital audio data for playback and record should be read back using
50     proc filesystem
51 * OSS/Lite compatibility
52   - full mixer compatibity
53   - full PCM (/dev/dsp) compatibility
54
55 %description -l pl
56 Advanced Linux Sound Architecture (ALSA) - Biblioteka
57
58 Nowinki
59 =======
60 * generalne
61   - zmodularyzowana architektura ze wsparciem dla kerneli 2.0 jak i 2.1
62   - pe³ne wsparcie dla systemu plików proc - /proc/sound
63 * karty d¼wiêkowe ISA
64   - wsparcie dla buforu 128k ISA DMA
65 * mikser
66   - nowe rozszerzone API dla aplikacji
67   - wsparcie dla nielimitowanej liczby kana³ów
68   - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo (0-100),
69     liniowo oraz w skali decybelowej)
70   - wsparcie dla mute (oraz dla sprzêtowego mute)
71   - wsparcie dla zdarzeñ miksera
72     - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowac
73 * cyfrowe audio (PCM)
74   - nowe rozszerzone API dla aplikacji
75   - pe³ne realne wsparcie dla trybu duplex
76   - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ odczytywane
77     poprzez system plików /proc
78 * kompatybilno¶æ z OSS/Lite
79   - pe³na kompatybilno¶æ miksera
80   - pe³na kompatybilno¶æ PCM (/dev/dsp)
81
82 %package devel
83 Summary:        Advanced Linux Sound Architecture (ALSA) - header files
84 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - pliki nag³owkowe
85 Group:          Development/Libraries
86 Group(pl):      Programowanie/Biblioteki
87 Requires:       %{name} = %{version}
88  
89 %description devel
90 Advanced Linux Sound Architecture (ALSA) - header files.
91
92 %description -l pl devel
93 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
94
95
96 %package static
97 Summary:        Advanced Linux Sound Architecture (ALSA) - Static library
98 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
99 Group:          Development/Libraries
100 Group(pl):      Programowanie/Biblioteki
101 Requires:       %{name}-devel = %{version}
102
103 %description static
104 Advanced Linux Sound Architecture (ALSA) - Static library.
105
106 %description -l pl static
107 Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna.
108
109 %prep
110 %setup -q
111
112 %build
113 LDFLAGS="-s"; export LDFLAGS
114 aclocal
115 automake -c || :
116 autoconf
117 %configure
118 make
119
120 %install
121 rm -rf $RPM_BUILD_ROOT
122 make install DESTDIR=$RPM_BUILD_ROOT
123
124 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
125
126 gzip -9nf ChangeLog doc/*.txt
127
128 %post  -p /sbin/ldconfig
129 %preun -p /sbin/ldconfig
130
131 %clean
132 rm -rf $RPM_BUILD_ROOT
133
134 %files
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/lib*.so.*.*
137
138 %files devel
139 %defattr(644,root,root,755)
140 %doc *.gz doc/*.gz
141 %attr(755,root,root) %{_libdir}/libasound.so
142 %attr(755,root,root) %{_libdir}/lib*.la
143 %{_datadir}/aclocal/alsa.m4
144 %{_includedir}/sys/*.h
145
146 %files static
147 %defattr(644,root,root,755)
148 %{_libdir}/lib*.a
This page took 0.038723 seconds and 3 git commands to generate.