alsa-lib-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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.26
  6. Release: 1%{?_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. Patch4: alsa-lib-1.0.16-no-dox-date.patch
  12. Patch10: alsa-lib-1.0.15-dmix-not-use-audio-group.patch
  13. %{?nosrc:NoSource: 0}
  14. URL: http://www.alsa-project.org/
  15. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: doxygen
  18. #BuildRequires: python-devel
  19. %define make_doc %(which doxygen &> /dev/null && echo 1 || echo 0)
  20. #BuildRequires: alsa-driver >= 0.9
  21. #Requires: alsa-driver >= 0.9
  22. #Provides: libasound-%{version}.so
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: shaolin
  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. %patch4 -p1 -b .no-dox-date
  156. #%patch5 -p1 -b .softvolmute
  157. #%patch6 -p1 -b .clamprrfw
  158. #%patch7 -p1 -b .fixtype
  159. #%patch8 -p1 -b .fixreturnrrfw
  160. %patch10 -p1
  161. %build
  162. %configure --disable-python
  163. make %{?_smp_mflags}
  164. %if %make_doc
  165. make doc
  166. %endif
  167. %install
  168. rm -rf %{buildroot}
  169. make install DESTDIR=$RPM_BUILD_ROOT
  170. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  171. rm -f $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/smixer/*.la
  172. %clean
  173. rm -rf %{buildroot}
  174. %post -p /sbin/ldconfig
  175. %postun -p /sbin/ldconfig
  176. %files
  177. %defattr(-, root, root)
  178. %doc [A-Z][^a]* doc/R* doc/*.txt
  179. %{_libdir}/lib*.so.*
  180. %dir %{_libdir}/alsa-lib
  181. %{_libdir}/alsa-lib/smixer/*.so
  182. %{_datadir}/alsa/*
  183. %{_bindir}/aserver
  184. %files devel
  185. %defattr(-, root, root)
  186. %if %make_doc
  187. %doc doc/doxygen/html
  188. %endif
  189. %{_libdir}/lib*.so
  190. %{_includedir}/alsa
  191. %{_includedir}/sys/asoundlib.h
  192. %{_libdir}/pkgconfig/alsa.pc
  193. %{_datadir}/aclocal/alsa.m4
  194. %if %{build_compat32}
  195. %files -n compat32-%{name}
  196. %defattr(-, root, root)
  197. %{_libdir}/lib*.so.*
  198. %dir %{_libdir}/alsa-lib
  199. %{_libdir}/alsa-lib/smixer/*.so
  200. %files -n compat32-%{name}-devel
  201. %defattr(-, root, root)
  202. %{_libdir}/lib*.so
  203. %endif
  204. %changelog
  205. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.26-1
  206. - new upstream release
  207. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.25-1
  208. - new upstream release
  209. - remove Patch3 (alsa-lib-pulse-default.patch)
  210. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.23-2
  211. - rebuild with rpm-4.8.1 for pkg-config file
  212. * Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
  213. - new upstream release
  214. * Tue Jan 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-2
  215. - added --disable-python
  216. - added %%post and %%postun section
  217. * Wed Dec 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
  218. - new upstream release
  219. - added BR: python-devel
  220. * Thu Oct 8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21a-1
  221. - new upstream release
  222. * Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.20-1
  223. - new upstream release
  224. * Wed Feb 18 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
  225. - new upstream release
  226. - drop Patch5/6/7/8 since they are already merged into upstream
  227. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
  228. - new upstream release
  229. - add patches from upstream to better support pulseaudio
  230. - add hook to /etc/alsa/default-pluse.conf
  231. - disable static libs
  232. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.16-1vl5
  233. - new upstream release
  234. * Sun Oct 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
  235. - new upstream release
  236. - updated Patch10
  237. * Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl2
  238. - add Patch10 (not to use audio group for dmix)
  239. * Thu Aug 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl1
  240. - new upstream release
  241. * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-0vl5
  242. - removed unnecessary branch statement
  243. * Tue Jun 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.10-0vl4
  244. - add BuildRequires: doxygen again
  245. * Mon Mar 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.0.10-0vl3
  246. - added compat32-* packages for x86_64 architecture support
  247. * Sat Mar 11 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.10-0vl2
  248. - unused libtool at make
  249. - rebuilt for x86_64 architecture
  250. * Sat Dec 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-0vl1
  251. - new upstream release
  252. * Sat Jun 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl2
  253. - add Japanese summary and description (thanks to Masa Takahashi)
  254. * Fri Jun 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
  255. - new upstream release
  256. * Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl1
  257. - new upstream version
  258. - remove Requires: alsa-driver
  259. - split development files to alsa-lib-devel
  260. * Wed Aug 04 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0.5-0vl1
  261. - New upstream version alsa-lib-1.0.5)
  262. * Sat May 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.4-0vl2
  263. - rebuild for VineSeed
  264. - merged spec file from 1.0.4-0vl2.13
  265. * Mon Apr 26 2004 Masaki Shinomiya <shino@pos.to> 1.0.4-0vl1
  266. - new upstream release
  267. * Sat Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
  268. - rebuild for VineSeed
  269. * Thu Feb 12 2004 Masaki Shinomiya <shino@pos.to> 1.0.2-0vl1
  270. - new upstream release
  271. - not buildrequire alsa-driver
  272. - make doc if doxygen installed
  273. * Fri Feb 15 2002 Toru Sagami <sagami@vinelinux.org> 0.5.10b-0vl2
  274. - rebuilt on current environment
  275. * Tue Mar 27 2001 Satoshi MACHINO <machino@vinelinux.org> 0.5.10b-0vl1
  276. - updated 0.5.10b and build kernel-2.2.18-0vl13
  277. * Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  278. - 0.5.10-0vl2
  279. - use better macros and makeinstall
  280. * Thu Dec 07 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  281. - 0.5.10
  282. - removed Provides: libasound-0.5.5.so
  283. * Tue Jun 20 2000 Toru Sagami <czs14350@nifty.ne.jp>
  284. - import to Vine 0.5.8-0vl1 from 0.5.8-0k1
  285. - BuildRequires: alsa-driver >= 0.5.5
  286. * Tue Jun 5 2000 AYUHANA Tomonori <l@kondara.org>
  287. - Version up 0.5.7 -> 0.5.8
  288. - add -q at %setup
  289. - use %%configure
  290. * Thu Apr 9 2000 Toru Hoshina <t@kondara.org>
  291. - Version up 0.5.6 -> 0.5.7
  292. * Wed Mar 15 2000 Daiki Matsuda <dyky@kondara.org>
  293. - Version up 0.5.5 -> 0.5.6
  294. - Provides libasound-0.5.5.so for compatiblity
  295. * Thu Mar 2 2000 Toru Hoshina <t@kondara.org>
  296. - Version up 0.5.4 -> 0.5.5
  297. * Sun Feb 28 2000 Toru Hoshina <t@kondara.org>
  298. - Version up 0.4.1e -> 0.5.4
  299. * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
  300. - be a NoSrc :-P
  301. * Mon May 28 1998 Helge Jensen <slog@slog.dk>
  302. - Made SPEC file