vorbis-tools-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. %define with_flac 1
  2. %define with_speex 0
  3. Summary: Several Ogg Vorbis Tools
  4. Summary(ja): 各種 Ogg Vorvis 用ツール
  5. Name: vorbis-tools
  6. Version: 1.4.2
  7. Release: 2%{?_dist_release}
  8. Group: multimedia
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. License: GPLv2
  12. URL: https://www.xiph.org/
  13. Source0: https://downloads.xiph.org/releases/vorbis/vorbis-tools-%{version}.tar.gz
  14. Source1: vorbis-tools-ogg123rc
  15. # http://lists.xiph.org/pipermail/vorbis-dev/2021-January/020538.html
  16. # http://lists.xiph.org/pipermail/vorbis-dev/2013-May/020336.html
  17. Patch1: vorbis-tools-1.4.2-man-page.patch
  18. Patch2: vorbis-tools-c99.patch
  19. # fix out-of-bounds read in oggenc (CVE-2023-43361)
  20. Patch3: vorbis-tools-1.4.2-CVE-2023-43361.patch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. BuildRequires: libvorbis-devel >= 1.0
  23. BuildRequires: libao-devel
  24. BuildRequires: curl-devel
  25. BuildRequires: perl
  26. Requires: curl
  27. %if %{with_flac}
  28. BuildRequires: flac-devel >= 1.1.3
  29. %endif
  30. %if %{with_speex}
  31. BuildRequires: speex-devel
  32. %endif
  33. %description
  34. vorbis-tools contains oggenc (an encoder) and ogg123 (a playback tool).
  35. It also has vorbiscomment (to add comments to vorbis files), ogginfo (to
  36. give all useful information about an ogg file, including streams in it),
  37. and oggdec (a simple command line decoder).
  38. #oggdec (a simple command line decoder), and vcut (which allows you to
  39. #cut up vorbis files).
  40. %description -l ja
  41. vorbis-tools には、Ogg Vorbis のエンコーダ oggenc と再生ツール ogg123 が含
  42. まれています。
  43. また、以下のようなツールも含まれています。
  44. - vorbiscomment : vorbis ファイルのコメントを表示・編集
  45. - ogginfo : ogg ファイルについてのあらゆる有用な情報 (コメント、ビッ
  46. トレート、長さなど) を表示
  47. - oggdec : シンプルなコマンドラインデコーダ
  48. # - vcut : vorbis ファイルを分割
  49. %debug_package
  50. %prep
  51. %autosetup -p1
  52. %build
  53. # fix FTBFS if "-Werror=format-security" flag is used (#1025257)
  54. export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security"
  55. %configure \
  56. %if ! %{with_flac}
  57. --without-flac \
  58. %endif
  59. %if ! %{with_speex}
  60. --without-speex
  61. %endif
  62. %make_build
  63. %install
  64. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  65. %makeinstall
  66. %find_lang %{name}
  67. rm -f %{buildroot}%{_docdir}/vorbis-tools-%{version}/ogg123rc-example
  68. %__install -D -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ogg123rc
  69. %files -f %{name}.lang
  70. %license COPYING
  71. %doc AUTHORS README ogg123/ogg123rc-example
  72. %config %{_sysconfdir}/ogg123rc
  73. %{_bindir}/*
  74. %{_mandir}/man1/*
  75. %changelog
  76. * Sat Jul 06 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.2-2
  77. - imported Patch2 and 3 from rawhide.
  78. * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.2-1
  79. - dropped all patches.
  80. - imported Patch1 from rawhide.
  81. * Mon Feb 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-5
  82. - replaced Patch1001.
  83. - imported Patch2-4 and 1003.
  84. * Sat Jul 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-4
  85. - added Patch1000-1002.
  86. - CVE-2014-9638
  87. - CVE-2014-9639
  88. - CVE-2014-9640
  89. - CVE-2015-6749
  90. * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-3
  91. - rebuild with VineSeed environment
  92. * Fri Jul 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-2
  93. - rebuild with libao-1.1.0
  94. * Fri May 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-1
  95. - update to 1.4.0
  96. * Fri Sep 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.0-4
  97. - rebuild with release +1 (forgot to add changelog of 1.2.0-3)
  98. * Wed Sep 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.0-3
  99. - add Patch2: fix random play config option (<BTS:VineLinux:709>)
  100. * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-2
  101. - spec in UTF-8
  102. * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
  103. - new upstream release (dropped Patch0, 3)
  104. - rebuilt with curl-7.18.1
  105. * Thu May 01 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.1-4
  106. - add patch10 for fix CVE-2008-1686
  107. * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.1.1-0vl5
  108. - rebuild with flac-1.2.0
  109. - to support flac >= 1.1.3's new APIs
  110. - import flac-1.1.3.patch (patch3) from MDV
  111. - run autoreconf
  112. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.1-0vl4
  113. - rebuild with curl-7.16.2
  114. - add Patch2 to build against curl-7.16
  115. * Mon Mar 27 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.1-0vl3
  116. - rebuilt (for ppc)
  117. * Sat Oct 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
  118. - include config.h in share/{utf8,iconvert}.c (patch1)
  119. - install ogg123rc to %%{_sysconfdir} (source1)
  120. * Sat Jul 02 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  121. - source upgrade
  122. - update source-URL
  123. - remove vcut from description
  124. * Sun Feb 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl6
  125. - rebuild with curl-7.13.0
  126. - {openssl,zlib,libidn}-devel are now required by curl-devel
  127. - update ogg-flac-1.0.patch
  128. * Sun Feb 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl5
  129. - rebuild with flac-1.1.2
  130. * Sat Dec 18 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl4
  131. - rebuild with flac-1.1.1
  132. - fix dependencies
  133. - add BuildPrereq: flac-devel, openssl-devel, zlib-devel
  134. - add Requires: flac, zlib
  135. - add Japanese summary and description
  136. - use %%find_lang macro
  137. - add ogg-flac-1.0.patch to support Ogg FLAC >= 1.0 files
  138. * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl3
  139. - rebuild with openssl-0.9.7d
  140. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl2
  141. - rebuild for VineSeedPlus
  142. * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl1
  143. - source upgrade
  144. - build for VinePlus/2.6
  145. - add --without-speex --without-flac to configure option
  146. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
  147. - rebuild with new toolchain
  148. - use License tag
  149. * Sun Jan 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
  150. - rebuild with new toolchain
  151. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
  152. - source upgrade
  153. - BuildPrereq: libao-devel >= 0.8.3
  154. - update %description
  155. - add %{_datadir}/locale/*/LC_MESSAGES/* to %files section
  156. - add Requires: openssl
  157. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-2vl1
  158. - build for VineSeed
  159. - change version number to 0.99.3 (means 1.0rc3)
  160. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  161. - automated rebuild
  162. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  163. - update to 1.0rc3
  164. * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
  165. - update to 1.0rc2
  166. * Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
  167. - split libao, libvorbis out
  168. * Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
  169. - own %%{_libdir}/ao
  170. - I love libtool
  171. * Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  172. - add links from library major version numbers in rpms
  173. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  174. - update to rc1
  175. * Fri May 4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
  176. - fixed perl line in spec file to set optims correctly
  177. * Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
  178. - fix alpha/ia64, again
  179. - use optflags, not -O20 -ffast-math (especially on alpha...)
  180. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  181. - fix license tag
  182. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  183. - beta4
  184. * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
  185. - fix alpha/ia64
  186. * Thu Feb 8 2001 Bill Nottingham <notting@redhat.com>
  187. - update CVS in prep for beta4
  188. * Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
  189. - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
  190. none was specified.
  191. * Tue Jan 9 2001 Bill Nottingham <notting@redhat.com>
  192. - update CVS, grab aRts backend for libao
  193. * Wed Dec 27 2000 Bill Nottingham <notting@redhat.com>
  194. - update CVS
  195. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  196. - rebuild because of broken fileutils
  197. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  198. - hack up specfile some, merge some packages
  199. * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
  200. - initial spec file created