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