Sophie

Sophie

distrib > Mandriva > 10.1 > i586 > by-pkgid > 50972eb71ee3b1c1ec574738bac7dd82 > files > 4

libtheora-1.0-0.alpha3.3mdk.src.rpm

%define name libtheora
%define version 1.0
%define pre alpha3
%define fversion %version%pre
%define release 0.%pre.3mdk

Summary: Theora video compression codec
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.theora.org/files/%{name}-%{fversion}.tar.bz2
Patch0: libtheora-1.0alpha3-pic.patch.bz2
Patch1: libtheora-1.0alpha3-lib64.patch.bz2
URL: http://www.theora.org/
License: BSD
Group: Video
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: automake1.7 >= 1.7.9
BuildRequires: autoconf2.5 >= 2.54
BuildRequires: libvorbis-devel >= 1.0.1
BuildRequires: libSDL-devel

%description
Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free,
general-purpose compressed video format.

%package devel
Summary: Headers for developing programs that will use %{name}
Group: Development/C
Requires: libogg-devel >= 1.0.1

%description devel
This package contains the headers that programmers will need to develop
applications which will use %{name}.

%prep
%setup -q -n %name-%fversion
%patch0 -p1 -b .pic
%patch1 -p1 -b .lib64
AUTOMAKE=automake-1.7 ACLOCAL=aclocal-1.7 autoreconf

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT installed-docs
%makeinstall_std
mv %buildroot%_datadir/doc/libtheora* installed-docs

%clean
rm -rf $RPM_BUILD_ROOT

%files devel
%defattr(-,root,root)
%doc README COPYING installed-docs/*
%_includedir/theora
%_libdir/libtheora.*


%changelog
* Wed Sep 29 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-0.alpha3.3mdk
- lib64 fixes
- build static library with PIC as it can be built into a DSO

* Wed Apr 21 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-0.alpha3.2mdk
- fix buildrequires
- fix URL

* Fri Apr  2 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-0.alpha3.1mdk
- initial package