alsa-lib-vl.spec 12 KB

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