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