cvsdist 212008e
Summary: Theora Video Compression Codec
cvsdist 212008e
Name: libtheora
6ab8cb0
Version: 1.0alpha8
1235f5c
Release: 0.3.svn13393%{?dist}
cvsdist 9c1b01a
Epoch: 0
cvsdist 212008e
License: BSD
cvsdist 212008e
Group: System Environment/Libraries
cvsdist 212008e
URL: http://www.theora.org
1235f5c
# svn snapshot (svn revision 13393) no url
1235f5c
Source0: %{name}-%{version}.tar.gz
6ab8cb0
Patch0: libtheora-1.0alpha8-version-info.patch
1235f5c
Patch1: libtheora-1.0alpha8-textreloc.patch
dd793bf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
cvsdist 212008e
BuildRequires: libogg-devel >= 2:1.1
b07902b
BuildRequires: libvorbis-devel
cvsdist 212008e
BuildRequires: SDL-devel
6ab8cb0
BuildRequires: libtool
af50a13
BuildRequires: doxygen
cvsdist 212008e
cvsdist 212008e
%description
cvsdist 212008e
Theora is Xiph.Org's first publicly released video codec, intended
cvsdist 212008e
for use within the Ogg's project's Ogg multimedia streaming system.
cvsdist 212008e
Theora is derived directly from On2's VP3 codec; Currently the two are
cvsdist 212008e
nearly identical, varying only in encapsulating decoder tables in the
cvsdist 212008e
bitstream headers, but Theora will make use of this extra freedom
cvsdist 212008e
in the future to improve over what is possible with VP3.
cvsdist 212008e
cvsdist 212008e
%package devel
dd793bf
Summary: Development tools for Theora applications
cvsdist 212008e
Group: Development/Libraries
cvsdist 212008e
Requires:	libogg-devel >= 2:1.1
cvsdist 9c1b01a
Requires:	libtheora = %{epoch}:%{version}-%{release}
dd793bf
Requires:	pkgconfig
cvsdist 212008e
cvsdist 212008e
%description devel
cvsdist 212008e
The libtheora-devel package contains the header files and documentation 
cvsdist 212008e
needed to develop applications with libtheora.
cvsdist 212008e
cvsdist 212008e
%package -n theora-tools
cvsdist 212008e
Summary: Command line tools for Theora videos
cvsdist 212008e
Group: Applications/Multimedia
cvsdist 9c1b01a
Requires: libtheora = %{epoch}:%{version}-%{release}
6ab8cb0
# the new experimental decoder is now part of the regular libtheora
6ab8cb0
# we do not obsolete theora-exp itself as that had a different soname and we
6ab8cb0
# do not want to break deps, however we do now provide the same headers as
6ab8cb0
# theora-exp-devel did.
6ab8cb0
Obsoletes: theora-exp-devel
6ab8cb0
Provides: theora-exp-devel
cvsdist 212008e
cvsdist 212008e
%description -n theora-tools
cvsdist 212008e
The theora-tools package contains simple command line tools for use 
cvsdist 212008e
with theora bitstreams.
cvsdist 212008e
cvsdist 212008e
%prep
cvsdist 212008e
%setup -q
6ab8cb0
%patch0 -p1
1235f5c
%patch1 -p1
6ab8cb0
aclocal -I m4
6ab8cb0
libtoolize --automake
6ab8cb0
autoheader
6ab8cb0
automake --add-missing 
6ab8cb0
autoconf
cvsdist 212008e
cvsdist 212008e
%build
dd793bf
%configure --enable-shared --disable-static
cvsdist 212008e
make
cvsdist 212008e
cvsdist 212008e
%install
cvsdist 212008e
rm -rf $RPM_BUILD_ROOT
cvsdist 212008e
%makeinstall
cvsdist 212008e
cvsdist 212008e
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
6ab8cb0
rm -r $RPM_BUILD_ROOT/%{_docdir}/libtheora-1.0alpha8-svn
cvsdist 212008e
cvsdist 212008e
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
cvsdist 212008e
install -m 755 examples/.libs/dump_video $RPM_BUILD_ROOT/%{_bindir}/theora_dump_video
cvsdist 212008e
install -m 755 examples/.libs/encoder_example $RPM_BUILD_ROOT/%{_bindir}/theora_encode
cvsdist 212008e
install -m 755 examples/.libs/player_example $RPM_BUILD_ROOT/%{_bindir}/theora_player
cvsdist 212008e
cvsdist 212008e
%clean
cvsdist 212008e
rm -rf $RPM_BUILD_ROOT
cvsdist 212008e
cvsdist 212008e
%post -p /sbin/ldconfig
cvsdist 212008e
cvsdist 212008e
%postun -p /sbin/ldconfig
cvsdist 212008e
cvsdist 212008e
%files
cvsdist 212008e
%defattr(-,root,root,-)
cvsdist 212008e
%doc README COPYING 
cvsdist 212008e
%doc doc/vp3-format.txt
cvsdist 212008e
%{_libdir}/*.so.*
cvsdist 212008e
cvsdist 212008e
%files devel
cvsdist 212008e
%defattr(-,root,root,-)
ba2c4a4
%doc doc/libtheora/html
dd793bf
%dir %{_includedir}/theora
6ab8cb0
%{_includedir}/theora/*.h
cvsdist 212008e
%{_libdir}/*.so
23d2685
%{_libdir}/pkgconfig/theora.pc
cvsdist 212008e
cvsdist 212008e
%files -n theora-tools
cvsdist 212008e
%defattr(-,root,root,-)
cvsdist 212008e
%{_bindir}/*
cvsdist 212008e
cvsdist 212008e
%changelog
1235f5c
* Fri Sep 14 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.3.svn13393
1235f5c
- Fix textrelocations on i386 (bz 253591)
1235f5c
1235f5c
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.2.svn13393
1235f5c
- Fix Source0 URL
1235f5c
6ab8cb0
* Sun Jul 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.1.svn13393
6ab8cb0
- Update to 1.0alpha8 svn (revision 13393) snapshot
6ab8cb0
ba2c4a4
* Wed Apr 11 2007 Matthias Clasen <mclasen@redhat.com> - 0:1.0alpha7-3
ba2c4a4
- Add api docs to the -devel package
ba2c4a4
dd793bf
* Sun Mar 25 2007 Matthias Clasen <mclasen@redhat.com> - 0:1.0alpha7-2
dd793bf
- Fix a directory ownership issue (#233872)
dd793bf
- Small spec cleanups
dd793bf
e40571d
* Wed Aug 02 2006 Monty <cmontgom@redhat.com> - 0:1.0alpha7-1
e40571d
- Update to 1.0alpha7
e40571d
5bf913a
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0alpha5-1.2.2
5bf913a
- rebuild
5bf913a
072c52e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0alpha5-1.2.1
072c52e
- bump again for double-long bug on ppc(64)
072c52e
b20315f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0alpha5-1.2
b20315f
- rebuilt for new gcc4.1 snapshot and glibc changes
b20315f
0639ef6
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0639ef6
- rebuilt
0639ef6
b96f830
* Wed Nov 09 2005 John (J5) Palmieri <johnp@redhar.com> - 1.0alpha5-1
b96f830
- Update to 1.0alpha5
b96f830
99ecd6d
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhar.com> - 1.0alpha4-2
99ecd6d
- rebuild with gcc 4.0
99ecd6d
23d2685
* Mon Jan 03 2005 Colin Walters <walters@redhat.com> - 1.0alpha4-1
23d2685
- New upstream version 1.0alpha4 
23d2685
- Remove upstreamed patch libtheora-1.0alpha3-include.patch 
23d2685
- Use Theora_I_spec.pdf for spec
23d2685
- Add in .pc file (yay! another library sees the light)
23d2685
b07902b
* Tue Oct 05 2004 Colin Walters <walters@redhat.com> - 1.0alpha3-5
b07902b
- Add BuildRequires on libvorbis-devel (134664)
b07902b
cvsdist 9c1b01a
* Sat Jul 17 2004 Warren Togami <wtogami@redhat.com> - 1.0alpha3-4
cvsdist 9c1b01a
- Add Epoch dependencies for future Epoch increment safety measure
cvsdist 9c1b01a
cvsdist 0d8624a
* Thu Jul 15 2004 Colin Walters <walters@redhat.com> - 1.0alpha3-3
cvsdist 0d8624a
- Apply patch to fix include path, thanks to Thomas Vander Stichele
cvsdist 0d8624a
cvsdist 212008e
* Tue Jul 13 2004 Jeremy Katz <katzj@redhat.com> - 1.0alpha3-2
cvsdist 212008e
- rebuild
cvsdist 212008e
cvsdist 212008e
* Mon Jun 21 2004 Jeremy Katz <katzj@redhat.com> - 1.0alpha3-1
cvsdist 212008e
- Initial build