libvorbis-vl.spec 9.8 KB

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