9397
|
1 |
#
|
|
2 |
# spec file for package libvorbis (Version 1.0)
|
|
3 |
#
|
|
4 |
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
|
9 |
#
|
16434
|
10 |
%define owner yippi
|
11132
|
11 |
# bugdb: https://trac.xiph.org/
|
9397
|
12 |
#
|
|
13 |
# neededforbuild libogg libogg-devel
|
|
14 |
# usedforbuild aaa_base acl attr bash bind9-utils bison coreutils cpio cpp cvs cyrus-sasl2 db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg pam pam-devel pam-modules patch permissions ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils bzip2 cracklib gcc gdbm gettext libogg libogg-devel libtool perl rpm
|
|
15 |
|
16431
|
16 |
%define OSR 1571:1.x
|
|
17 |
|
9397
|
18 |
Name: libvorbis
|
16282
|
19 |
License: Xiph.org BSD-style
|
|
20 |
Group: Libraries/Multimedia
|
17844
|
21 |
Version: 1.3.1
|
16282
|
22 |
Distribution: Java Desktop System
|
17865
|
23 |
Vendor: Xiph
|
9397
|
24 |
Summary: The Vorbis General Audio Compression Codec
|
16282
|
25 |
Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
|
|
26 |
URL: http://downloads.xiph.org/
|
9397
|
27 |
Release: 95
|
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
29 |
|
|
30 |
%description
|
|
31 |
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
|
|
32 |
and general-purpose compressed audio format for audio and music at fixed
|
|
33 |
and variable bitrates from 16 to 128 kbps/channel.
|
|
34 |
|
|
35 |
Authors:
|
|
36 |
--------
|
|
37 |
Monty <[email protected]>
|
|
38 |
Xiphophorus Company <[email protected]>
|
|
39 |
|
|
40 |
%package devel
|
|
41 |
Summary: Development package for libvorbis
|
|
42 |
Group: Development/Libraries/C and C++
|
|
43 |
Requires: libogg-devel
|
|
44 |
Requires: %{name} = %{version}
|
|
45 |
|
|
46 |
%description devel
|
|
47 |
This package contains the header files and documentation
|
|
48 |
needed to develop applications with libvorbis.
|
|
49 |
|
|
50 |
Authors:
|
|
51 |
--------
|
|
52 |
Monty <[email protected]>
|
|
53 |
Xiphophorus Company <[email protected]>
|
|
54 |
|
|
55 |
%prep
|
|
56 |
%setup
|
|
57 |
|
|
58 |
%build
|
16033
|
59 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal -I ./m4"
|
12252
|
60 |
export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP"
|
17844
|
61 |
export LDFLAGS="%_ldflags -lm"
|
12252
|
62 |
|
|
63 |
./configure --prefix=%{_prefix} \
|
|
64 |
--libdir=%{_libdir} \
|
|
65 |
--datadir=%{_datadir} \
|
|
66 |
--mandir=%{_mandir} \
|
|
67 |
--with-ogg-libraries=%{_libdir} \
|
|
68 |
--enable-shared \
|
|
69 |
--disable-static
|
|
70 |
|
9397
|
71 |
make
|
|
72 |
|
|
73 |
%install
|
|
74 |
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_datadir}/gtk-doc/html/%{name}-devel install
|
|
75 |
# create an old compatible m4 file
|
|
76 |
sed -e s/XIPH_PATH_VORBIS/AM_PATH_VORBIS/g < $RPM_BUILD_ROOT%{_datadir}/aclocal/vorbis.m4 > $RPM_BUILD_ROOT%{_datadir}/aclocal/vorbis-old.m4
|
|
77 |
|
|
78 |
%post
|
|
79 |
%run_ldconfig
|
|
80 |
|
|
81 |
%clean
|
|
82 |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
83 |
|
|
84 |
%files
|
|
85 |
%defattr(-,root,root)
|
|
86 |
%doc COPYING AUTHORS README HACKING
|
|
87 |
%{_libdir}/lib*.so.*
|
|
88 |
|
|
89 |
%files devel
|
|
90 |
%defattr(-,root,root)
|
|
91 |
%{_includedir}/vorbis
|
|
92 |
%{_libdir}/lib*.a
|
|
93 |
%{_libdir}/lib*.so
|
|
94 |
%{_libdir}/lib*.la
|
|
95 |
%{_datadir}/aclocal/*.m4
|
|
96 |
%{_datadir}/gtk-doc
|
|
97 |
|
|
98 |
%changelog -n libvorbis
|
17844
|
99 |
* Thu Apr 15 2010 - [email protected]
|
|
100 |
- bump to 1.3.1. Remove two upstream patches.
|
17631
|
101 |
* Thu Mar 04 2010 - [email protected]
|
|
102 |
- Add libvorbis-01-bug487519.patch libvorbis-02-bug498855.patch
|
16033
|
103 |
* Wed Jul 15 2009 - [email protected]
|
|
104 |
- Bump to 1.2.3.
|
12252
|
105 |
* Mon May 05 2008 - [email protected]
|
|
106 |
- Now support building 64-bit libraries.
|
10230
|
107 |
* Mon Jul 30 2007 - [email protected]
|
|
108 |
- Bump to 1.2.0.
|
9397
|
109 |
* Tue Dec 27 2005 - [email protected]
|
|
110 |
- Bump to 1.1.2
|
|
111 |
* Tue Sep 20 2005 - [email protected]
|
|
112 |
- Bump to 1.1.1
|
|
113 |
* Mon Jun 06 2005 - [email protected]
|
|
114 |
- Removed libvorbis-01-configure.diff since it is no longer
|
|
115 |
necessary.
|
|
116 |
* Wed Aug 25 2004 - [email protected]
|
|
117 |
- Moved gtk-docs to %{_datadir}/gtk-doc
|
|
118 |
* Sat Mar 01 2003 - [email protected]
|
|
119 |
- let libvorbis-devel require libogg-devel
|
|
120 |
* Fri Jan 17 2003 - [email protected]
|
|
121 |
- fixed m4 macro (bug #21267).
|
|
122 |
* Thu Jan 09 2003 - [email protected]
|
|
123 |
- Add *.la files to -devel filelist
|
|
124 |
* Wed Dec 04 2002 - [email protected]
|
|
125 |
- fixed the undefined weak links.
|
|
126 |
- renamed m4.dif and lib64.dif with libvorbis- prefix to avoid
|
|
127 |
filename conflictions.
|
|
128 |
* Thu Sep 19 2002 - [email protected]
|
|
129 |
- don't add -I/usr/include to VORBIS_VFLAGS.
|
|
130 |
- fix test for prefix.
|
|
131 |
- move devel documents under %%{_docdir}/libvorbis-devel.
|
|
132 |
* Mon Aug 12 2002 - [email protected]
|
|
133 |
- added Requires %%{name} = %%{version} to devel package.
|
|
134 |
* Tue Jul 23 2002 - [email protected]
|
|
135 |
- fixed m4 file for lib64.
|
|
136 |
- provides the backward compatible m4 file.
|
|
137 |
* Mon Jul 22 2002 - [email protected]
|
|
138 |
- updated to version 1.0.
|
|
139 |
- clean up the spec file.
|
|
140 |
- added %%run_ldconfig.
|
|
141 |
* Wed Jun 12 2002 - [email protected]
|
|
142 |
- rm acinclude.m4 so we don't have the problematic ogg.m4 (which contains
|
|
143 |
/lib hardcoded).
|
|
144 |
* Thu Apr 18 2002 - [email protected]
|
|
145 |
- Remove additional optimization, default is better
|
|
146 |
- Add --libdir to configure to build on x86_64
|
|
147 |
* Thu Feb 07 2002 - [email protected]
|
|
148 |
- fixed build on s390x.
|
|
149 |
* Fri Jan 04 2002 - [email protected]
|
|
150 |
- updated to RC3.
|
|
151 |
sync with cvs 2002.01.04.
|
|
152 |
* Tue Dec 04 2001 - [email protected]
|
|
153 |
- sync with cvs 2001.12.04.
|
|
154 |
* Wed Oct 24 2001 - [email protected]
|
|
155 |
- sync with cvs 20011024.
|
|
156 |
+ fixed/updated documents
|
|
157 |
+ tuned up parameters
|
|
158 |
+ bugfixes on 64bit arch.
|
|
159 |
- removed Requires to libogg.
|
|
160 |
* Sat Oct 20 2001 - [email protected]
|
|
161 |
- Fix use of qsort.
|
|
162 |
* Mon Aug 13 2001 - [email protected]
|
|
163 |
- updated to 1.0rc2 from cvs 20010813.
|
|
164 |
* Thu Jun 07 2001 - [email protected]
|
|
165 |
- fixed build with the recent libtool.
|
|
166 |
* Tue Apr 03 2001 - [email protected]
|
|
167 |
- make use of RPM_OPT_FLAGS
|
|
168 |
- include the include/vorbis dir into the file list(+rpm-macroized)
|
|
169 |
* Mon Mar 12 2001 - [email protected]
|
|
170 |
- corrected copyright in spec file.
|
|
171 |
* Mon Feb 26 2001 - [email protected]
|
|
172 |
- Updated to 1.0beta4.
|
|
173 |
* Wed Jan 31 2001 - [email protected]
|
|
174 |
- Initial version: 1.0beta3.
|