Chris@1: Name: libogg Chris@1: Version: 1.3.0 Chris@1: Release: 0.xiph.1 Chris@1: Summary: Ogg Bitstream Library. Chris@1: Chris@1: Group: System Environment/Libraries Chris@1: License: BSD Chris@1: URL: http://www.xiph.org/ Chris@1: Vendor: Xiph.org Foundation Chris@1: Source: http://www.vorbis.com/files/1.0.1/unix/%{name}-%{version}.tar.gz Chris@1: BuildRoot: %{_tmppath}/%{name}-%{version}-root Chris@1: Chris@1: # We're forced to use an epoch since both Red Hat and Ximian use it in their Chris@1: # rc packages Chris@1: Epoch: 2 Chris@1: # Dirty trick to tell rpm that this package actually provides what the Chris@1: # last rc and beta was offering Chris@1: Provides: %{name} = %{epoch}:1.0rc3-%{release} Chris@1: Provides: %{name} = %{epoch}:1.0beta4-%{release} Chris@1: Chris@1: %description Chris@1: Libogg is a library for manipulating ogg bitstreams. It handles Chris@1: both making ogg bitstreams and getting packets from ogg bitstreams. Chris@1: Chris@1: %package devel Chris@1: Summary: Ogg Bitstream Library Development Chris@1: Group: Development/Libraries Chris@1: Requires: libogg = %{version} Chris@1: # Dirty trick to tell rpm that this package actually provides what the Chris@1: # last rc and beta was offering Chris@1: Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} Chris@1: Provides: %{name}-devel = %{epoch}:1.0beta4-%{release} Chris@1: Chris@1: %description devel Chris@1: The libogg-devel package contains the header files, static libraries Chris@1: and documentation needed to develop applications with libogg. Chris@1: Chris@1: %prep Chris@1: %setup -q -n %{name}-%{version} Chris@1: Chris@1: %build Chris@1: CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static Chris@1: make Chris@1: Chris@1: %install Chris@1: rm -rf $RPM_BUILD_ROOT Chris@1: Chris@1: make DESTDIR=$RPM_BUILD_ROOT install Chris@1: Chris@1: %clean Chris@1: rm -rf $RPM_BUILD_ROOT Chris@1: Chris@1: %post -p /sbin/ldconfig Chris@1: Chris@1: %postun -p /sbin/ldconfig Chris@1: Chris@1: %files Chris@1: %defattr(-,root,root) Chris@1: %doc AUTHORS CHANGES COPYING README Chris@1: %{_libdir}/libogg.so.* Chris@1: Chris@1: %files devel Chris@1: %defattr(-,root,root) Chris@1: %doc doc/index.html Chris@1: %doc doc/framing.html Chris@1: %doc doc/oggstream.html Chris@1: %doc doc/white-ogg.png Chris@1: %doc doc/white-xifish.png Chris@1: %doc doc/stream.png Chris@1: %doc doc/libogg/*.html Chris@1: %doc doc/libogg/style.css Chris@1: %dir %{_includedir}/ogg Chris@1: %{_includedir}/ogg/ogg.h Chris@1: %{_includedir}/ogg/os_types.h Chris@1: %{_includedir}/ogg/config_types.h Chris@1: %{_libdir}/libogg.a Chris@1: %{_libdir}/libogg.la Chris@1: %{_libdir}/libogg.so Chris@1: %{_libdir}/pkgconfig/ogg.pc Chris@1: %{_datadir}/aclocal/ogg.m4 Chris@1: Chris@1: %changelog Chris@1: * Thu Nov 08 2007 Conrad Parker Chris@1: - update doc dir (reported by thosmos on #vorbis) Chris@1: Chris@1: * Thu Jun 10 2004 Thomas Vander Stichele Chris@1: - autogenerate from configure Chris@1: - fix download location Chris@1: - remove Prefix Chris@1: - own include dir Chris@1: - move ldconfig runs to -p scripts Chris@1: - change Release tag to include xiph Chris@1: Chris@1: * Tue Oct 07 2003 Warren Dukes Chris@1: - update for 1.1 release Chris@1: Chris@1: * Sun Jul 14 2002 Thomas Vander Stichele Chris@1: - update for 1.0 release Chris@1: - conform Group to Red Hat's idea of it Chris@1: - take out case where configure doesn't exist; a tarball should have it Chris@1: Chris@1: * Tue Dec 18 2001 Jack Moffitt Chris@1: - Update for RC3 release Chris@1: Chris@1: * Sun Oct 07 2001 Jack Moffitt Chris@1: - add support for configurable prefixes Chris@1: Chris@1: * Sat Sep 02 2000 Jack Moffitt Chris@1: - initial spec file created