source: projects/specs/trunk/a/alsa-lib/alsa-lib-vl.spec @ 1083

Revision 1083, 11.4 KB checked in by shaolin, 14 years ago (diff)
  • alsa-firmware, alsa-lib, alsa-plugins, alsa-tools, alsa-utils
    • new upstream releases
Line 
1# --define nosrc:1 ... to make nosrc package
2Summary: Advanced Linux Sound Architecture (ALSA) Library
3Summary(ja): Advanced Linux Sound Architecture (ALSA) ライブラリ
4Name: alsa-lib
5Version: 1.0.23
6Release: 1%{?_dist_release}
7License: LGPLv2+
8Group: System Environment/Libraries
9Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
10Patch2:  alsa-lib-1.0.14-glibc-open.patch
11Patch3:  alsa-lib-pulse-default.patch
12Patch4:  alsa-lib-1.0.16-no-dox-date.patch
13Patch10: alsa-lib-1.0.15-dmix-not-use-audio-group.patch
14
15%{?nosrc:NoSource:     0}
16URL: http://www.alsa-project.org/
17%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
18
19BuildRoot: %{_tmppath}/%{name}-%{version}-root
20BuildRequires: doxygen
21#BuildRequires: python-devel
22%define make_doc %(which doxygen &> /dev/null && echo 1 || echo 0)
23
24#BuildRequires: alsa-driver >= 0.9
25#Requires: alsa-driver >= 0.9
26#Provides: libasound-%{version}.so
27
28Vendor: Project Vine
29Distribution: Vine Linux
30Packager: shaolin
31
32%description
33Advanced Linux Sound Architecture (ALSA) - Library
34
35Features
36========
37* general
38  - modularized architecture with support for 2.0 and latest 2.1 kernels
39  - support for versioned and exported symbols
40  - full proc filesystem support - /proc/sound
41* ISA soundcards
42  - support for 128k ISA DMA buffer
43* mixer
44  - new enhanced API for applications
45  - support for unlimited number of channels
46  - volume can be set in three ways (percentual (0-100), exact and decibel)
47  - support for mute (and hardware mute if hardware supports it)
48  - support for mixer events
49    - this allows two or more applications to be synchronized
50* digital audio (PCM)
51  - new enhanced API for applications
52  - full real duplex support
53  - full duplex support for SoundBlaster 16/AWE soundcards
54  - digital audio data for playback and record should be read back using
55    proc filesystem
56* OSS/Lite compatibility
57  - full mixer compatibity
58  - full PCM (/dev/dsp) compatibility
59
60%description -l ja
61Advanced Linux Sound Architecture (ALSA) - ライブラリ
62
63仕様
64========
65* 総合
66  - 2.0以降のカーネル用にモジュール化された構造
67  - バージョンとシンボル群の出力をサポート
68  - procファイルシステムの完全なサポート - /proc/sound
69* ISAサウンドカード
70  - 128K ISA DMAバッファのサポート
71* ミキサー
72  - アプリケーション用に拡張された新しいAPI
73  - 無制限のチャンネル数をサポート
74  - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
75  - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
76  - ミキサーによる制御をサポート
77    - this allows two or more applications to be synchronized
78* デジタルオーディオ (PCM)
79  - アプリケーション用に拡張された新しいAPI
80  - 完全な二重化通信をサポート
81  - SoundBlaster 16/AWE用の完全な二重化通信をサポート
82  - proc filesystemを用いたデジタル音声の再生と録音
83* OSS/Lite互換性
84  - ミキサーとの完全互換
85  - PCMとの完全互換 (/dev/dsp)
86
87
88%package -n compat32-%{name}
89Summary: Advanced Linux Sound Architecture (ALSA) Library
90Summary(ja): Advanced Linux Sound Architecture (ALSA) ライブラリ
91Group: System Environment/Libraries
92Requires: alsa-lib = %{version}
93
94%description -n compat32-%{name}
95Advanced Linux Sound Architecture (ALSA) - Library
96
97Features
98========
99* general
100  - modularized architecture with support for 2.0 and latest 2.1 kernels
101  - support for versioned and exported symbols
102  - full proc filesystem support - /proc/sound
103* ISA soundcards
104  - support for 128k ISA DMA buffer
105* mixer
106  - new enhanced API for applications
107  - support for unlimited number of channels
108  - volume can be set in three ways (percentual (0-100), exact and decibel)
109  - support for mute (and hardware mute if hardware supports it)
110  - support for mixer events
111    - this allows two or more applications to be synchronized
112* digital audio (PCM)
113  - new enhanced API for applications
114  - full real duplex support
115  - full duplex support for SoundBlaster 16/AWE soundcards
116  - digital audio data for playback and record should be read back using
117    proc filesystem
118* OSS/Lite compatibility
119  - full mixer compatibity
120  - full PCM (/dev/dsp) compatibility
121
122
123%description -n compat32-%{name} -l ja
124Advanced Linux Sound Architecture (ALSA) - ライブラリ
125
126仕様
127========
128* 総合
129  - 2.0以降のカーネル用にモジュール化された構造
130  - バージョンとシンボル群の出力をサポート
131  - procファイルシステムの完全なサポート - /proc/sound
132* ISAサウンドカード
133  - 128K ISA DMAバッファのサポート
134* ミキサー
135  - アプリケーション用に拡張された新しいAPI
136  - 無制限のチャンネル数をサポート
137  - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
138  - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
139  - ミキサーによる制御をサポート
140    - this allows two or more applications to be synchronized
141* デジタルオーディオ (PCM)
142  - アプリケーション用に拡張された新しいAPI
143  - 完全な二重化通信をサポート
144  - SoundBlaster 16/AWE用の完全な二重化通信をサポート
145  - proc filesystemを用いたデジタル音声の再生と録音
146* OSS/Lite互換性
147  - ミキサーとの完全互換
148  - PCMとの完全互換 (/dev/dsp)
149
150
151%package devel
152Summary: Development files for alsa-lib
153Summary(ja): alsa-lib の開発用ファイル
154Group: Development/Libraries
155Requires: alsa-lib = %{version}
156
157%description devel
158alsa-lib-devel package includes thje static libraries and  header files.
159
160%description -l ja devel
161alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
162
163
164%package -n compat32-%{name}-devel
165Summary: Development files for alsa-lib
166Summary(ja): alsa-lib の開発用ファイル
167Group: Development/Libraries
168Requires: %{name}-devel    = %{version}
169Requires: compat32-%{name} = %{version}
170
171%description -n compat32-%{name}-devel
172alsa-lib-devel package includes thje static libraries and  header files.
173
174%description -n compat32-%{name}-devel -l ja
175alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
176
177
178%prep
179%setup -q
180%patch2 -p1 -b .glibc-open
181%patch3 -p1 -b .pulse-default
182%patch4 -p1 -b .no-dox-date
183#%patch5 -p1 -b .softvolmute
184#%patch6 -p1 -b .clamprrfw
185#%patch7 -p1 -b .fixtype
186#%patch8 -p1 -b .fixreturnrrfw
187%patch10 -p1
188
189%build
190%configure --disable-python
191make %{?_smp_mflags}
192
193%if %make_doc
194 make doc
195%endif
196
197%install
198rm -rf %{buildroot}
199make install DESTDIR=$RPM_BUILD_ROOT
200
201rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
202rm -f $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/smixer/*.la
203
204%clean
205rm -rf %{buildroot}
206
207%post -p /sbin/ldconfig
208
209%postun -p /sbin/ldconfig
210
211%files
212%defattr(-, root, root)
213%doc [A-Z][^a]* doc/R* doc/*.txt
214%{_libdir}/lib*.so.*
215%dir %{_libdir}/alsa-lib
216%{_libdir}/alsa-lib/smixer/*.so
217%{_datadir}/alsa/*
218%{_bindir}/aserver
219
220%files devel
221%defattr(-, root, root)
222%if %make_doc
223  %doc doc/doxygen/html
224%endif
225%{_libdir}/lib*.so
226%{_includedir}/alsa
227%{_includedir}/sys/asoundlib.h
228%{_libdir}/pkgconfig/alsa.pc
229%{_datadir}/aclocal/alsa.m4
230
231%if %{build_compat32}
232%files -n compat32-%{name}
233%defattr(-, root, root)
234%{_libdir}/lib*.so.*
235%dir %{_libdir}/alsa-lib
236%{_libdir}/alsa-lib/smixer/*.so
237
238%files -n compat32-%{name}-devel
239%defattr(-, root, root)
240%{_libdir}/lib*.so
241%{_libdir}/pkgconfig/alsa.pc
242%endif
243
244
245%changelog
246* Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
247- new upstream release
248
249* Tue Jan 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-2
250- added --disable-python
251- added %%post and %%postun section
252
253* Wed Dec 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
254- new upstream release
255- added BR: python-devel
256
257* Thu Oct  8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21a-1
258- new upstream release
259
260* Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.20-1
261- new upstream release
262
263* Wed Feb 18 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
264- new upstream release
265- drop Patch5/6/7/8 since they are already merged into upstream
266
267* Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
268- new upstream release
269- add patches from upstream to better support pulseaudio
270- add hook to /etc/alsa/default-pluse.conf
271- disable static libs
272
273* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.16-1vl5
274- new upstream release
275
276* Sun Oct 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
277- new upstream release
278- updated Patch10
279
280* Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl2
281- add Patch10 (not to use audio group for dmix)
282
283* Thu Aug 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl1
284- new upstream release
285
286* Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-0vl5
287- removed unnecessary branch statement
288
289* Tue Jun 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.10-0vl4
290- add BuildRequires: doxygen again
291
292* Mon Mar 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.0.10-0vl3
293- added compat32-* packages for x86_64 architecture support
294
295* Sat Mar 11 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.10-0vl2
296- unused libtool at make
297- rebuilt for x86_64 architecture
298
299* Sat Dec 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-0vl1
300- new upstream release
301
302* Sat Jun 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl2
303- add Japanese summary and description (thanks to Masa Takahashi)
304
305* Fri Jun 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
306- new upstream release
307
308* Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl1
309- new upstream version
310- remove Requires: alsa-driver
311- split development files to alsa-lib-devel
312
313* Wed Aug 04 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0.5-0vl1
314- New upstream version alsa-lib-1.0.5)
315
316* Sat May 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.4-0vl2
317- rebuild for VineSeed
318- merged spec file from 1.0.4-0vl2.13
319
320* Mon Apr 26 2004 Masaki Shinomiya <shino@pos.to> 1.0.4-0vl1
321- new upstream release
322
323* Sat Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
324- rebuild for VineSeed
325
326* Thu Feb 12 2004 Masaki Shinomiya <shino@pos.to> 1.0.2-0vl1
327- new upstream release
328- not buildrequire alsa-driver
329- make doc if doxygen installed
330
331* Fri Feb 15 2002 Toru Sagami <sagami@vinelinux.org> 0.5.10b-0vl2
332- rebuilt on current environment
333
334* Tue Mar 27 2001 Satoshi MACHINO <machino@vinelinux.org> 0.5.10b-0vl1
335- updated 0.5.10b and build kernel-2.2.18-0vl13
336
337* Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
338- 0.5.10-0vl2
339- use better macros and makeinstall
340
341* Thu Dec 07 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
342- 0.5.10
343- removed Provides: libasound-0.5.5.so
344
345* Tue Jun 20 2000 Toru Sagami <czs14350@nifty.ne.jp>
346- import to Vine 0.5.8-0vl1 from 0.5.8-0k1
347- BuildRequires: alsa-driver >= 0.5.5
348
349* Tue Jun  5 2000 AYUHANA Tomonori <l@kondara.org>
350- Version up 0.5.7 -> 0.5.8
351- add -q at %setup
352- use %%configure
353
354* Thu Apr  9 2000 Toru Hoshina <t@kondara.org>
355- Version up 0.5.6 -> 0.5.7
356
357* Wed Mar 15 2000 Daiki Matsuda <dyky@kondara.org>
358- Version up 0.5.5 -> 0.5.6
359- Provides libasound-0.5.5.so for compatiblity
360
361* Thu Mar  2 2000 Toru Hoshina <t@kondara.org>
362- Version up 0.5.4 -> 0.5.5
363
364* Sun Feb 28 2000 Toru Hoshina <t@kondara.org>
365- Version up 0.4.1e -> 0.5.4
366
367* Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
368- be a NoSrc :-P
369
370* Mon May 28 1998 Helge Jensen <slog@slog.dk>
371
372- Made SPEC file
Note: See TracBrowser for help on using the repository browser.