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

Revision 10288, 12.0 KB checked in by Takemikaduchi, 8 years ago (diff)

task-all-codecs: remove xine-lib-esd
others: 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.1.1
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* Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
244- new upstream release
245
246* Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.29-1
247- new upstream release
248
249* Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.28-1
250- new upstream release
251
252* Fri Jul 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.27.2-1
253- new upstream release
254
255* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.26-1
256- new upstream release
257
258* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.25-1
259- new upstream release
260- remove Patch3 (alsa-lib-pulse-default.patch)
261
262* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.23-2
263- rebuild with rpm-4.8.1 for pkg-config file
264
265* Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
266- new upstream release
267
268* Tue Jan 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-2
269- added --disable-python
270- added %%post and %%postun section
271
272* Wed Dec 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
273- new upstream release
274- added BR: python-devel
275
276* Thu Oct  8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21a-1
277- new upstream release
278
279* Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.20-1
280- new upstream release
281
282* Wed Feb 18 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
283- new upstream release
284- drop Patch5/6/7/8 since they are already merged into upstream
285
286* Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
287- new upstream release
288- add patches from upstream to better support pulseaudio
289- add hook to /etc/alsa/default-pluse.conf
290- disable static libs
291
292* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.16-1vl5
293- new upstream release
294
295* Sun Oct 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
296- new upstream release
297- updated Patch10
298
299* Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl2
300- add Patch10 (not to use audio group for dmix)
301
302* Thu Aug 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl1
303- new upstream release
304
305* Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-0vl5
306- removed unnecessary branch statement
307
308* Tue Jun 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.10-0vl4
309- add BuildRequires: doxygen again
310
311* Mon Mar 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.0.10-0vl3
312- added compat32-* packages for x86_64 architecture support
313
314* Sat Mar 11 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.10-0vl2
315- unused libtool at make
316- rebuilt for x86_64 architecture
317
318* Sat Dec 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-0vl1
319- new upstream release
320
321* Sat Jun 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl2
322- add Japanese summary and description (thanks to Masa Takahashi)
323
324* Fri Jun 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
325- new upstream release
326
327* Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl1
328- new upstream version
329- remove Requires: alsa-driver
330- split development files to alsa-lib-devel
331
332* Wed Aug 04 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0.5-0vl1
333- New upstream version alsa-lib-1.0.5)
334
335* Sat May 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.4-0vl2
336- rebuild for VineSeed
337- merged spec file from 1.0.4-0vl2.13
338
339* Mon Apr 26 2004 Masaki Shinomiya <shino@pos.to> 1.0.4-0vl1
340- new upstream release
341
342* Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
343- rebuild for VineSeed
344
345* Thu Feb 12 2004 Masaki Shinomiya <shino@pos.to> 1.0.2-0vl1
346- new upstream release
347- not buildrequire alsa-driver
348- make doc if doxygen installed
349
350* Fri Feb 15 2002 Toru Sagami <sagami@vinelinux.org> 0.5.10b-0vl2
351- rebuilt on current environment
352
353* Tue Mar 27 2001 Satoshi MACHINO <machino@vinelinux.org> 0.5.10b-0vl1
354- updated 0.5.10b and build kernel-2.2.18-0vl13
355
356* Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
357- 0.5.10-0vl2
358- use better macros and makeinstall
359
360* Thu Dec 07 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
361- 0.5.10
362- removed Provides: libasound-0.5.5.so
363
364* Tue Jun 20 2000 Toru Sagami <czs14350@nifty.ne.jp>
365- import to Vine 0.5.8-0vl1 from 0.5.8-0k1
366- BuildRequires: alsa-driver >= 0.5.5
367
368* Mon Jun  5 2000 AYUHANA Tomonori <l@kondara.org>
369- Version up 0.5.7 -> 0.5.8
370- add -q at %setup
371- use %%configure
372
373* Sun Apr  9 2000 Toru Hoshina <t@kondara.org>
374- Version up 0.5.6 -> 0.5.7
375
376* Wed Mar 15 2000 Daiki Matsuda <dyky@kondara.org>
377- Version up 0.5.5 -> 0.5.6
378- Provides libasound-0.5.5.so for compatiblity
379
380* Thu Mar  2 2000 Toru Hoshina <t@kondara.org>
381- Version up 0.5.4 -> 0.5.5
382
383* Mon Feb 28 2000 Toru Hoshina <t@kondara.org>
384- Version up 0.4.1e -> 0.5.4
385
386* Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
387- be a NoSrc :-P
388
389* Thu May 28 1998 Helge Jensen <slog@slog.dk>
390
391- Made SPEC file
Note: See TracBrowser for help on using the repository browser.