annotate src/libogg-1.3.0/libogg.spec @ 169:223a55898ab9 tip default

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