]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
- massive attack: no need for 755 for *.la
[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 Summary(ru):    âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
4 Summary(uk):    â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
5 Name:           alsa-lib
6 Version:        0.9.0rc6
7 Release:        1
8 License:        GPL
9 Group:          Libraries
10 Source0:        ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
11 URL:            http://www.alsa-project.org/
12 BuildRequires:  alsa-driver-devel
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  ncurses-devel
15 BuildRequires:  flex
16 BuildRequires:  doxygen
17 BuildRequires:  libtool
18 BuildConflicts: alsa-lib <= 0.4.0
19 Obsoletes:      alsa-libs
20 ExcludeArch:    sparc
21 ExcludeArch:    sparc64
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _sysconfdir     /etc
25 %define         __prefix        /usr/share
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 %description -l ru
82 âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
83
84 %description -l uk
85 â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
86
87 %package devel
88 Summary:        Advanced Linux Sound Architecture (ALSA) - header files
89 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
90 Summary(ru):    âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÙ ÐÒÏÇÒÁÍÍÉÓÔÁ
91 Summary(uk):    â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÉ ÐÒÏÇÒÁͦÓÔÁ
92 Group:          Development/Libraries
93 Requires:       %{name} = %{version}
94 Requires:       alsa-driver-devel
95 Obsoletes:      alsa-lib-devel-doc
96 Obsoletes:      alsa-devel
97
98 %description devel
99 Advanced Linux Sound Architecture (ALSA) - header files.
100
101 %description devel -l pl
102 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
103
104 %description devel -l ru
105 âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó
106 ÄÒÁÊ×ÅÒÏÍ ALSA.
107
108 %description devel -l uk
109 â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌѠ¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú
110 ÄÒÁÊ×ÅÒÏÍ ALSA.
111
112 %package static
113 Summary:        Advanced Linux Sound Architecture (ALSA) - Static library
114 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
115 Summary(ru):    óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
116 Summary(uk):    óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
117 Group:          Development/Libraries
118 Requires:       %{name}-devel = %{version}
119
120 %description static
121 Advanced Linux Sound Architecture (ALSA) - Static library.
122
123 %description static -l pl
124 Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna.
125
126 %description static -l ru
127 óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
128
129 %description static -l uk
130 óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
131
132 %prep
133 %setup -q
134
135 %build
136 %{__libtoolize}
137 %{__aclocal}
138 %{__autoconf}
139 %{__automake}
140 %configure \
141         --enable-static 
142         
143 %{__make}
144 %{__make} doc
145
146 %install
147 rm -rf $RPM_BUILD_ROOT
148
149 %{__make} install \
150         DESTDIR=$RPM_BUILD_ROOT
151
152 install -d $RPM_BUILD_ROOT/%{_aclocaldir}
153 cp utils/alsa.m4 $RPM_BUILD_ROOT/%{_aclocaldir}
154
155 %post  -p /sbin/ldconfig
156 %preun -p /sbin/ldconfig
157
158 %clean
159 rm -rf $RPM_BUILD_ROOT
160
161 %files
162 %defattr(644,root,root,755)
163 %attr(755,root,root) %{_libdir}/lib*.so.*.*
164 %attr(755,root,root) %{_bindir}/*
165 %{__prefix}/alsa/*
166
167 %files devel
168 %defattr(644,root,root,755)
169 %doc doc/doxygen/html/*
170 %attr(755,root,root) %{_libdir}/lib*.so
171 %{_libdir}/lib*.la
172 %{_aclocaldir}/alsa.m4
173 %{_includedir}/sys/*.h
174 %{_includedir}/alsa
175 %{_pkgconfigdir}/*.pc
176
177 %files static
178 %defattr(644,root,root,755)
179 %{_libdir}/lib*.a
This page took 0.58965 seconds and 4 git commands to generate.