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

Revision 9661, 11.9 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

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