source: projects/specs/trunk/lib/libv/libvorbis/libvorbis-vl.spec @ 9568

Revision 9568, 9.9 KB checked in by inagaki, 9 years ago (diff)

2015-05-16 Ryoichi INAGAKI <ryo1@…>

  • flac: added compat32 subpackage
  • libvorbis: updated


Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2%define liboggver 1.3.2
3%define epoch_num 1
4
5Summary:        The Vorbis General Audio Compression Codec.
6Summary(ja):    Vorbis - 汎用オーディオ圧縮コーデック
7Name:           libvorbis
8Version:        1.3.5
9Release:        1%{?_dist_release}
10Epoch:          %{epoch_num}
11
12Group:          System Environment/Libraries
13License:        BSD
14URL:            http://www.xiph.org/
15
16Source:         http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
17
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19BuildRequires:  libogg-devel >= %{liboggver}
20BuildRequires:  perl
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24
25%description
26Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
27general-purpose compressed audio format for audio and music at fixed
28and variable bitrates from 16 to 128 kbps/channel.
29
30The libvorbis package contains runtime libraries for use in programs
31that support Ogg Voribs.
32
33%description -l ja
34Ogg Vorbis は完全にオープンで、知的財産権による制約、特許やロイヤリティ
35と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128
36kbps の固定/可変ビットレートのオーディオや音楽用です。
37
38このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ
39イムライブラリが含まれています。
40
41%package devel
42Summary:        Development files for Vorbis applications.
43Summary(ja):    Vorbis アプリケーションの開発用ファイル
44Group:          Development/Libraries
45Requires:       %{name} = %{epoch_num}:%{version}-%{release}
46Requires:       libogg-devel >= %{liboggver}
47
48%description devel
49The libvorbis-devel package contains the header files, static libraries
50and documentation needed to develop applications with libvorbis.
51
52%description -l ja devel
53このパッケージには、libvorbis を使ったアプリケーションの開発に必要な
54ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。
55
56# compat32
57%package -n compat32-%{name}
58Summary:        The Vorbis General Audio Compression Codec.
59Summary(ja):    Vorbis - 汎用オーディオ圧縮コーデック
60Group:          System Environment/Libraries
61
62%description -n compat32-%{name}
63Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
64general-purpose compressed audio format for audio and music at fixed
65and variable bitrates from 16 to 128 kbps/channel.
66
67The libvorbis package contains runtime libraries for use in programs
68that support Ogg Voribs.
69
70%description -n compat32-%{name} -l ja
71Ogg Vorbis は完全にオープンで、知的財産権による制約、特許やロイヤリティ
72と関係ない汎用のオーディオ圧縮フォーマットで、チャンネルあたり 16〜128
73kbps の固定/可変ビットレートのオーディオや音楽用です。
74
75このパッケージには、Ogg Vorbis をサポートするプログラムで使われるランタ
76イムライブラリが含まれています。
77
78%package -n compat32-%{name}-devel
79Summary:        Development files for Vorbis applications.
80Summary(ja):    Vorbis アプリケーションの開発用ファイル
81Group:          Development/Libraries
82Requires:       compat32-%{name} = %{epoch_num}:%{version}-%{release}
83Requires:       compat32-libogg-devel >= %{liboggver}
84
85%description -n compat32-%{name}-devel
86The libvorbis-devel package contains the header files, static libraries
87and documentation needed to develop applications with libvorbis.
88
89%description -n compat32-%{name}-devel -l ja
90このパッケージには、libvorbis を使ったアプリケーションの開発に必要な
91ヘッダファイル、静的ライブラリ、及びドキュメントが含まれています。
92
93%prep
94%setup -q
95
96perl -p -i -e "s/-O20/%{optflags}/" configure
97perl -p -i -e "s/-ffast-math//" configure
98
99%build
100%configure --with-ogg-libraries=%{_libdir} --disable-static
101make %{?_smp_mflags}
102
103%install
104[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
105make DESTDIR=%{buildroot} install
106
107#rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
108rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
109
110%clean
111[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
112
113%post -p /sbin/ldconfig
114
115%postun -p /sbin/ldconfig
116
117%post -n compat32-%{name} -p /sbin/ldconfig
118
119%postun -n compat32-%{name} -p /sbin/ldconfig
120
121%files
122%defattr(-,root,root)
123%doc AUTHORS COPYING README todo.txt
124%{_libdir}/*.so.*
125
126%files devel
127%defattr(-,root,root)
128%doc doc/*
129%{_includedir}/vorbis
130%{_libdir}/*.so
131%{_libdir}/pkgconfig/*.pc
132%{_datadir}/aclocal/vorbis.m4
133
134# compat32
135%if %{build_compat32}
136%files -n compat32-%{name}
137%defattr(-,root,root)
138%{_libdir}/*.so.*
139
140%files -n compat32-%{name}-devel
141%defattr(-,root,root)
142%{_libdir}/*.so
143%endif
144
145%changelog
146* Sat May 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.5-1
147- new upstream release
148
149* Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.4-1
150- new upstream release
151
152* Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.3-1
153- new upstream release
154
155* Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.1-1
156- new upstream release
157- built with rpm-4.8.1
158
159* Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-1
160- new upstream release
161- dropped Patch2-7 (merged into upstream)
162
163* Wed Aug 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-9
164- add patch7 to fix CVE-2009-2663 (OGG Processing) from fc10
165
166* Sun Jun 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-8
167- fix compat32-devel Require tag (adding epoch)
168
169* Sun Jun 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-7
170- rollback to 1.2.0 because of pulseaudio lockup issue
171- add Epoch 1
172- patch2-6 are added again
173
174* Wed Jun 24 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.2-1
175- new upstream release
176- drop old patches
177
178* Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-6
179- used --disable-static option
180
181* Sun May 10 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.0-5
182- added compat32 package for x86_64 arch support
183- removed lib*.a from devel package
184
185* Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-4vl5
186- spec in utf-8
187
188* Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-3vl5
189- added Patches for security fix based on VinePlus 1.2.0-3vl4
190  * Sat Jun 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-3vl4
191  - add patch2,6 for additional hardening/sanity checks
192  - add patch3 for CVE-2008-1420
193  - add patch4 for CVE-2008-1419
194  - add patch5 for CVE-2008-1423
195
196* Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
197- applied new versioning policy
198- removed lib*.la from devel package
199
200* Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl4
201- fixed include file location
202
203* Tue Aug  7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl3
204- rebuild for VineSeed
205
206* Tue Aug  7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl2
207- rebuild for Vine Linux 4.1
208
209* Tue Aug  7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.0-0vl1
210- new upstream release (CVE-2007-3106, CVE-2007-4029)
211
212* Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.2-0vl2
213- rebuild with new toolchain
214
215* Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
216- source upgrade
217
218* Fri Jul 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
219- source upgrade
220- add Japanese summary and description
221
222* Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
223- source upgrade
224- update source-URL
225
226* Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl3
227- rebuild
228
229* Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl2
230- rebuild for VineSeedPlus
231
232* Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.1-0vl1
233- source upgrade
234- build for VinePlus/2.6
235- add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package
236- disable %%configure script
237
238* Sat Oct  4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
239- rebuild with new toolchains
240- use License tag
241
242* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
243- rebuild with new toolchains
244
245* Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
246- source upgrade
247- update %description devel
248- add PreReq: ldconfig
249- delete Patch
250
251* Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1
252- build for VineSeed
253- change version number to 0.99.3 (means 1.0rc3)
254
255* Tue Jan  1 2002 Bill Nottingham <notting@redhat.com>
256- update to 1.0rc3
257
258* Thu Aug 16 2001 Bill Nottingham <notting@redhat.com>
259- fix bug in floor backend (<michael@stroucken.org>)
260
261* Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
262- update to 1.0rc2
263
264* Fri Jul 20 2001 Bill Nottingham <notting@redhat.com>
265- split out from the main vorbis package
266
267* Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
268- own %%{_libdir}/ao
269- I love libtool
270
271* Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
272- add links from library major version numbers in rpms
273
274* Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
275- update to rc1
276
277* Fri May  4 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
278- fixed perl line in spec file to set optims correctly
279
280* Tue Mar 20 2001 Bill Nottingham <notting@redhat.com>
281- fix alpha/ia64, again
282- use optflags, not -O20 -ffast-math (especially on alpha...)
283
284* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
285- fix license tag
286
287* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
288- beta4
289
290* Fri Feb  9 2001 Bill Nottingham <notting@redhat.com>
291- fix alpha/ia64
292
293* Thu Feb  8 2001 Bill Nottingham <notting@redhat.com>
294- update CVS in prep for beta4
295
296* Wed Feb 07 2001 Philipp Knirsch <pknirsch@redhat.de>
297- Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if
298  none was specified.
299
300* Tue Jan  9 2001 Bill Nottingham <notting@redhat.com>
301- update CVS, grab aRts backend for libao
302
303* Wed Dec 27 2000 Bill Nottingham <notting@redhat.com>
304- update CVS
305
306* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
307- rebuild because of broken fileutils
308
309* Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
310- hack up specfile some, merge some packages
311
312* Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
313- initial spec file created
Note: See TracBrowser for help on using the repository browser.