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

Revision 11508, 13.0 KB checked in by tomop, 6 years ago (diff)

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