alsa-lib-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. # --define nosrc:1 ... to make nosrc package
  2. Summary: Advanced Linux Sound Architecture (ALSA) Library
  3. Summary(ja): Advanced Linux Sound Architecture (ALSA) ライブラリ
  4. Name: alsa-lib
  5. Version: 1.0.22
  6. Release: 2%{?_dist_release}
  7. License: LGPLv2+
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
  10. Patch2: alsa-lib-1.0.14-glibc-open.patch
  11. Patch3: alsa-lib-pulse-default.patch
  12. Patch4: alsa-lib-1.0.16-no-dox-date.patch
  13. Patch10: alsa-lib-1.0.15-dmix-not-use-audio-group.patch
  14. %{?nosrc:NoSource: 0}
  15. URL: http://www.alsa-project.org/
  16. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: doxygen
  19. #BuildRequires: python-devel
  20. %define make_doc %(which doxygen &> /dev/null && echo 1 || echo 0)
  21. #BuildRequires: alsa-driver >= 0.9
  22. #Requires: alsa-driver >= 0.9
  23. #Provides: libasound-%{version}.so
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. %description
  27. Advanced Linux Sound Architecture (ALSA) - Library
  28. Features
  29. ========
  30. * general
  31. - modularized architecture with support for 2.0 and latest 2.1 kernels
  32. - support for versioned and exported symbols
  33. - full proc filesystem support - /proc/sound
  34. * ISA soundcards
  35. - support for 128k ISA DMA buffer
  36. * mixer
  37. - new enhanced API for applications
  38. - support for unlimited number of channels
  39. - volume can be set in three ways (percentual (0-100), exact and decibel)
  40. - support for mute (and hardware mute if hardware supports it)
  41. - support for mixer events
  42. - this allows two or more applications to be synchronized
  43. * digital audio (PCM)
  44. - new enhanced API for applications
  45. - full real duplex support
  46. - full duplex support for SoundBlaster 16/AWE soundcards
  47. - digital audio data for playback and record should be read back using
  48. proc filesystem
  49. * OSS/Lite compatibility
  50. - full mixer compatibity
  51. - full PCM (/dev/dsp) compatibility
  52. %description -l ja
  53. Advanced Linux Sound Architecture (ALSA) - ライブラリ
  54. 仕様
  55. ========
  56. * 総合
  57. - 2.0以降のカーネル用にモジュール化された構造
  58. - バージョンとシンボル群の出力をサポート
  59. - procファイルシステムの完全なサポート - /proc/sound
  60. * ISAサウンドカード
  61. - 128K ISA DMAバッファのサポート
  62. * ミキサー
  63. - アプリケーション用に拡張された新しいAPI
  64. - 無制限のチャンネル数をサポート
  65. - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
  66. - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
  67. - ミキサーによる制御をサポート
  68. - this allows two or more applications to be synchronized
  69. * デジタルオーディオ (PCM)
  70. - アプリケーション用に拡張された新しいAPI
  71. - 完全な二重化通信をサポート
  72. - SoundBlaster 16/AWE用の完全な二重化通信をサポート
  73. - proc filesystemを用いたデジタル音声の再生と録音
  74. * OSS/Lite互換性
  75. - ミキサーとの完全互換
  76. - PCMとの完全互換 (/dev/dsp)
  77. %package -n compat32-%{name}
  78. Summary: Advanced Linux Sound Architecture (ALSA) Library
  79. Summary(ja): Advanced Linux Sound Architecture (ALSA) ライブラリ
  80. Group: System Environment/Libraries
  81. Requires: alsa-lib = %{version}
  82. %description -n compat32-%{name}
  83. Advanced Linux Sound Architecture (ALSA) - Library
  84. Features
  85. ========
  86. * general
  87. - modularized architecture with support for 2.0 and latest 2.1 kernels
  88. - support for versioned and exported symbols
  89. - full proc filesystem support - /proc/sound
  90. * ISA soundcards
  91. - support for 128k ISA DMA buffer
  92. * mixer
  93. - new enhanced API for applications
  94. - support for unlimited number of channels
  95. - volume can be set in three ways (percentual (0-100), exact and decibel)
  96. - support for mute (and hardware mute if hardware supports it)
  97. - support for mixer events
  98. - this allows two or more applications to be synchronized
  99. * digital audio (PCM)
  100. - new enhanced API for applications
  101. - full real duplex support
  102. - full duplex support for SoundBlaster 16/AWE soundcards
  103. - digital audio data for playback and record should be read back using
  104. proc filesystem
  105. * OSS/Lite compatibility
  106. - full mixer compatibity
  107. - full PCM (/dev/dsp) compatibility
  108. %description -n compat32-%{name} -l ja
  109. Advanced Linux Sound Architecture (ALSA) - ライブラリ
  110. 仕様
  111. ========
  112. * 総合
  113. - 2.0以降のカーネル用にモジュール化された構造
  114. - バージョンとシンボル群の出力をサポート
  115. - procファイルシステムの完全なサポート - /proc/sound
  116. * ISAサウンドカード
  117. - 128K ISA DMAバッファのサポート
  118. * ミキサー
  119. - アプリケーション用に拡張された新しいAPI
  120. - 無制限のチャンネル数をサポート
  121. - 3通りの音量調整 (パーセント (0-100)、厳密 そして デシベル)
  122. - 消音時のサポート (及び、ハードウェアが対応していればハードウェアによる消音のサポート)
  123. - ミキサーによる制御をサポート
  124. - this allows two or more applications to be synchronized
  125. * デジタルオーディオ (PCM)
  126. - アプリケーション用に拡張された新しいAPI
  127. - 完全な二重化通信をサポート
  128. - SoundBlaster 16/AWE用の完全な二重化通信をサポート
  129. - proc filesystemを用いたデジタル音声の再生と録音
  130. * OSS/Lite互換性
  131. - ミキサーとの完全互換
  132. - PCMとの完全互換 (/dev/dsp)
  133. %package devel
  134. Summary: Development files for alsa-lib
  135. Summary(ja): alsa-lib の開発用ファイル
  136. Group: Development/Libraries
  137. Requires: alsa-lib = %{version}
  138. %description devel
  139. alsa-lib-devel package includes thje static libraries and header files.
  140. %description -l ja devel
  141. alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
  142. %package -n compat32-%{name}-devel
  143. Summary: Development files for alsa-lib
  144. Summary(ja): alsa-lib の開発用ファイル
  145. Group: Development/Libraries
  146. Requires: %{name}-devel = %{version}
  147. Requires: compat32-%{name} = %{version}
  148. %description -n compat32-%{name}-devel
  149. alsa-lib-devel package includes thje static libraries and header files.
  150. %description -n compat32-%{name}-devel -l ja
  151. alsa-lib-develパッケージは静的ライブラリとヘッダファイルを含んでいます。
  152. %prep
  153. %setup -q
  154. %patch2 -p1 -b .glibc-open
  155. %patch3 -p1 -b .pulse-default
  156. %patch4 -p1 -b .no-dox-date
  157. #%patch5 -p1 -b .softvolmute
  158. #%patch6 -p1 -b .clamprrfw
  159. #%patch7 -p1 -b .fixtype
  160. #%patch8 -p1 -b .fixreturnrrfw
  161. %patch10 -p1
  162. %build
  163. %configure --disable-python
  164. make %{?_smp_mflags}
  165. %if %make_doc
  166. make doc
  167. %endif
  168. %install
  169. rm -rf %{buildroot}
  170. make install DESTDIR=$RPM_BUILD_ROOT
  171. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  172. rm -f $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/smixer/*.la
  173. %clean
  174. rm -rf %{buildroot}
  175. %post -p /sbin/ldconfig
  176. %postun -p /sbin/ldconfig
  177. %files
  178. %defattr(-, root, root)
  179. %doc [A-Z][^a]* doc/R* doc/*.txt
  180. %{_libdir}/lib*.so.*
  181. %dir %{_libdir}/alsa-lib
  182. %{_libdir}/alsa-lib/smixer/*.so
  183. %{_datadir}/alsa/*
  184. %{_bindir}/aserver
  185. %files devel
  186. %defattr(-, root, root)
  187. %if %make_doc
  188. %doc doc/doxygen/html
  189. %endif
  190. %{_libdir}/lib*.so
  191. %{_includedir}/alsa
  192. %{_includedir}/sys/asoundlib.h
  193. %{_libdir}/pkgconfig/alsa.pc
  194. %{_datadir}/aclocal/alsa.m4
  195. %if %{build_compat32}
  196. %files -n compat32-%{name}
  197. %defattr(-, root, root)
  198. %{_libdir}/lib*.so.*
  199. %dir %{_libdir}/alsa-lib
  200. %{_libdir}/alsa-lib/smixer/*.so
  201. %files -n compat32-%{name}-devel
  202. %defattr(-, root, root)
  203. %{_libdir}/lib*.so
  204. %{_libdir}/pkgconfig/alsa.pc
  205. %endif
  206. %changelog
  207. * Tue Jan 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-2
  208. - added --disable-python
  209. - added %%post and %%postun section
  210. * Wed Dec 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
  211. - new upstream release
  212. - added BR: python-devel
  213. * Thu Oct 8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21a-1
  214. - new upstream release
  215. * Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.20-1
  216. - new upstream release
  217. * Wed Feb 18 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
  218. - new upstream release
  219. - drop Patch5/6/7/8 since they are already merged into upstream
  220. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
  221. - new upstream release
  222. - add patches from upstream to better support pulseaudio
  223. - add hook to /etc/alsa/default-pluse.conf
  224. - disable static libs
  225. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.16-1vl5
  226. - new upstream release
  227. * Sun Oct 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
  228. - new upstream release
  229. - updated Patch10
  230. * Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl2
  231. - add Patch10 (not to use audio group for dmix)
  232. * Thu Aug 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl1
  233. - new upstream release
  234. * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-0vl5
  235. - removed unnecessary branch statement
  236. * Tue Jun 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.10-0vl4
  237. - add BuildRequires: doxygen again
  238. * Mon Mar 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.0.10-0vl3
  239. - added compat32-* packages for x86_64 architecture support
  240. * Sat Mar 11 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.10-0vl2
  241. - unused libtool at make
  242. - rebuilt for x86_64 architecture
  243. * Sat Dec 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-0vl1
  244. - new upstream release
  245. * Sat Jun 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl2
  246. - add Japanese summary and description (thanks to Masa Takahashi)
  247. * Fri Jun 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
  248. - new upstream release
  249. * Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl1
  250. - new upstream version
  251. - remove Requires: alsa-driver
  252. - split development files to alsa-lib-devel
  253. * Wed Aug 04 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0.5-0vl1
  254. - New upstream version alsa-lib-1.0.5)
  255. * Sat May 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.4-0vl2
  256. - rebuild for VineSeed
  257. - merged spec file from 1.0.4-0vl2.13
  258. * Mon Apr 26 2004 Masaki Shinomiya <shino@pos.to> 1.0.4-0vl1
  259. - new upstream release
  260. * Sat Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
  261. - rebuild for VineSeed
  262. * Thu Feb 12 2004 Masaki Shinomiya <shino@pos.to> 1.0.2-0vl1
  263. - new upstream release
  264. - not buildrequire alsa-driver
  265. - make doc if doxygen installed
  266. * Fri Feb 15 2002 Toru Sagami <sagami@vinelinux.org> 0.5.10b-0vl2
  267. - rebuilt on current environment
  268. * Tue Mar 27 2001 Satoshi MACHINO <machino@vinelinux.org> 0.5.10b-0vl1
  269. - updated 0.5.10b and build kernel-2.2.18-0vl13
  270. * Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  271. - 0.5.10-0vl2
  272. - use better macros and makeinstall
  273. * Thu Dec 07 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  274. - 0.5.10
  275. - removed Provides: libasound-0.5.5.so
  276. * Tue Jun 20 2000 Toru Sagami <czs14350@nifty.ne.jp>
  277. - import to Vine 0.5.8-0vl1 from 0.5.8-0k1
  278. - BuildRequires: alsa-driver >= 0.5.5
  279. * Tue Jun 5 2000 AYUHANA Tomonori <l@kondara.org>
  280. - Version up 0.5.7 -> 0.5.8
  281. - add -q at %setup
  282. - use %%configure
  283. * Thu Apr 9 2000 Toru Hoshina <t@kondara.org>
  284. - Version up 0.5.6 -> 0.5.7
  285. * Wed Mar 15 2000 Daiki Matsuda <dyky@kondara.org>
  286. - Version up 0.5.5 -> 0.5.6
  287. - Provides libasound-0.5.5.so for compatiblity
  288. * Thu Mar 2 2000 Toru Hoshina <t@kondara.org>
  289. - Version up 0.5.4 -> 0.5.5
  290. * Sun Feb 28 2000 Toru Hoshina <t@kondara.org>
  291. - Version up 0.4.1e -> 0.5.4
  292. * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
  293. - be a NoSrc :-P
  294. * Mon May 28 1998 Helge Jensen <slog@slog.dk>
  295. - Made SPEC file