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