VirtualBox

source: vbox/trunk/src/libs/libogg-1.3.5/libogg.spec.in@ 100063

Last change on this file since 100063 was 96360, checked in by vboxsync, 2 years ago

libogg, libvorbis: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
1Name: libogg
2Version: @VERSION@
3Release: 0.xiph.1
4Summary: Ogg Bitstream Library.
5
6Group: System Environment/Libraries
7License: BSD
8URL: http://www.xiph.org/
9Vendor: Xiph.org Foundation <team@xiph.org>
10Source: http://www.vorbis.com/files/1.0.1/unix/%{name}-%{version}.tar.gz
11BuildRoot: %{_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
15Epoch: 2
16# Dirty trick to tell rpm that this package actually provides what the
17# last rc and beta was offering
18Provides: %{name} = %{epoch}:1.0rc3-%{release}
19Provides: %{name} = %{epoch}:1.0beta4-%{release}
20
21%description
22Libogg is a library for manipulating ogg bitstreams. It handles
23both making ogg bitstreams and getting packets from ogg bitstreams.
24
25%package devel
26Summary: Ogg Bitstream Library Development
27Group: Development/Libraries
28Requires: libogg = %{version}
29# Dirty trick to tell rpm that this package actually provides what the
30# last rc and beta was offering
31Provides: %{name}-devel = %{epoch}:1.0rc3-%{release}
32Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
33
34%description devel
35The libogg-devel package contains the header files, static libraries
36and documentation needed to develop applications with libogg.
37
38%prep
39%setup -q -n %{name}-%{version}
40
41%build
42CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static
43make
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48make DESTDIR=$RPM_BUILD_ROOT install
49
50%clean
51rm -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/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
81
82%changelog
83* Thu Nov 08 2007 Conrad Parker <conrad@metadecks.org>
84- update doc dir (reported by thosmos on #vorbis)
85
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
93
94* Tue Oct 07 2003 Warren Dukes <shank@xiph.org>
95- update for 1.1 release
96
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
101
102* Tue Dec 18 2001 Jack Moffitt <jack@xiph.org>
103- Update for RC3 release
104
105* Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
106- add support for configurable prefixes
107
108* Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
109- initial spec file created
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette