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

Revision 12277, 13.4 KB checked in by tomop, 5 years ago (diff)

updated 22 packages

Cython-0.29.13-1

alsa-lib-1.1.9-1

alsa-plugins-1.1.9-1

alsa-tools-1.1.7-1

alsa-utils-1.1.9-1

cairo-1.16.0-1

evince-3.30.3-1

expat-2.2.9-1

file-roller-3.30.1-1

gtk-doc-1.32-2

libplist-2.0.0-1

libsndfile-1.0.28-1

ncurses-6.1-2

openssh-8.1p1-1

python-2.7.16-5

python3-3.5.7-4

rsync-3.1.3-1

samba-4.10.9-1

sudo-1.8.28-1

sysstat-12.1.7-1

tix-8.4.3-5

zabbix-4.0.13-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.9
6Release: 1%{?_dist_release}
7License: LGPLv2+
8Group: System Environment/Libraries
9#Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
10Source: https://github.com/alsa-project/alsa-lib/archive/v%{version}.tar.gz#/alsa-lib-%{version}.tar.gz
11Source10: asound.conf
12Source11: modprobe-dist-alsa.conf
13Source12: modprobe-dist-oss.conf
14Patch0:   alsa-lib-1.0.24-config.patch
15Patch1:   alsa-lib-1.0.14-glibc-open.patch
16
17%{?nosrc:NoSource:     0}
18URL: http://www.alsa-project.org/
19%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
20
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22BuildRequires: doxygen
23#BuildRequires: python-devel
24%define make_doc %(which doxygen &> /dev/null && echo 1 || echo 0)
25
26#BuildRequires: alsa-driver >= 0.9
27#Requires: alsa-driver >= 0.9
28#Provides: libasound-%{version}.so
29
30Vendor: Project Vine
31Distribution: Vine Linux
32Packager: shaolin
33
34%description
35Advanced Linux Sound Architecture (ALSA) - Library
36
37Features
38========
39* general
40  - modularized architecture with support for 2.0 and latest 2.1 kernels
41  - support for versioned and exported symbols
42  - full proc filesystem support - /proc/sound
43* ISA soundcards
44  - support for 128k ISA DMA buffer
45* mixer
46  - new enhanced API for applications
47  - support for unlimited number of channels
48  - volume can be set in three ways (percentual (0-100), exact and decibel)
49  - support for mute (and hardware mute if hardware supports it)
50  - support for mixer events
51    - this allows two or more applications to be synchronized
52* digital audio (PCM)
53  - new enhanced API for applications
54  - full real duplex support
55  - full duplex support for SoundBlaster 16/AWE soundcards
56  - digital audio data for playback and record should be read back using
57    proc filesystem
58* OSS/Lite compatibility
59  - full mixer compatibity
60  - full PCM (/dev/dsp) compatibility
61
62%description -l ja
63Advanced Linux Sound Architecture (ALSA) - ライブラリ
64
65仕様
66========
67* 総合
68  - 2.0以降のカーネル用にモジュール化された構造
69  - バージョンとシンボル群の出力をサポート
70  - procファイルシステムの完全なサポート - /proc/sound
71* ISAサウンドカード
72  - 128K ISA DMAバッファのサポート
73* ミキサー
74  - アプリケーション用に拡張された新しいAPI
75  - 無制限のチャンネル数をサポート
76  - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
77  - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
78  - ミキサーによる制御をサポート
79    - this allows two or more applications to be synchronized
80* デジタルオーディオ (PCM)
81  - アプリケーション用に拡張された新しいAPI
82  - 完全な二重化通信をサポート
83  - SoundBlaster 16/AWE用の完全な二重化通信をサポート
84  - proc filesystemを用いたデジタル音声の再生と録音
85* OSS/Lite互換性
86  - ミキサーとの完全互換
87  - PCMとの完全互換 (/dev/dsp)
88
89
90%package -n compat32-%{name}
91Summary: Advanced Linux Sound Architecture (ALSA) Library
92Summary(ja): Advanced Linux Sound Architecture (ALSA) ライブラリ
93Group: System Environment/Libraries
94Requires: alsa-lib = %{version}
95
96%description -n compat32-%{name}
97Advanced Linux Sound Architecture (ALSA) - Library
98
99Features
100========
101* general
102  - modularized architecture with support for 2.0 and latest 2.1 kernels
103  - support for versioned and exported symbols
104  - full proc filesystem support - /proc/sound
105* ISA soundcards
106  - support for 128k ISA DMA buffer
107* mixer
108  - new enhanced API for applications
109  - support for unlimited number of channels
110  - volume can be set in three ways (percentual (0-100), exact and decibel)
111  - support for mute (and hardware mute if hardware supports it)
112  - support for mixer events
113    - this allows two or more applications to be synchronized
114* digital audio (PCM)
115  - new enhanced API for applications
116  - full real duplex support
117  - full duplex support for SoundBlaster 16/AWE soundcards
118  - digital audio data for playback and record should be read back using
119    proc filesystem
120* OSS/Lite compatibility
121  - full mixer compatibity
122  - full PCM (/dev/dsp) compatibility
123
124
125%description -n compat32-%{name} -l ja
126Advanced Linux Sound Architecture (ALSA) - ライブラリ
127
128仕様
129========
130* 総合
131  - 2.0以降のカーネル用にモジュール化された構造
132  - バージョンとシンボル群の出力をサポート
133  - procファイルシステムの完全なサポート - /proc/sound
134* ISAサウンドカード
135  - 128K ISA DMAバッファのサポート
136* ミキサー
137  - アプリケーション用に拡張された新しいAPI
138  - 無制限のチャンネル数をサポート
139  - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
140  - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
141  - ミキサーによる制御をサポート
142    - this allows two or more applications to be synchronized
143* デジタルオーディオ (PCM)
144  - アプリケーション用に拡張された新しいAPI
145  - 完全な二重化通信をサポート
146  - SoundBlaster 16/AWE用の完全な二重化通信をサポート
147  - proc filesystemを用いたデジタル音声の再生と録音
148* OSS/Lite互換性
149  - ミキサーとの完全互換
150  - PCMとの完全互換 (/dev/dsp)
151
152
153%package devel
154Summary: Development files for alsa-lib
155Summary(ja): alsa-lib の開発用ファイル
156Group: Development/Libraries
157Requires: alsa-lib = %{version}
158
159%description devel
160alsa-lib-devel package includes thje static libraries and  header files.
161
162%description -l ja devel
163alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
164
165
166%package -n compat32-%{name}-devel
167Summary: Development files for alsa-lib
168Summary(ja): alsa-lib の開発用ファイル
169Group: Development/Libraries
170Requires: %{name}-devel    = %{version}
171Requires: compat32-%{name} = %{version}
172
173%description -n compat32-%{name}-devel
174alsa-lib-devel package includes thje static libraries and  header files.
175
176%description -n compat32-%{name}-devel -l ja
177alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
178
179
180%prep
181%setup -q
182%patch0 -p1 -b .config
183%patch1 -p1 -b .glibc-open
184
185%build
186autoreconf -vif
187%configure \
188    --disable-python \
189    --disable-aload \
190    --with-plugindir=%{_libdir}/alsa-lib \
191    --disable-alisp
192
193# Remove useless /usr/lib64 rpath on 64bit archs
194sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
195sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
196
197make %{?_smp_mflags} V=1
198
199%if %make_doc
200 make doc
201%endif
202
203%install
204rm -rf %{buildroot}
205make install DESTDIR=$RPM_BUILD_ROOT
206
207# We need the library to be available even before /usr might be mounted
208mkdir -p %{buildroot}/%{_lib}
209mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib}
210ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
211
212# Install global configuration files
213mkdir -p -m 755 %{buildroot}/etc
214install -p -m 644 %{SOURCE10} %{buildroot}/etc
215
216# Install the modprobe files for ALSA
217mkdir -p -m 755 %{buildroot}/lib/modprobe.d/
218install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf
219# bug#926973, place this file to the doc directory
220install -p -m 644 %{SOURCE12} .
221
222# Create UCM directory
223mkdir -p %{buildroot}/%{_datadir}/alsa/ucm
224
225# Remove libtool archives.
226find %{buildroot} -name '*.la' -delete
227
228# create plugin-configurations directory
229mkdir -p %{buildroot}/%{_sysconfdir}/alsa/conf.d
230mkdir -p %{buildroot}/%{_datadir}/alsa/alsa.conf.d
231
232%clean
233rm -rf %{buildroot}
234
235%post -p /sbin/ldconfig
236
237%postun -p /sbin/ldconfig
238
239%files
240%defattr(-, root, root)
241%{!?_licensedir:%global license %%doc}
242%license COPYING
243%doc doc/asoundrc.txt modprobe-dist-oss.conf
244%config %{_sysconfdir}/asound.conf
245%{_sysconfdir}/alsa
246/%{_lib}/lib*.so.*
247%{_bindir}/aserver
248#dir %{_libdir}/alsa-lib
249#{_libdir}/alsa-lib/smixer/*.so
250%{_datadir}/alsa/
251/lib/modprobe.d/dist-*
252
253%files devel
254%defattr(-, root, root)
255%doc TODO
256%if %make_doc
257  %doc doc/doxygen/html
258%endif
259%{_includedir}/asoundlib.h
260%{_includedir}/alsa/
261%{_includedir}/sys/asoundlib.h
262%{_libdir}/libasound.so
263%{_libdir}/pkgconfig/alsa.pc
264%{_datadir}/aclocal/alsa.m4
265
266%if %{build_compat32}
267%files -n compat32-%{name}
268%defattr(-, root, root)
269/%{_lib}/lib*.so.*
270#dir %{_libdir}/alsa-lib
271#{_libdir}/alsa-lib/smixer/*.so
272
273%files -n compat32-%{name}-devel
274%defattr(-, root, root)
275%{_libdir}/lib*.so
276%endif
277
278
279%changelog
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.