alsa-lib-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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.1.1
  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. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  206. - new upstream release
  207. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.29-1
  208. - new upstream release
  209. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.28-1
  210. - new upstream release
  211. * Fri Jul 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.27.2-1
  212. - new upstream release
  213. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.26-1
  214. - new upstream release
  215. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.25-1
  216. - new upstream release
  217. - remove Patch3 (alsa-lib-pulse-default.patch)
  218. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.23-2
  219. - rebuild with rpm-4.8.1 for pkg-config file
  220. * Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
  221. - new upstream release
  222. * Tue Jan 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-2
  223. - added --disable-python
  224. - added %%post and %%postun section
  225. * Wed Dec 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.22-1
  226. - new upstream release
  227. - added BR: python-devel
  228. * Thu Oct 8 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.21a-1
  229. - new upstream release
  230. * Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.20-1
  231. - new upstream release
  232. * Wed Feb 18 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
  233. - new upstream release
  234. - drop Patch5/6/7/8 since they are already merged into upstream
  235. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.17-1
  236. - new upstream release
  237. - add patches from upstream to better support pulseaudio
  238. - add hook to /etc/alsa/default-pluse.conf
  239. - disable static libs
  240. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.16-1vl5
  241. - new upstream release
  242. * Sun Oct 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
  243. - new upstream release
  244. - updated Patch10
  245. * Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl2
  246. - add Patch10 (not to use audio group for dmix)
  247. * Thu Aug 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-0vl1
  248. - new upstream release
  249. * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-0vl5
  250. - removed unnecessary branch statement
  251. * Tue Jun 27 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.10-0vl4
  252. - add BuildRequires: doxygen again
  253. * Mon Mar 13 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.0.10-0vl3
  254. - added compat32-* packages for x86_64 architecture support
  255. * Sat Mar 11 2006 Shu KONNO <owa@bg.wakwak.com> 1.0.10-0vl2
  256. - unused libtool at make
  257. - rebuilt for x86_64 architecture
  258. * Sat Dec 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-0vl1
  259. - new upstream release
  260. * Sat Jun 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl2
  261. - add Japanese summary and description (thanks to Masa Takahashi)
  262. * Fri Jun 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
  263. - new upstream release
  264. * Mon Apr 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl1
  265. - new upstream version
  266. - remove Requires: alsa-driver
  267. - split development files to alsa-lib-devel
  268. * Wed Aug 04 2004 Satoshi MACHINO <machino@vinelinux.org> 1.0.5-0vl1
  269. - New upstream version alsa-lib-1.0.5)
  270. * Sat May 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.0.4-0vl2
  271. - rebuild for VineSeed
  272. - merged spec file from 1.0.4-0vl2.13
  273. * Mon Apr 26 2004 Masaki Shinomiya <shino@pos.to> 1.0.4-0vl1
  274. - new upstream release
  275. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl2
  276. - rebuild for VineSeed
  277. * Thu Feb 12 2004 Masaki Shinomiya <shino@pos.to> 1.0.2-0vl1
  278. - new upstream release
  279. - not buildrequire alsa-driver
  280. - make doc if doxygen installed
  281. * Fri Feb 15 2002 Toru Sagami <sagami@vinelinux.org> 0.5.10b-0vl2
  282. - rebuilt on current environment
  283. * Tue Mar 27 2001 Satoshi MACHINO <machino@vinelinux.org> 0.5.10b-0vl1
  284. - updated 0.5.10b and build kernel-2.2.18-0vl13
  285. * Sun Jan 14 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  286. - 0.5.10-0vl2
  287. - use better macros and makeinstall
  288. * Thu Dec 07 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  289. - 0.5.10
  290. - removed Provides: libasound-0.5.5.so
  291. * Tue Jun 20 2000 Toru Sagami <czs14350@nifty.ne.jp>
  292. - import to Vine 0.5.8-0vl1 from 0.5.8-0k1
  293. - BuildRequires: alsa-driver >= 0.5.5
  294. * Mon Jun 5 2000 AYUHANA Tomonori <l@kondara.org>
  295. - Version up 0.5.7 -> 0.5.8
  296. - add -q at %setup
  297. - use %%configure
  298. * Sun Apr 9 2000 Toru Hoshina <t@kondara.org>
  299. - Version up 0.5.6 -> 0.5.7
  300. * Wed Mar 15 2000 Daiki Matsuda <dyky@kondara.org>
  301. - Version up 0.5.5 -> 0.5.6
  302. - Provides libasound-0.5.5.so for compatiblity
  303. * Thu Mar 2 2000 Toru Hoshina <t@kondara.org>
  304. - Version up 0.5.4 -> 0.5.5
  305. * Mon Feb 28 2000 Toru Hoshina <t@kondara.org>
  306. - Version up 0.4.1e -> 0.5.4
  307. * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
  308. - be a NoSrc :-P
  309. * Thu May 28 1998 Helge Jensen <slog@slog.dk>
  310. - Made SPEC file