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