cvsdist 212008e
Summary: Theora Video Compression Codec
cvsdist 212008e
Name: libtheora
1c3ecd2
Version: 1.1.1
16e10c9
Release: 2%{?dist}
0414547
Epoch: 1
cvsdist 212008e
License: BSD
cvsdist 212008e
Group: System Environment/Libraries
cvsdist 212008e
URL: http://www.theora.org
b67b5a4
Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.xz
cvsdist 212008e
BuildRequires: libogg-devel >= 2:1.1
b07902b
BuildRequires: libvorbis-devel
4569d6b
BuildRequires: SDL-devel libpng-devel
3665482
BuildRequires: doxygen
56d2006
BuildRequires: tetex-latex transfig
cvsdist 212008e
50c9bd8
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
4569d6b
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
4569d6b
# the new experimental decoder is now part of the regular libtheora
4569d6b
# we do not obsolete theora-exp itself as that had a different soname and we
4569d6b
# do not want to break deps, however we do now provide the same headers as
4569d6b
# theora-exp-devel did.
4569d6b
Obsoletes:	theora-exp-devel
4569d6b
Provides:	theora-exp-devel
cvsdist 212008e
cvsdist 212008e
%description devel
404a1cb
The libtheora-devel package contains the header files needed to develop
404a1cb
applications with libtheora.
404a1cb
404a1cb
404a1cb
%package devel-docs
404a1cb
Summary: Documentation for developing Theora applications
404a1cb
Group: Development/Libraries
404a1cb
Requires: libtheora = %{epoch}:%{version}-%{release}
a1a17eb
BuildArch: noarch
404a1cb
404a1cb
%description devel-docs
162b343
The libtheora-devel-docs package contains the documentation needed
162b343
to develop applications with libtheora.
cvsdist 212008e
4569d6b
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}
cvsdist 212008e
cvsdist 212008e
%description -n theora-tools
162b343
The theora-tools package contains simple command line tools for use
cvsdist 212008e
with theora bitstreams.
cvsdist 212008e
4569d6b
cvsdist 212008e
%prep
0414547
%setup -q
fd88daf
# no custom CFLAGS please
fd88daf
sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
cvsdist 212008e
4569d6b
cvsdist 212008e
%build
dd793bf
%configure --enable-shared --disable-static
fd88daf
# Don't use rpath!
fd88daf
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
fd88daf
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
cvsdist 212008e
make
56d2006
make -C doc/spec
cvsdist 212008e
4569d6b
cvsdist 212008e
%install
cvsdist 212008e
rm -rf $RPM_BUILD_ROOT
fd88daf
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 212008e
fd88daf
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
2630315
rm -r $RPM_BUILD_ROOT/%{_docdir}/*
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
4569d6b
install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora
4569d6b
cvsdist 212008e
cvsdist 212008e
%clean
cvsdist 212008e
rm -rf $RPM_BUILD_ROOT
cvsdist 212008e
4569d6b
cvsdist 212008e
%post -p /sbin/ldconfig
cvsdist 212008e
cvsdist 212008e
%postun -p /sbin/ldconfig
cvsdist 212008e
4569d6b
cvsdist 212008e
%files
cvsdist 212008e
%defattr(-,root,root,-)
162b343
%doc README COPYING
cvsdist 212008e
%{_libdir}/*.so.*
cvsdist 212008e
cvsdist 212008e
%files devel
cvsdist 212008e
%defattr(-,root,root,-)
56d2006
%{_includedir}/theora
cvsdist 212008e
%{_libdir}/*.so
fd88daf
%{_libdir}/pkgconfig/theora*.pc
cvsdist 212008e
404a1cb
%files devel-docs
404a1cb
%defattr(-,root,root,-)
404a1cb
%doc doc/libtheora/html doc/vp3-format.txt doc/spec/Theora.pdf
404a1cb
%doc doc/color.html doc/draft-ietf-avt-rtp-theora-00.txt
404a1cb
cvsdist 212008e
%files -n theora-tools
cvsdist 212008e
%defattr(-,root,root,-)
cvsdist 212008e
%{_bindir}/*
cvsdist 212008e
4569d6b
cvsdist 212008e
%changelog
16e10c9
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1:1.1.1-2
16e10c9
- Rebuild for new libpng
16e10c9
1c3ecd2
* Thu Feb 17 2011 Adam Jackson <ajax@redhat.com> 1.1.1-1
1c3ecd2
- libtheora 1.1.1
1c3ecd2
f6650af
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.1.0-2
f6650af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f6650af
6565e50
* Fri Sep 25 2009 Adam Jackson <ajax@redhat.com> 1.1.0-1
6565e50
- libtheora 1.1.0
6565e50
fd393c5
* Mon Aug 24 2009 Matthias Clasen <mclasen@redhat.com> - 1.1beta3
fd393c5
- 1.1beta3
fd393c5
2059f04
* Thu Aug 13 2009 Matthias Clasen <mclasen@redhat.com> - 1.1beta2
2059f04
- 1.1beta2
2059f04
b67b5a4
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 1:1.1beta1-2
b67b5a4
- Use xz compressed upstream tarball.
b67b5a4
162b343
* Wed Aug  5 2009 Matthias Clasen <mclasen@redhat.com> - 1.1beta1
162b343
- 1.1beta1
162b343
d41f877
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.1alpha2-2
d41f877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d41f877
08dd245
* Wed Jun 03 2009 Adam Jackson <ajax@redhat.com> 1.1alpha2-1
08dd245
- 1.1alpha2
08dd245
e481380
* Tue Jun 02 2009 Adam Jackson <ajax@redhat.com> 1:1.1alpha1-1
e481380
- libtheora 1.1alpha1.  Woo Thusnelda!
e481380
a1a17eb
* Tue Feb 24 2009 Matthias Clasen <mclasen@redhat.com> 1:1.0-3
a1a17eb
- Make -devel-docs noarch
a1a17eb
404a1cb
* Sat Dec 20 2008 Hans de Goede <hdegoede@redhat.com> 1:1.0-2
404a1cb
- Put development documentation in its own subpackage to fix multilib
404a1cb
  conflicts (rh 477290)
404a1cb
0414547
* Tue Dec 16 2008 Hans de Goede <hdegoede@redhat.com> 1:1.0-1
0414547
- 1.0 final release
0414547
- need epoch because we were not using the special pre-release
0414547
  version-release scheme used now a days in Fedora :(
0414547
50c9bd8
* Fri Oct  3 2008 Matthias Clasen <mclasen@redhat.com> 1.0rc1-2
50c9bd8
- Fix build on x86_64
50c9bd8
2630315
* Fri Oct  3 2008 Matthias Clasen <mclasen@redhat.com> 1.0rc1-1
2630315
- Update to 1.0rc1
2630315
e48628c
* Wed May 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0:1.0beta3-2
e48628c
- Fix libtheoraenc getting build but not installed
e48628c
fd88daf
* Thu Apr 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta3-1
fd88daf
- New upstream release 1.0beta3
fd88daf
cdec552
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.0beta2-4
cdec552
- Autorebuild for GCC 4.3
cdec552
a4f23d6
* Thu Nov 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-3
21e1db2
- Update png2theora to latest svn version (bz 401681)
a4f23d6
4569d6b
* Wed Oct 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-2
4569d6b
- Put Obsoletes/Provides theora-exp-devel in the -devel package instead of in
4569d6b
  the -tools package (oops)
4569d6b
- Install png2theora (bz 349951)
4569d6b
b3d7c64
* Thu Oct 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-1
b3d7c64
- New upstream bugfix release 1.0beta2
b3d7c64
56d2006
* Thu Oct 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta1-1
56d2006
- New upstream release 1.0beta1 (bz 307571)
56d2006
bd075e2
* Fri Sep 14 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.3.svn13393
bd075e2
- Fix textrelocations on i386 (bz 253591)
bd075e2
630ee05
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.2.svn13393
630ee05
- Fix Source0 URL
630ee05
9ffbd5f
* Sun Jul 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.1.svn13393
9ffbd5f
- Update to 1.0alpha8 svn (revision 13393) snapshot
9ffbd5f
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