]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
- change from configure to configure2_13
[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.10b
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
13 Source1:        http://www.alsa-project.org/~perex/alsa-lib/%{name}.tgz
14 URL:            http://www.alsa-project.org/
15 BuildRequires:  alsa-driver-devel
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  ncurses-devel
18 BuildRequires:  flex
19 BuildConflicts: alsa-lib <= 0.4.0
20 Obsoletes:      alsa-libs
21 ExcludeArch:    sparc
22 ExcludeArch:    sparc64
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _sysconfdir     /etc
26
27 %description
28 Advanced Linux Sound Architecture (ALSA) - Library
29
30 Features ========
31 - general
32   - modularized architecture with support for 2.2
33   - support for versioned and exported symbols
34   - full proc filesystem support - /proc/sound
35 - ISA soundcards
36   - support for 128k ISA DMA buffer
37 - mixer
38   - new enhanced API for applications
39   - support for unlimited number of channels
40   - volume can be set in three ways (percentual (0-100), exact and
41     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 - generalne
60   - zmodularyzowana architektura ze wsparciem dla kerneli 2.2
61   - pe³ne wsparcie dla systemu plików proc - /proc/sound
62 - karty d¼wiêkowe ISA
63   - wsparcie dla buforu 128k ISA DMA
64 - mikser
65   - nowe rozszerzone API dla aplikacji
66   - wsparcie dla nielimitowanej liczby kana³ów
67   - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo
68     (0-100), liniowo oraz w skali decybelowej)
69   - wsparcie dla mute (oraz dla sprzêtowego mute)
70   - wsparcie dla zdarzeñ miksera
71     - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowac
72 - cyfrowe audio (PCM)
73   - nowe rozszerzone API dla aplikacji
74   - pe³ne realne wsparcie dla trybu duplex
75   - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ
76     odczytywane poprzez system plików /proc
77 - kompatybilno¶æ z OSS/Lite
78   - pe³na kompatybilno¶æ miksera
79   - pe³na kompatybilno¶æ PCM (/dev/dsp)
80
81 %package devel
82 Summary:        Advanced Linux Sound Architecture (ALSA) - header files
83 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
84 Group:          Development/Libraries
85 Group(de):      Entwicklung/Libraries
86 Group(fr):      Development/Librairies
87 Group(pl):      Programowanie/Biblioteki
88 Requires:       %{name} = %{version}
89 Requires:       alsa-driver-devel
90 Obsoletes:      alsa-lib-devel-doc
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 %package static
99 Summary:        Advanced Linux Sound Architecture (ALSA) - Static library
100 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
101 Group:          Development/Libraries
102 Group(de):      Entwicklung/Libraries
103 Group(fr):      Development/Librairies
104 Group(pl):      Programowanie/Biblioteki
105 Requires:       %{name}-devel = %{version}
106
107 %description static
108 Advanced Linux Sound Architecture (ALSA) - Static library.
109
110 %description -l pl static
111 Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna.
112
113 %prep
114 %setup -q -a1
115
116 %build
117 %configure2_13
118 %{__make}
119
120 %install
121 rm -rf $RPM_BUILD_ROOT
122
123 %{__make} install DESTDIR=$RPM_BUILD_ROOT
124
125 gzip -9nf ChangeLog
126
127 %post  -p /sbin/ldconfig
128 %preun -p /sbin/ldconfig
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %files
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
136
137 %files devel
138 %defattr(644,root,root,755)
139 %doc *.gz *.html *.gif
140 %attr(755,root,root) %{_libdir}/lib*.so
141 %attr(755,root,root) %{_libdir}/lib*.la
142 %{_aclocaldir}/alsa.m4
143 %{_includedir}/sys/*.h
144
145 %files static
146 %defattr(644,root,root,755)
147 %{_libdir}/lib*.a
This page took 0.093172 seconds and 4 git commands to generate.