[15] | 1 | Name: libogg |
---|
| 2 | Version: @VERSION@ |
---|
| 3 | Release: 0.xiph.1 |
---|
| 4 | Summary: Ogg Bitstream Library. |
---|
| 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 | %description |
---|
| 22 | Libogg is a library for manipulating ogg bitstreams. It handles |
---|
| 23 | both making ogg bitstreams and getting packets from ogg bitstreams. |
---|
| 24 | |
---|
| 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} |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | The libogg-devel package contains the header files, static libraries |
---|
| 36 | and documentation needed to develop applications with libogg. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q -n %{name}-%{version} |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static |
---|
| 43 | make |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | %post -p /sbin/ldconfig |
---|
| 54 | |
---|
| 55 | %postun -p /sbin/ldconfig |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %defattr(-,root,root) |
---|
| 59 | %doc AUTHORS CHANGES COPYING README |
---|
| 60 | %{_libdir}/libogg.so.* |
---|
| 61 | |
---|
| 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/ogg/*.html |
---|
| 71 | %doc doc/ogg/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 |
---|
| 81 | |
---|
| 82 | %changelog |
---|
| 83 | * Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org> |
---|
| 84 | - autogenerate from configure |
---|
| 85 | - fix download location |
---|
| 86 | - remove Prefix |
---|
| 87 | - own include dir |
---|
| 88 | - move ldconfig runs to -p scripts |
---|
| 89 | - change Release tag to include xiph |
---|
| 90 | |
---|
| 91 | * Tue Oct 07 2003 Warren Dukes <shank@xiph.org> |
---|
| 92 | - update for 1.1 release |
---|
| 93 | |
---|
| 94 | * Sun Jul 14 2002 Thomas Vander Stichele <thomas@apestaart.org> |
---|
| 95 | - update for 1.0 release |
---|
| 96 | - conform Group to Red Hat's idea of it |
---|
| 97 | - take out case where configure doesn't exist; a tarball should have it |
---|
| 98 | |
---|
| 99 | * Tue Dec 18 2001 Jack Moffitt <jack@xiph.org> |
---|
| 100 | - Update for RC3 release |
---|
| 101 | |
---|
| 102 | * Sun Oct 07 2001 Jack Moffitt <jack@xiph.org> |
---|
| 103 | - add support for configurable prefixes |
---|
| 104 | |
---|
| 105 | * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org> |
---|
| 106 | - initial spec file created |
---|