libvorbis-vl.spec 10 KB

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