vorbis-tools-vl.spec 7.2 KB

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