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