libvorbis-vl.spec 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define liboggver 1.2.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.1
  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.bz2
  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. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.1-1
  115. - new upstream release
  116. - built with rpm-4.8.1
  117. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-1
  118. - new upstream release
  119. - dropped Patch2-7 (merged into upstream)
  120. * Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-9
  121. - add patch7 to fix CVE-2009-2663 (OGG Processing) from fc10
  122. * Sun Jun 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-8
  123. - fix compat32-devel Require tag (adding epoch)
  124. * Sun Jun 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-7
  125. - rollback to 1.2.0 because of pulseaudio lockup issue
  126. - add Epoch 1
  127. - patch2-6 are added again
  128. * Wed Jun 24 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.2-1
  129. - new upstream release
  130. - drop old patches
  131. * Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-6
  132. - used --disable-static option
  133. * Sun May 10 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.0-5
  134. - added compat32 package for x86_64 arch support
  135. - removed lib*.a from devel package
  136. * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-4vl5
  137. - spec in utf-8
  138. * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-3vl5
  139. - added Patches for security fix based on VinePlus 1.2.0-3vl4
  140. * Sat Jun 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-3vl4
  141. - add patch2,6 for additional hardening/sanity checks
  142. - add patch3 for CVE-2008-1420
  143. - add patch4 for CVE-2008-1419
  144. - add patch5 for CVE-2008-1423
  145. * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
  146. - applied new versioning policy
  147. - removed lib*.la from devel package
  148. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl4
  149. - fixed include file location
  150. * Tue Aug 7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl3
  151. - rebuild for VineSeed
  152. * Tue Aug 7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl2
  153. - rebuild for Vine Linux 4.1
  154. * Tue Aug 7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl1
  155. - new upstream release (CVE-2007-3106, CVE-2007-4029)
  156. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.2-0vl2
  157. - rebuild with new toolchain
  158. * Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  159. - source upgrade
  160. * Fri Jul 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  161. - source upgrade
  162. - add Japanese summary and description
  163. * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  164. - source upgrade
  165. - update source-URL
  166. * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl3
  167. - rebuild
  168. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl2
  169. - rebuild for VineSeedPlus
  170. * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl1
  171. - source upgrade
  172. - build for VinePlus/2.6
  173. - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package
  174. - disable %%configure script
  175. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
  176. - rebuild with new toolchains
  177. - use License tag
  178. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
  179. - rebuild with new toolchains
  180. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
  181. - source upgrade
  182. - update %description devel
  183. - add PreReq: ldconfig
  184. - delete Patch
  185. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1
  186. - build for VineSeed
  187. - change version number to 0.99.3 (means 1.0rc3)
  188. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  189. - update to 1.0rc3
  190. * Thu Aug 16 2001 Bill Nottingham <notting@redhat.com>
  191. - fix bug in floor backend (<michael@stroucken.org>)
  192. * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
  193. - update to 1.0rc2
  194. * Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
  195. - split out from the main vorbis package
  196. * Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
  197. - own %%{_libdir}/ao
  198. - I love libtool
  199. * Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  200. - add links from library major version numbers in rpms
  201. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  202. - update to rc1
  203. * Fri May 4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
  204. - fixed perl line in spec file to set optims correctly
  205. * Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
  206. - fix alpha/ia64, again
  207. - use optflags, not -O20 -ffast-math (especially on alpha...)
  208. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  209. - fix license tag
  210. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  211. - beta4
  212. * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
  213. - fix alpha/ia64
  214. * Thu Feb 8 2001 Bill Nottingham <notting@redhat.com>
  215. - update CVS in prep for beta4
  216. * Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
  217. - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
  218. none was specified.
  219. * Tue Jan 9 2001 Bill Nottingham <notting@redhat.com>
  220. - update CVS, grab aRts backend for libao
  221. * Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
  222. - update CVS
  223. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  224. - rebuild because of broken fileutils
  225. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  226. - hack up specfile some, merge some packages
  227. * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
  228. - initial spec file created