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

Revision 12505, 13.6 KB checked in by tomop, 3 years ago (diff)

updated 6 packages

alsa-lib-1.2.3.2-1

alsa-oss-1.1.8-1

alsa-plugins-1.2.2-1

libproxy-0.4.15-4

python3-3.8.6-1

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