vorbis-tools-vl.spec 7.9 KB

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