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

Revision 12380, 13.4 KB checked in by tomop, 4 years ago (diff)

updated 12 packages

alsa-firmware-1.2.1-1

alsa-lib-1.2.2-1

alsa-tools-1.2.2-1

alsa-utils-1.2.2-1

gstreamer1-1.16.2-1

linux-firmware-20200316-1

libsrtp-2.3.0-1

libvpx-1.8.2-1

libwebp-1.1.0-1

opus-1.3.1-1

pulseaudio-13.0-1

speex-1.2.0-2

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