cannam@86
|
1 Name: libvorbis
|
cannam@86
|
2 Version: @VERSION@
|
cannam@86
|
3 Release: 0.xiph.1
|
cannam@86
|
4 Summary: The Vorbis General Audio Compression Codec.
|
cannam@86
|
5
|
cannam@86
|
6 Group: System Environment/Libraries
|
cannam@86
|
7 License: BSD
|
cannam@86
|
8 URL: http://www.xiph.org/
|
cannam@86
|
9 Vendor: Xiph.org Foundation <team@xiph.org>
|
cannam@86
|
10 Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
|
cannam@86
|
11 BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
cannam@86
|
12
|
cannam@86
|
13 # We're forced to use an epoch since both Red Hat and Ximian use it in their
|
cannam@86
|
14 # rc packages
|
cannam@86
|
15 Epoch: 2
|
cannam@86
|
16 # Dirty trick to tell rpm that this package actually provides what the
|
cannam@86
|
17 # last rc and beta was offering
|
cannam@86
|
18 Provides: %{name} = %{epoch}:1.0rc3-%{release}
|
cannam@86
|
19 Provides: %{name} = %{epoch}:1.0beta4-%{release}
|
cannam@86
|
20
|
cannam@86
|
21 Requires: libogg >= 1.1
|
cannam@86
|
22 BuildRequires: libogg-devel >= 1.1
|
cannam@86
|
23
|
cannam@86
|
24 %description
|
cannam@86
|
25 Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
|
cannam@86
|
26 general-purpose compressed audio format for audio and music at fixed
|
cannam@86
|
27 and variable bitrates from 16 to 128 kbps/channel.
|
cannam@86
|
28
|
cannam@86
|
29 %package devel
|
cannam@86
|
30 Summary: Vorbis Library Development
|
cannam@86
|
31 Group: Development/Libraries
|
cannam@86
|
32 Requires: libogg-devel >= 1.1
|
cannam@86
|
33 Requires: libvorbis = %{version}
|
cannam@86
|
34 # Dirty trick to tell rpm that this package actually provides what the
|
cannam@86
|
35 # last rc and beta was offering
|
cannam@86
|
36 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release}
|
cannam@86
|
37 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
|
cannam@86
|
38
|
cannam@86
|
39 %description devel
|
cannam@86
|
40 The libvorbis-devel package contains the header files, static libraries
|
cannam@86
|
41 and documentation needed to develop applications with libvorbis.
|
cannam@86
|
42
|
cannam@86
|
43 %prep
|
cannam@86
|
44 %setup -q -n %{name}-%{version}
|
cannam@86
|
45
|
cannam@86
|
46 %build
|
cannam@86
|
47 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static
|
cannam@86
|
48 make
|
cannam@86
|
49
|
cannam@86
|
50 %install
|
cannam@86
|
51 rm -rf $RPM_BUILD_ROOT
|
cannam@86
|
52
|
cannam@86
|
53 make DESTDIR=$RPM_BUILD_ROOT install
|
cannam@86
|
54
|
cannam@86
|
55 %clean
|
cannam@86
|
56 rm -rf $RPM_BUILD_ROOT
|
cannam@86
|
57
|
cannam@86
|
58 %post -p /sbin/ldconfig
|
cannam@86
|
59
|
cannam@86
|
60 %postun -p /sbin/ldconfig
|
cannam@86
|
61
|
cannam@86
|
62 %files
|
cannam@86
|
63 %defattr(-,root,root)
|
cannam@86
|
64 %doc AUTHORS COPYING README
|
cannam@86
|
65 %{_libdir}/libvorbis.so.*
|
cannam@86
|
66 %{_libdir}/libvorbisfile.so.*
|
cannam@86
|
67 %{_libdir}/libvorbisenc.so.*
|
cannam@86
|
68
|
cannam@86
|
69 %files devel
|
cannam@86
|
70 %doc doc/*.html
|
cannam@86
|
71 %doc doc/*.png
|
cannam@86
|
72 %doc doc/*.txt
|
cannam@86
|
73 %doc doc/vorbisfile
|
cannam@86
|
74 %doc doc/vorbisenc
|
cannam@86
|
75 %{_datadir}/aclocal/vorbis.m4
|
cannam@86
|
76 %dir %{_includedir}/vorbis
|
cannam@86
|
77 %{_includedir}/vorbis/codec.h
|
cannam@86
|
78 %{_includedir}/vorbis/vorbisfile.h
|
cannam@86
|
79 %{_includedir}/vorbis/vorbisenc.h
|
cannam@86
|
80 %{_libdir}/libvorbis.a
|
cannam@86
|
81 %{_libdir}/libvorbis.la
|
cannam@86
|
82 %{_libdir}/libvorbis.so
|
cannam@86
|
83 %{_libdir}/libvorbisfile.a
|
cannam@86
|
84 %{_libdir}/libvorbisfile.la
|
cannam@86
|
85 %{_libdir}/libvorbisfile.so
|
cannam@86
|
86 %{_libdir}/libvorbisenc.a
|
cannam@86
|
87 %{_libdir}/libvorbisenc.la
|
cannam@86
|
88 %{_libdir}/libvorbisenc.so
|
cannam@86
|
89 %{_libdir}/pkgconfig/vorbis.pc
|
cannam@86
|
90 %{_libdir}/pkgconfig/vorbisfile.pc
|
cannam@86
|
91 %{_libdir}/pkgconfig/vorbisenc.pc
|
cannam@86
|
92
|
cannam@86
|
93 %changelog
|
cannam@86
|
94 * Sat May 3 2008 Ralph Giles <giles@xiph.org>
|
cannam@86
|
95 - updated source location
|
cannam@86
|
96
|
cannam@86
|
97 * Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
|
cannam@86
|
98 - autogenerate from configure
|
cannam@86
|
99 - fix download location
|
cannam@86
|
100 - remove Prefix
|
cannam@86
|
101 - own include dir
|
cannam@86
|
102 - move ldconfig runs to -p scripts
|
cannam@86
|
103 - change Release tag to include xiph
|
cannam@86
|
104
|
cannam@86
|
105 * Tue Oct 07 2003 Warren Dukes <shank@xiph.org>
|
cannam@86
|
106 - update for 1.0.1 release
|
cannam@86
|
107
|
cannam@86
|
108 * Sun Jul 14 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
cannam@86
|
109 - Added BuildRequires:
|
cannam@86
|
110 - updated for 1.0 release
|
cannam@86
|
111
|
cannam@86
|
112 * Sat May 25 2002 Michael Smith <msmith@icecast.org>
|
cannam@86
|
113 - Fixed requires, copyright string.
|
cannam@86
|
114 * Sun Dec 31 2001 Jack Moffitt <jack@xiph.org>
|
cannam@86
|
115 - Updated for rc3 release.
|
cannam@86
|
116
|
cannam@86
|
117 * Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
|
cannam@86
|
118 - Updated for configurable prefixes
|
cannam@86
|
119
|
cannam@86
|
120 * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
|
cannam@86
|
121 - initial spec file created
|