Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[fa2396]: libogg.spec Maximize Restore History

Download this file

libogg.spec    86 lines (70 with data), 1.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%define name libogg
%define version 1.0rc3
%define release 1
Summary: Ogg Bitstream Library
Name: %{name}
Version: %{version}
Release: %{release}
Group: Libraries/Multimedia
Copyright: LGPL
URL: http://www.xiph.org/
Vendor: Xiph.org Foundation <team@xiph.org>
Source: ftp://ftp.xiph.org/pub/ogg/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Prefix: %{_prefix}
%description
Libogg is a library for manipulating ogg bitstreams. It handles
both making ogg bitstreams and getting packets from ogg bitstreams.
%package devel
Summary: Ogg Bitstream Library Development
Group: Development/Libraries
Requires: libogg = %{version}
%description devel
The libogg-devel package contains the header files and documentation
needed to develop applications with libogg.
%prep
%setup -q -n %{name}-%{version}
%build
if [ ! -f configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
fi
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc AUTHORS
%doc CHANGES
%doc COPYING
%doc README
%{_libdir}/libogg.so.*
%files devel
%doc doc/index.html
%doc doc/framing.html
%doc doc/oggstream.html
%doc doc/white-ogg.png
%doc doc/white-xifish.png
%doc doc/stream.png
%doc doc/ogg
%{_includedir}/ogg/ogg.h
%{_includedir}/ogg/os_types.h
%{_includedir}/ogg/config_types.h
%{_libdir}/libogg.a
%{_libdir}/libogg.so
%{_datadir}/aclocal/ogg.m4
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%changelog
* Tue Dec 18 2001 Jack Moffitt <jack@xiph.org>
- Update for RC3 release
* Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
- add support for configurable prefixes
* Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
- initial spec file created