updated version to 1.0rc1 in preparation for release
[platform/upstream/libvorbis.git] / libvorbis.spec
1 %define name    libvorbis
2 %define version 1.0rc1
3 %define release 1
4
5 Summary:        The Vorbis General Audio Compression Codec
6 Name:           %{name}
7 Version:        %{version}
8 Release:        %{release}
9 Group:          Libraries/Multimedia
10 Copyright:      LGPL
11 URL:            http://www.xiph.org/
12 Vendor:         Xiphophorus <team@xiph.org>
13 Source:         ftp://ftp.xiph.org/pub/ogg/vorbis/%{name}-%{version}.tar.gz
14 BuildRoot:      %{_tmppath}/%{name}-root
15 Requires:       libogg >= 1.0beta4
16
17 %description
18 Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
19 general-purpose compressed audio format for audio and music at fixed 
20 and variable bitrates from 16 to 128 kbps/channel.
21
22 %package devel
23 Summary:        Vorbis Library Development
24 Group:          Development/Libraries
25 Requires:       libogg-devel >= 1.0beta4
26 Requires:       libvorbis-devel = %{version}
27
28 %description devel
29 The libvorbis-devel package contains the header files and documentation
30 needed to develop applications with libvorbis.
31
32 %prep
33 %setup -q -n %{name}-%{version}
34
35 %build
36 if [ ! -f configure ]; then
37   CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=/usr
38 else
39   CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
40 fi
41 make
42
43 %install
44 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
45 make DESTDIR=$RPM_BUILD_ROOT install
46
47 %files
48 %defattr(-,root,root)
49 %doc COPYING
50 %doc AUTHORS
51 %doc README
52 /usr/lib/libvorbis.so.*
53 /usr/lib/libvorbisfile.so.*
54 /usr/lib/libvorbisenc.so.*
55
56 %files devel
57 %doc doc/*.html
58 %doc doc/*.png
59 %doc doc/*.txt
60 %doc doc/vorbisfile
61 %doc doc/vorbisenc
62 /usr/share/aclocal/vorbis.m4
63 /usr/include/vorbis/codec.h
64 /usr/include/vorbis/vorbisfile.h
65 /usr/include/vorbis/vorbisenc.h
66 /usr/lib/libvorbis.a
67 /usr/lib/libvorbis.so
68 /usr/lib/libvorbisfile.a
69 /usr/lib/libvorbisfile.so
70 /usr/lib/libvorbisenc.a
71 /usr/lib/libvorbisenc.so
72
73 %clean 
74 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
75
76 %post
77 /sbin/ldconfig
78
79 %postun
80 /sbin/ldconfig
81
82 %changelog
83 * Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
84 - initial spec file created