123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- %define with_flac 1
- %define with_speex 0
- Summary: Several Ogg Vorbis Tools
- Summary(ja): 各種 Ogg Vorvis 用ツール
- Name: vorbis-tools
- Version: 1.4.0
- Release: 5%{?_dist_release}
- Group: Applications/Multimedia
- License: GPLv2
- URL: http://www.xiph.org/
- Source0: http://downloads.xiph.org/releases/vorbis/vorbis-tools-%{version}.tar.gz
- Source1: vorbis-tools-ogg123rc
- Patch1: vorbis-tools-1.1.1-include-config.h.patch
- Patch2: vorbis-tools-1.4.0-bz887540.patch
- # http://thread.gmane.org/gmane.comp.multimedia.ogg.vorbis.devel/5729
- Patch3: vorbis-tools-1.4.0-man-page.patch
- # update po files from translationproject.org (#1116650)
- Patch4: vorbis-tools-1.4.0-bz1116650.patch
- # security fixes
- Patch1000: CVE-2014-9638-9639.patch
- # CVE-2014-9640
- # do not use stack variable out of its scope of validity (#1185558)
- Patch1001: vorbis-tools-1.4.0-bz1185558.patch
- Patch1002: CVE-2015-6749.patch
- # http://thread.gmane.org/gmane.comp.multimedia.ogg.vorbis.devel/5738
- Patch1003: vorbis-tools-1.4.0-bz1003607.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: libvorbis-devel >= 1.0
- BuildRequires: libao-devel
- BuildRequires: curl-devel
- BuildRequires: perl
- Requires: curl
- Vendor: Project Vine
- Distribution: Vine Linux
- %if %{with_flac}
- BuildRequires: flac-devel >= 1.1.3
- %endif
- %if %{with_speex}
- BuildRequires: speex-devel
- %endif
- %description
- vorbis-tools contains oggenc (an encoder) and ogg123 (a playback tool).
- It also has vorbiscomment (to add comments to vorbis files), ogginfo (to
- give all useful information about an ogg file, including streams in it),
- and oggdec (a simple command line decoder).
- #oggdec (a simple command line decoder), and vcut (which allows you to
- #cut up vorbis files).
- %description -l ja
- vorbis-tools には、Ogg Vorbis のエンコーダ oggenc と再生ツール ogg123 が含
- まれています。
- また、以下のようなツールも含まれています。
- - vorbiscomment : vorbis ファイルのコメントを表示・編集
- - ogginfo : ogg ファイルについてのあらゆる有用な情報 (コメント、ビッ
- トレート、長さなど) を表示
- - oggdec : シンプルなコマンドラインデコーダ
- # - vcut : vorbis ファイルを分割
- %prep
- %autosetup -p1
- %build
- perl -p -i -e "s/-O20/%{optflags}/" configure
- perl -p -i -e "s/-ffast-math//" configure
- %configure \
- %if ! %{with_flac}
- --without-flac \
- %endif
- %if ! %{with_speex}
- --without-speex
- %endif
- make
- %install
- [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
- %makeinstall
- %find_lang %{name}
- %__install -D -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ogg123rc
- %clean
- [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
- %files -f %{name}.lang
- %defattr(-,root,root)
- %doc AUTHORS COPYING README ogg123/ogg123rc-example
- %config %{_sysconfdir}/ogg123rc
- %{_bindir}/*
- %{_mandir}/man1/*
- %changelog
- * Mon Feb 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-5
- - replaced Patch1001.
- - imported Patch2-4 and 1003.
- * Sat Jul 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-4
- - added Patch1000-1002.
- - CVE-2014-9638
- - CVE-2014-9639
- - CVE-2014-9640
- - CVE-2015-6749
- * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-3
- - rebuild with VineSeed environment
- * Fri Jul 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-2
- - rebuild with libao-1.1.0
- * Fri May 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-1
- - update to 1.4.0
- * Fri Sep 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.0-4
- - rebuild with release +1 (forgot to add changelog of 1.2.0-3)
- * Wed Sep 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.0-3
- - add Patch2: fix random play config option (<BTS:VineLinux:709>)
- * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-2
- - spec in UTF-8
- * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
- - new upstream release (dropped Patch0, 3)
- - rebuilt with curl-7.18.1
- * Thu May 01 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.1-4
- - add patch10 for fix CVE-2008-1686
- * Tue Sep 04 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 1.1.1-0vl5
- - rebuild with flac-1.2.0
- - to support flac >= 1.1.3's new APIs
- - import flac-1.1.3.patch (patch3) from MDV
- - run autoreconf
- * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.1-0vl4
- - rebuild with curl-7.16.2
- - add Patch2 to build against curl-7.16
- * Mon Mar 27 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.1-0vl3
- - rebuilt (for ppc)
- * Sat Oct 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl2
- - include config.h in share/{utf8,iconvert}.c (patch1)
- - install ogg123rc to %%{_sysconfdir} (source1)
- * Sat Jul 02 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
- - source upgrade
- - update source-URL
- - remove vcut from description
- * Sun Feb 13 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl6
- - rebuild with curl-7.13.0
- - {openssl,zlib,libidn}-devel are now required by curl-devel
- - update ogg-flac-1.0.patch
- * Sun Feb 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl5
- - rebuild with flac-1.1.2
- * Sat Dec 18 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl4
- - rebuild with flac-1.1.1
- - fix dependencies
- - add BuildPrereq: flac-devel, openssl-devel, zlib-devel
- - add Requires: flac, zlib
- - add Japanese summary and description
- - use %%find_lang macro
- - add ogg-flac-1.0.patch to support Ogg FLAC >= 1.0 files
- * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl3
- - rebuild with openssl-0.9.7d
- * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl2
- - rebuild for VineSeedPlus
- * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl1
- - source upgrade
- - build for VinePlus/2.6
- - add --without-speex --without-flac to configure option
- * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
- - rebuild with new toolchain
- - use License tag
- * Sun Jan 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
- - rebuild with new toolchain
- * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
- - source upgrade
- - BuildPrereq: libao-devel >= 0.8.3
- - update %description
- - add %{_datadir}/locale/*/LC_MESSAGES/* to %files section
- - add Requires: openssl
- * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-2vl1
- - build for VineSeed
- - change version number to 0.99.3 (means 1.0rc3)
- * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
- - update to 1.0rc3
- * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
- - update to 1.0rc2
- * Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
- - split libao, libvorbis out
- * Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
- - own %%{_libdir}/ao
- - I love libtool
- * Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- - add links from library major version numbers in rpms
- * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
- - update to rc1
- * Fri May 4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
- - fixed perl line in spec file to set optims correctly
- * Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
- - fix alpha/ia64, again
- - use optflags, not -O20 -ffast-math (especially on alpha...)
- * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
- - fix license tag
- * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
- - beta4
- * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
- - fix alpha/ia64
- * Thu Feb 8 2001 Bill Nottingham <notting@redhat.com>
- - update CVS in prep for beta4
- * Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
- - Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
- none was specified.
- * Tue Jan 9 2001 Bill Nottingham <notting@redhat.com>
- - update CVS, grab aRts backend for libao
- * Wed Dec 27 2000 Bill Nottingham <notting@redhat.com>
- - update CVS
- * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
- - rebuild because of broken fileutils
- * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
- - hack up specfile some, merge some packages
- * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
- - initial spec file created
|