Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / libogg / libogg.spec
blob8c6d583b0164a74f38e9a3fa0b1e25a2c034f0b8
1 Name: libogg
2 Version: 1.1.4
3 Release: 0.xiph.1
4 Summary: Ogg Bitstream Library.
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
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}
21 %description
22 Libogg is a library for manipulating ogg bitstreams. It handles
23 both making ogg bitstreams and getting packets from ogg bitstreams.
25 %package devel
26 Summary: Ogg Bitstream Library Development
27 Group: Development/Libraries
28 Requires: libogg = %{version}
29 # Dirty trick to tell rpm that this package actually provides what the
30 # last rc and beta was offering
31 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release}
32 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
34 %description devel
35 The libogg-devel package contains the header files, static libraries
36 and documentation needed to develop applications with libogg.
38 %prep
39 %setup -q -n %{name}-%{version}
41 %build
42 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static
43 make
45 %install
46 rm -rf $RPM_BUILD_ROOT
48 make DESTDIR=$RPM_BUILD_ROOT install
50 %clean
51 rm -rf $RPM_BUILD_ROOT
53 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
57 %files
58 %defattr(-,root,root)
59 %doc AUTHORS CHANGES COPYING README
60 %{_libdir}/libogg.so.*
62 %files devel
63 %defattr(-,root,root)
64 %doc doc/index.html
65 %doc doc/framing.html
66 %doc doc/oggstream.html
67 %doc doc/white-ogg.png
68 %doc doc/white-xifish.png
69 %doc doc/stream.png
70 %doc doc/libogg/*.html
71 %doc doc/libogg/style.css
72 %dir %{_includedir}/ogg
73 %{_includedir}/ogg/ogg.h
74 %{_includedir}/ogg/os_types.h
75 %{_includedir}/ogg/config_types.h
76 %{_libdir}/libogg.a
77 %{_libdir}/libogg.la
78 %{_libdir}/libogg.so
79 %{_libdir}/pkgconfig/ogg.pc
80 %{_datadir}/aclocal/ogg.m4
82 %changelog
83 * Thu Nov 08 2007 Conrad Parker <conrad@metadecks.org>
84 - update doc dir (reported by thosmos on #vorbis)
86 * Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
87 - autogenerate from configure
88 - fix download location
89 - remove Prefix
90 - own include dir
91 - move ldconfig runs to -p scripts
92 - change Release tag to include xiph
94 * Tue Oct 07 2003 Warren Dukes <shank@xiph.org>
95 - update for 1.1 release
97 * Sun Jul 14 2002 Thomas Vander Stichele <thomas@apestaart.org>
98 - update for 1.0 release
99 - conform Group to Red Hat's idea of it
100 - take out case where configure doesn't exist; a tarball should have it
102 * Tue Dec 18 2001 Jack Moffitt <jack@xiph.org>
103 - Update for RC3 release
105 * Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
106 - add support for configurable prefixes
108 * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
109 - initial spec file created