source: projects/specs/branches/6/a/alsa-lib/alsa-lib-vl.spec @ 1900

Revision 1900, 11.5 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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