libvorbis-vl.spec 9.9 KB

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