Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/libogg-1.1.3/libogg.spec @ 15

Last change on this file since 15 was 15, checked in by landauf, 16 years ago

added libogg

File size: 2.8 KB
Line 
1Name:           libogg
2Version:        1.1.3
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/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
Note: See TracBrowser for help on using the repository browser.