libvorbis-vl.spec 9.8 KB

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