libvorbis-vl.spec 10 KB

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