123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449 |
- # --define nosrc:1 ... to make nosrc package
- Summary: Advanced Linux Sound Architecture (ALSA) Library
- Summary(ja): Advanced Linux Sound Architecture (ALSA) ライブラリ
- Name: alsa-lib
- Version: 1.2.12
- Release: 1%{?_dist_release}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: shaolin
- License: LGPLv2+
- URL: https://www.alsa-project.org/wiki/Main_Page
- #Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
- Source: https://github.com/alsa-project/alsa-lib/archive/v%{version}.tar.gz#/alsa-lib-%{version}.tar.gz
- Source10: asound.conf
- Source11: modprobe-dist-alsa.conf
- Source12: modprobe-dist-oss.conf
- Patch1: alsa-lib-1.0.14-glibc-open.patch
- %{?nosrc:NoSource: 0}
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: doxygen
- %define make_doc %(which doxygen &> /dev/null && echo 1 || echo 0)
- %description
- Advanced Linux Sound Architecture (ALSA) - Library
- Features
- ========
- * general
- - modularized architecture with support for 2.0 and latest 2.1 kernels
- - support for versioned and exported symbols
- - full proc filesystem support - /proc/sound
- * ISA soundcards
- - support for 128k ISA DMA buffer
- * mixer
- - new enhanced API for applications
- - support for unlimited number of channels
- - volume can be set in three ways (percentual (0-100), exact and decibel)
- - support for mute (and hardware mute if hardware supports it)
- - support for mixer events
- - this allows two or more applications to be synchronized
- * digital audio (PCM)
- - new enhanced API for applications
- - full real duplex support
- - full duplex support for SoundBlaster 16/AWE soundcards
- - digital audio data for playback and record should be read back using
- proc filesystem
- * OSS/Lite compatibility
- - full mixer compatibity
- - full PCM (/dev/dsp) compatibility
- %description -l ja
- Advanced Linux Sound Architecture (ALSA) - ライブラリ
- 仕様
- ========
- * 総合
- - 2.0以降のカーネル用にモジュール化された構造
- - バージョンとシンボル群の出力をサポート
- - procファイルシステムの完全なサポート - /proc/sound
- * ISAサウンドカード
- - 128K ISA DMAバッファのサポート
- * ミキサー
- - アプリケーション用に拡張された新しいAPI
- - 無制限のチャンネル数をサポート
- - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
- - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
- - ミキサーによる制御をサポート
- - this allows two or more applications to be synchronized
- * デジタルオーディオ (PCM)
- - アプリケーション用に拡張された新しいAPI
- - 完全な二重化通信をサポート
- - SoundBlaster 16/AWE用の完全な二重化通信をサポート
- - proc filesystemを用いたデジタル音声の再生と録音
- * OSS/Lite互換性
- - ミキサーとの完全互換
- - PCMとの完全互換 (/dev/dsp)
- %package -n compat32-%{name}
- Summary: Advanced Linux Sound Architecture (ALSA) Library
- Summary(ja): Advanced Linux Sound Architecture (ALSA) ライブラリ
- Group: system,legacy
- Requires: alsa-lib = %{version}
- %description -n compat32-%{name}
- Advanced Linux Sound Architecture (ALSA) - Library
- Features
- ========
- * general
- - modularized architecture with support for 2.0 and latest 2.1 kernels
- - support for versioned and exported symbols
- - full proc filesystem support - /proc/sound
- * ISA soundcards
- - support for 128k ISA DMA buffer
- * mixer
- - new enhanced API for applications
- - support for unlimited number of channels
- - volume can be set in three ways (percentual (0-100), exact and decibel)
- - support for mute (and hardware mute if hardware supports it)
- - support for mixer events
- - this allows two or more applications to be synchronized
- * digital audio (PCM)
- - new enhanced API for applications
- - full real duplex support
- - full duplex support for SoundBlaster 16/AWE soundcards
- - digital audio data for playback and record should be read back using
- proc filesystem
- * OSS/Lite compatibility
- - full mixer compatibity
- - full PCM (/dev/dsp) compatibility
- %description -n compat32-%{name} -l ja
- Advanced Linux Sound Architecture (ALSA) - ライブラリ
- 仕様
- ========
- * 総合
- - 2.0以降のカーネル用にモジュール化された構造
- - バージョンとシンボル群の出力をサポート
- - procファイルシステムの完全なサポート - /proc/sound
- * ISAサウンドカード
- - 128K ISA DMAバッファのサポート
- * ミキサー
- - アプリケーション用に拡張された新しいAPI
- - 無制限のチャンネル数をサポート
- - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
- - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
- - ミキサーによる制御をサポート
- - this allows two or more applications to be synchronized
- * デジタルオーディオ (PCM)
- - アプリケーション用に拡張された新しいAPI
- - 完全な二重化通信をサポート
- - SoundBlaster 16/AWE用の完全な二重化通信をサポート
- - proc filesystemを用いたデジタル音声の再生と録音
- * OSS/Lite互換性
- - ミキサーとの完全互換
- - PCMとの完全互換 (/dev/dsp)
- %package devel
- Summary: Development files for alsa-lib
- Summary(ja): alsa-lib の開発用ファイル
- Group: programming
- Requires: alsa-lib = %{version}
- %description devel
- alsa-lib-devel package includes thje static libraries and header files.
- %description -l ja devel
- alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
- %package -n compat32-%{name}-devel
- Summary: Development files for alsa-lib
- Summary(ja): alsa-lib の開発用ファイル
- Group: programming,legacy
- Requires: %{name}-devel = %{version}
- Requires: compat32-%{name} = %{version}
- %description -n compat32-%{name}-devel
- alsa-lib-devel package includes thje static libraries and header files.
- %description -n compat32-%{name}-devel -l ja
- alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
- %debug_package
- %prep
- %setup -q
- %patch1 -p1 -b .glibc-open
- %build
- autoreconf -vif
- %configure \
- --disable-python \
- --disable-aload \
- --with-plugindir=%{_libdir}/alsa-lib \
- --disable-alisp
- # Remove useless /usr/lib64 rpath on 64bit archs
- sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
- sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
- make %{?_smp_mflags} V=1
- %if %make_doc
- make doc
- %endif
- %install
- rm -rf %{buildroot}
- make install DESTDIR=$RPM_BUILD_ROOT
- # We need the library to be available even before /usr might be mounted
- mkdir -p %{buildroot}/%{_lib}
- mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib}
- ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
- # Install global configuration files
- mkdir -p -m 755 %{buildroot}/etc
- install -p -m 644 %{SOURCE10} %{buildroot}/etc
- # Install the modprobe files for ALSA
- mkdir -p -m 755 %{buildroot}/lib/modprobe.d/
- install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf
- # bug#926973, place this file to the doc directory
- install -p -m 644 %{SOURCE12} .
- # Create UCM directory
- mkdir -p %{buildroot}/%{_datadir}/alsa/ucm
- # Remove libtool archives.
- find %{buildroot} -name '*.la' -delete
- # create plugin-configurations directory
- mkdir -p %{buildroot}/%{_sysconfdir}/alsa/conf.d
- mkdir -p %{buildroot}/%{_datadir}/alsa/alsa.conf.d
- sed -e '/ipc_perm {/i\\tipc_gid {\n\t\t@func refer\n\t\tname defaults.pcm.ipc_gid\n\t}' \
- %{buildroot}/%{_datadir}/alsa/pcm/dsnoop.conf \
- %{buildroot}/%{_datadir}/alsa/pcm/dmix.conf
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-, root, root)
- %{!?_licensedir:%global license %%doc}
- %license COPYING
- %doc doc/asoundrc.txt modprobe-dist-oss.conf
- %config %{_sysconfdir}/asound.conf
- %{_sysconfdir}/alsa
- /%{_lib}/lib*.so.*
- %{_libdir}/lib*.so.*
- %{_bindir}/aserver
- #dir %{_libdir}/alsa-lib
- #{_libdir}/alsa-lib/smixer/*.so
- %{_datadir}/alsa/
- /lib/modprobe.d/dist-*
- %files devel
- %defattr(-, root, root)
- %doc TODO
- %if %make_doc
- %doc doc/doxygen/html
- %endif
- %{_includedir}/asoundlib.h
- %{_includedir}/alsa/
- %{_includedir}/sys/asoundlib.h
- %{_libdir}/*.so
- %{_libdir}/pkgconfig/*.pc
- %{_datadir}/aclocal/alsa.m4
- %if %{build_compat32}
- %files -n compat32-%{name}
- %defattr(-, root, root)
- /%{_lib}/lib*.so.*
- %{_libdir}/*.so.*
- #dir %{_libdir}/alsa-lib
- #{_libdir}/alsa-lib/smixer/*.so
- %files -n compat32-%{name}-devel
- %defattr(-, root, root)
- %{_libdir}/lib*.so
- %endif
- %changelog
- * Sat Jul 06 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.12-1
- - new upstream release.
- * Wed Mar 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-1
- - new upstream release.
- - dropped scriptlets.
- * Fri Oct 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.3.2-1
- - new upstream release.
- - dropped Patch0: made to get same effect with sed.
- * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.2-1
- - new upstream release.
- * Fri Oct 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.9-1
- - new upstream release.
- * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.5-1
- - new upstream release.
- * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
- - new upstream release
- * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.29-1
- - new upstream release
- * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.28-1
- - new upstream release
- * Fri Jul 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.27.2-1
- - new upstream release
- * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.26-1
- - new upstream release
- * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.25-1
- - new upstream release
- - remove Patch3 (alsa-lib-pulse-default.patch)
- * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.23-2
- - rebuild with rpm-4.8.1 for pkg-config file
- * Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
- - new upstream release
- * Tue Jan 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-2
- - added --disable-python
- - added %%post and %%postun section
- * Wed Dec 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
- - new upstream release
- - added BR: python-devel
- * Thu Oct 8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21a-1
- - new upstream release
- * Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.20-1
- - new upstream release
- * Wed Feb 18 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
- - new upstream release
- - drop Patch5/6/7/8 since they are already merged into upstream
- * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
- - new upstream release
- - add patches from upstream to better support pulseaudio
- - add hook to /etc/alsa/default-pluse.conf
- - disable static libs
- * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.16-1vl5
- - new upstream release
- * Sun Oct 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
- - new upstream release
- - updated Patch10
- * Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl2
- - add Patch10 (not to use audio group for dmix)
- * Thu Aug 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl1
- - new upstream release
- * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-0vl5
- - removed unnecessary branch statement
- * Tue Jun 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.10-0vl4
- - add BuildRequires: doxygen again
- * Mon Mar 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.0.10-0vl3
- - added compat32-* packages for x86_64 architecture support
- * Sat Mar 11 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.10-0vl2
- - unused libtool at make
- - rebuilt for x86_64 architecture
- * Sat Dec 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-0vl1
- - new upstream release
- * Sat Jun 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl2
- - add Japanese summary and description (thanks to Masa Takahashi)
- * Fri Jun 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
- - new upstream release
- * Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl1
- - new upstream version
- - remove Requires: alsa-driver
- - split development files to alsa-lib-devel
- * Wed Aug 04 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0.5-0vl1
- - New upstream version alsa-lib-1.0.5)
- * Sat May 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.4-0vl2
- - rebuild for VineSeed
- - merged spec file from 1.0.4-0vl2.13
- * Mon Apr 26 2004 Masaki Shinomiya <shino@pos.to> 1.0.4-0vl1
- - new upstream release
- * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
- - rebuild for VineSeed
- * Thu Feb 12 2004 Masaki Shinomiya <shino@pos.to> 1.0.2-0vl1
- - new upstream release
- - not buildrequire alsa-driver
- - make doc if doxygen installed
- * Fri Feb 15 2002 Toru Sagami <sagami@vinelinux.org> 0.5.10b-0vl2
- - rebuilt on current environment
- * Tue Mar 27 2001 Satoshi MACHINO <machino@vinelinux.org> 0.5.10b-0vl1
- - updated 0.5.10b and build kernel-2.2.18-0vl13
- * Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
- - 0.5.10-0vl2
- - use better macros and makeinstall
- * Thu Dec 07 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
- - 0.5.10
- - removed Provides: libasound-0.5.5.so
- * Tue Jun 20 2000 Toru Sagami <czs14350@nifty.ne.jp>
- - import to Vine 0.5.8-0vl1 from 0.5.8-0k1
- - BuildRequires: alsa-driver >= 0.5.5
- * Mon Jun 5 2000 AYUHANA Tomonori <l@kondara.org>
- - Version up 0.5.7 -> 0.5.8
- - add -q at %setup
- - use %%configure
- * Sun Apr 9 2000 Toru Hoshina <t@kondara.org>
- - Version up 0.5.6 -> 0.5.7
- * Wed Mar 15 2000 Daiki Matsuda <dyky@kondara.org>
- - Version up 0.5.5 -> 0.5.6
- - Provides libasound-0.5.5.so for compatiblity
- * Thu Mar 2 2000 Toru Hoshina <t@kondara.org>
- - Version up 0.5.4 -> 0.5.5
- * Mon Feb 28 2000 Toru Hoshina <t@kondara.org>
- - Version up 0.4.1e -> 0.5.4
- * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
- - be a NoSrc :-P
- * Thu May 28 1998 Helge Jensen <slog@slog.dk>
- - Made SPEC file
|