libvorbis-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define liboggver 1.1.4
  3. %define epoch_num 1
  4. Summary: The Vorbis General Audio Compression Codec.
  5. Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック
  6. Name: libvorbis
  7. Version: 1.2.3
  8. Release: 1%{?_dist_release}
  9. Epoch: %{epoch_num}
  10. Group: System Environment/Libraries
  11. License: BSD
  12. URL: http://www.xiph.org/
  13. Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
  14. Patch2: libvorbis-cvs-r14502.patch
  15. Patch3: libvorbis-cvs-r14598-CVE-2008-1420.patch
  16. Patch4: libvorbis-cvs-r14602-CVE-2008-1419.patch
  17. Patch5: libvorbis-cvs-r14602-CVE-2008-1423.patch
  18. Patch6: libvorbis-cvs-r14811.patch
  19. Patch7: libvorbis-1.2.0-CVE-2009-2663.patch
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. BuildRequires: libogg-devel >= %{liboggver}
  22. BuildRequires: perl
  23. Requires: libogg >= %{liboggver}
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. %description
  27. Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
  28. general-purpose compressed audio format for audio and music at fixed
  29. and variable bitrates from 16 to 128 kbps/channel.
  30. The libvorbis package contains runtime libraries for use in programs
  31. that support Ogg Voribs.
  32. %description -l ja
  33. Ogg Vorbis は完全にオープンで、知的所有権による制約、特許やロイヤリティ
  34. と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128
  35. kbps の固定/可変ビットレートのオーディオや音楽用です。
  36. このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ
  37. イムライブラリが含まれています。
  38. %package devel
  39. Summary: Development files for Vorbis applications.
  40. Summary(ja): Vorbis アプリケーションの開発用ファイル
  41. Group: Development/Libraries
  42. Requires: %{name} = %{epoch_num}:%{version}-%{release}
  43. Requires: libogg-devel >= %{liboggver}
  44. %description devel
  45. The libvorbis-devel package contains the header files, static libraries
  46. and documentation needed to develop applications with libvorbis.
  47. %description -l ja devel
  48. このパッケージには、libvorbis を使ったアプリケーションの開発に必要な
  49. ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。
  50. # compat32
  51. %package -n compat32-%{name}
  52. Summary: The Vorbis General Audio Compression Codec.
  53. Summary(ja): Vorbis - 汎用オーディオ圧縮コーデック
  54. Group: System Environment/Libraries
  55. Requires: compat32-libogg >= %{liboggver}
  56. %description -n compat32-%{name}
  57. Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
  58. general-purpose compressed audio format for audio and music at fixed
  59. and variable bitrates from 16 to 128 kbps/channel.
  60. The libvorbis package contains runtime libraries for use in programs
  61. that support Ogg Voribs.
  62. %description -n compat32-%{name} -l ja
  63. Ogg Vorbis は完全にオープンで、知的所有権による制約、特許やロイヤリティ
  64. と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128
  65. kbps の固定/可変ビットレートのオーディオや音楽用です。
  66. このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ
  67. イムライブラリが含まれています。
  68. %package -n compat32-%{name}-devel
  69. Summary: Development files for Vorbis applications.
  70. Summary(ja): Vorbis アプリケーションの開発用ファイル
  71. Group: Development/Libraries
  72. Requires: compat32-%{name} = %{epoch_num}:%{version}-%{release}
  73. Requires: compat32-libogg-devel >= %{liboggver}
  74. %description -n compat32-%{name}-devel
  75. The libvorbis-devel package contains the header files, static libraries
  76. and documentation needed to develop applications with libvorbis.
  77. %description -n compat32-%{name}-devel -l ja
  78. このパッケージには、libvorbis を使ったアプリケーションの開発に必要な
  79. ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。
  80. %prep
  81. %setup -q
  82. #patch2 -p0 -b .r14502
  83. #patch3 -p0 -b .cve-2008-1420
  84. #patch4 -p0 -b .cve-2008-1419
  85. #patch5 -p0 -b .cve-2008-1423
  86. #patch6 -p0 -b .r14811
  87. #patch7 -p1 -b .CVE-2009-2663
  88. perl -p -i -e "s/-O20/%{optflags}/" configure
  89. perl -p -i -e "s/-ffast-math//" configure
  90. %build
  91. %configure --with-ogg-libraries=%{_libdir} --disable-static
  92. make %{?_smp_mflags}
  93. %install
  94. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  95. make DESTDIR=%{buildroot} install
  96. #rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
  97. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  98. %clean
  99. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  100. %post -p /sbin/ldconfig
  101. %postun -p /sbin/ldconfig
  102. %post -n compat32-%{name} -p /sbin/ldconfig
  103. %postun -n compat32-%{name} -p /sbin/ldconfig
  104. %files
  105. %defattr(-,root,root)
  106. %doc AUTHORS COPYING README todo.txt
  107. %{_libdir}/*.so.*
  108. %files devel
  109. %defattr(-,root,root)
  110. %doc doc/*
  111. %{_includedir}/vorbis
  112. #{_libdir}/*.la
  113. %{_libdir}/*.so
  114. %{_libdir}/pkgconfig/*.pc
  115. %{_datadir}/aclocal/vorbis.m4
  116. # compat32
  117. %if %{build_compat32}
  118. %files -n compat32-%{name}
  119. %defattr(-,root,root)
  120. %{_libdir}/*.so.*
  121. %files -n compat32-%{name}-devel
  122. %defattr(-,root,root)
  123. #{_libdir}/*.la
  124. %{_libdir}/*.so
  125. %{_libdir}/pkgconfig/*.pc
  126. %endif
  127. %changelog
  128. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-1
  129. - new upstream release
  130. - dropped Patch2-7 (merged into upstream)
  131. * Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-9
  132. - add patch7 to fix CVE-2009-2663 (OGG Processing) from fc10
  133. * Sun Jun 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-8
  134. - fix compat32-devel Require tag (adding epoch)
  135. * Sun Jun 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-7
  136. - rollback to 1.2.0 because of pulseaudio lockup issue
  137. - add Epoch 1
  138. - patch2-6 are added again
  139. * Wed Jun 24 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.2-1
  140. - new upstream release
  141. - drop old patches
  142. * Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-6
  143. - used --disable-static option
  144. * Sun May 10 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.0-5
  145. - added compat32 package for x86_64 arch support
  146. - removed lib*.a from devel package
  147. * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-4vl5
  148. - spec in utf-8
  149. * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-3vl5
  150. - added Patches for security fix based on VinePlus 1.2.0-3vl4
  151. * Sat Jun 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-3vl4
  152. - add patch2,6 for additional hardening/sanity checks
  153. - add patch3 for CVE-2008-1420
  154. - add patch4 for CVE-2008-1419
  155. - add patch5 for CVE-2008-1423
  156. * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
  157. - applied new versioning policy
  158. - removed lib*.la from devel package
  159. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl4
  160. - fixed include file location
  161. * Tue Aug 7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl3
  162. - rebuild for VineSeed
  163. * Tue Aug 7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl2
  164. - rebuild for Vine Linux 4.1
  165. * Tue Aug 7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl1
  166. - new upstream release (CVE-2007-3106, CVE-2007-4029)
  167. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.2-0vl2
  168. - rebuild with new toolchain
  169. * Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  170. - source upgrade
  171. * Fri Jul 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  172. - source upgrade
  173. - add Japanese summary and description
  174. * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  175. - source upgrade
  176. - update source-URL
  177. * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl3
  178. - rebuild
  179. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl2
  180. - rebuild for VineSeedPlus
  181. * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl1
  182. - source upgrade
  183. - build for VinePlus/2.6
  184. - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package
  185. - disable %%configure script
  186. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
  187. - rebuild with new toolchains
  188. - use License tag
  189. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
  190. - rebuild with new toolchains
  191. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
  192. - source upgrade
  193. - update %description devel
  194. - add PreReq: ldconfig
  195. - delete Patch
  196. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1
  197. - build for VineSeed
  198. - change version number to 0.99.3 (means 1.0rc3)
  199. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  200. - update to 1.0rc3
  201. * Thu Aug 16 2001 Bill Nottingham <notting@redhat.com>
  202. - fix bug in floor backend (<michael@stroucken.org>)
  203. * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
  204. - update to 1.0rc2
  205. * Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
  206. - split out from the main vorbis package
  207. * Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
  208. - own %%{_libdir}/ao
  209. - I love libtool
  210. * Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  211. - add links from library major version numbers in rpms
  212. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  213. - update to rc1
  214. * Fri May 4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
  215. - fixed perl line in spec file to set optims correctly
  216. * Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
  217. - fix alpha/ia64, again
  218. - use optflags, not -O20 -ffast-math (especially on alpha...)
  219. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  220. - fix license tag
  221. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  222. - beta4
  223. * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
  224. - fix alpha/ia64
  225. * Thu Feb 8 2001 Bill Nottingham <notting@redhat.com>
  226. - update CVS in prep for beta4
  227. * Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
  228. - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
  229. none was specified.
  230. * Tue Jan 9 2001 Bill Nottingham <notting@redhat.com>
  231. - update CVS, grab aRts backend for libao
  232. * Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
  233. - update CVS
  234. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  235. - rebuild because of broken fileutils
  236. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  237. - hack up specfile some, merge some packages
  238. * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
  239. - initial spec file created