2004-09-09 07:43:27 +00:00
|
|
|
Summary: Theora Video Compression Codec
|
|
|
|
Name: libtheora
|
2009-06-02 20:34:05 +00:00
|
|
|
Version: 1.1alpha1
|
|
|
|
Release: 1%{?dist}
|
2008-12-17 20:07:19 +00:00
|
|
|
Epoch: 1
|
2004-09-09 07:43:27 +00:00
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.theora.org
|
2009-06-02 20:34:05 +00:00
|
|
|
Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.bz2
|
2007-03-25 21:59:42 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 07:43:27 +00:00
|
|
|
BuildRequires: libogg-devel >= 2:1.1
|
2004-10-05 18:01:59 +00:00
|
|
|
BuildRequires: libvorbis-devel
|
2007-10-24 08:36:49 +00:00
|
|
|
BuildRequires: SDL-devel libpng-devel
|
2007-08-16 18:34:57 +00:00
|
|
|
BuildRequires: doxygen
|
2007-10-11 12:12:32 +00:00
|
|
|
BuildRequires: tetex-latex transfig
|
2004-09-09 07:43:27 +00:00
|
|
|
|
2008-10-03 15:57:07 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%description
|
|
|
|
Theora is Xiph.Org's first publicly released video codec, intended
|
|
|
|
for use within the Ogg's project's Ogg multimedia streaming system.
|
|
|
|
Theora is derived directly from On2's VP3 codec; Currently the two are
|
|
|
|
nearly identical, varying only in encapsulating decoder tables in the
|
|
|
|
bitstream headers, but Theora will make use of this extra freedom
|
|
|
|
in the future to improve over what is possible with VP3.
|
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%package devel
|
2007-03-25 21:59:42 +00:00
|
|
|
Summary: Development tools for Theora applications
|
2004-09-09 07:43:27 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libogg-devel >= 2:1.1
|
2004-09-09 07:43:46 +00:00
|
|
|
Requires: libtheora = %{epoch}:%{version}-%{release}
|
2007-03-25 21:59:42 +00:00
|
|
|
Requires: pkgconfig
|
2007-10-24 08:36:49 +00:00
|
|
|
# the new experimental decoder is now part of the regular libtheora
|
|
|
|
# we do not obsolete theora-exp itself as that had a different soname and we
|
|
|
|
# do not want to break deps, however we do now provide the same headers as
|
|
|
|
# theora-exp-devel did.
|
|
|
|
Obsoletes: theora-exp-devel
|
|
|
|
Provides: theora-exp-devel
|
2004-09-09 07:43:27 +00:00
|
|
|
|
|
|
|
%description devel
|
2008-12-20 09:19:41 +00:00
|
|
|
The libtheora-devel package contains the header files needed to develop
|
|
|
|
applications with libtheora.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel-docs
|
|
|
|
Summary: Documentation for developing Theora applications
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libtheora = %{epoch}:%{version}-%{release}
|
2009-02-25 02:20:13 +00:00
|
|
|
BuildArch: noarch
|
2008-12-20 09:19:41 +00:00
|
|
|
|
|
|
|
%description devel-docs
|
|
|
|
The libtheora-devel-docs package contains the documentation needed to develop
|
|
|
|
applications with libtheora.
|
2004-09-09 07:43:27 +00:00
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%package -n theora-tools
|
|
|
|
Summary: Command line tools for Theora videos
|
|
|
|
Group: Applications/Multimedia
|
2004-09-09 07:43:46 +00:00
|
|
|
Requires: libtheora = %{epoch}:%{version}-%{release}
|
2004-09-09 07:43:27 +00:00
|
|
|
|
|
|
|
%description -n theora-tools
|
|
|
|
The theora-tools package contains simple command line tools for use
|
|
|
|
with theora bitstreams.
|
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%prep
|
2008-12-17 20:07:19 +00:00
|
|
|
%setup -q
|
2008-04-19 09:00:31 +00:00
|
|
|
# no custom CFLAGS please
|
|
|
|
sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
|
2004-09-09 07:43:27 +00:00
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%build
|
2007-03-25 21:59:42 +00:00
|
|
|
%configure --enable-shared --disable-static
|
2008-04-19 09:00:31 +00:00
|
|
|
# Don't use rpath!
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2004-09-09 07:43:27 +00:00
|
|
|
make
|
2007-10-11 12:12:32 +00:00
|
|
|
make -C doc/spec
|
2004-09-09 07:43:27 +00:00
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2008-04-19 09:00:31 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 07:43:27 +00:00
|
|
|
|
2008-04-19 09:00:31 +00:00
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2008-10-03 15:33:40 +00:00
|
|
|
rm -r $RPM_BUILD_ROOT/%{_docdir}/*
|
2004-09-09 07:43:27 +00:00
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
|
|
install -m 755 examples/.libs/dump_video $RPM_BUILD_ROOT/%{_bindir}/theora_dump_video
|
|
|
|
install -m 755 examples/.libs/encoder_example $RPM_BUILD_ROOT/%{_bindir}/theora_encode
|
|
|
|
install -m 755 examples/.libs/player_example $RPM_BUILD_ROOT/%{_bindir}/theora_player
|
2007-10-24 08:36:49 +00:00
|
|
|
install -m 755 examples/.libs/png2theora $RPM_BUILD_ROOT/%{_bindir}/png2theora
|
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README COPYING
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2007-10-11 12:12:32 +00:00
|
|
|
%{_includedir}/theora
|
2004-09-09 07:43:27 +00:00
|
|
|
%{_libdir}/*.so
|
2008-04-19 09:00:31 +00:00
|
|
|
%{_libdir}/pkgconfig/theora*.pc
|
2004-09-09 07:43:27 +00:00
|
|
|
|
2008-12-20 09:19:41 +00:00
|
|
|
%files devel-docs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc doc/libtheora/html doc/vp3-format.txt doc/spec/Theora.pdf
|
|
|
|
%doc doc/color.html doc/draft-ietf-avt-rtp-theora-00.txt
|
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%files -n theora-tools
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/*
|
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
%changelog
|
2009-06-02 20:34:05 +00:00
|
|
|
* Tue Jun 02 2009 Adam Jackson <ajax@redhat.com> 1:1.1alpha1-1
|
|
|
|
- libtheora 1.1alpha1. Woo Thusnelda!
|
|
|
|
|
2009-02-25 02:20:13 +00:00
|
|
|
* Tue Feb 24 2009 Matthias Clasen <mclasen@redhat.com> 1:1.0-3
|
|
|
|
- Make -devel-docs noarch
|
|
|
|
|
2008-12-20 09:19:41 +00:00
|
|
|
* Sat Dec 20 2008 Hans de Goede <hdegoede@redhat.com> 1:1.0-2
|
|
|
|
- Put development documentation in its own subpackage to fix multilib
|
|
|
|
conflicts (rh 477290)
|
|
|
|
|
2008-12-17 20:07:19 +00:00
|
|
|
* Tue Dec 16 2008 Hans de Goede <hdegoede@redhat.com> 1:1.0-1
|
|
|
|
- 1.0 final release
|
|
|
|
- need epoch because we were not using the special pre-release
|
|
|
|
version-release scheme used now a days in Fedora :(
|
|
|
|
|
2008-10-03 15:57:07 +00:00
|
|
|
* Fri Oct 3 2008 Matthias Clasen <mclasen@redhat.com> 1.0rc1-2
|
|
|
|
- Fix build on x86_64
|
|
|
|
|
2008-10-03 15:33:40 +00:00
|
|
|
* Fri Oct 3 2008 Matthias Clasen <mclasen@redhat.com> 1.0rc1-1
|
|
|
|
- Update to 1.0rc1
|
|
|
|
|
2008-05-14 20:48:26 +00:00
|
|
|
* Wed May 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0:1.0beta3-2
|
|
|
|
- Fix libtheoraenc getting build but not installed
|
|
|
|
|
2008-04-19 09:00:31 +00:00
|
|
|
* Thu Apr 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta3-1
|
|
|
|
- New upstream release 1.0beta3
|
|
|
|
|
2008-02-19 09:07:45 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.0beta2-4
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-11-29 20:35:33 +00:00
|
|
|
* Thu Nov 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-3
|
2007-12-03 08:37:42 +00:00
|
|
|
- Update png2theora to latest svn version (bz 401681)
|
2007-11-29 20:35:33 +00:00
|
|
|
|
2007-10-24 08:36:49 +00:00
|
|
|
* Wed Oct 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-2
|
|
|
|
- Put Obsoletes/Provides theora-exp-devel in the -devel package instead of in
|
|
|
|
the -tools package (oops)
|
|
|
|
- Install png2theora (bz 349951)
|
|
|
|
|
2007-10-18 14:19:40 +00:00
|
|
|
* Thu Oct 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta2-1
|
|
|
|
- New upstream bugfix release 1.0beta2
|
|
|
|
|
2007-10-11 12:12:32 +00:00
|
|
|
* Thu Oct 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta1-1
|
|
|
|
- New upstream release 1.0beta1 (bz 307571)
|
|
|
|
|
2007-09-14 18:33:29 +00:00
|
|
|
* Fri Sep 14 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.3.svn13393
|
|
|
|
- Fix textrelocations on i386 (bz 253591)
|
|
|
|
|
2007-08-22 09:39:29 +00:00
|
|
|
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.2.svn13393
|
|
|
|
- Fix Source0 URL
|
|
|
|
|
2007-08-16 18:22:03 +00:00
|
|
|
* Sun Jul 29 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0alpha8-0.1.svn13393
|
|
|
|
- Update to 1.0alpha8 svn (revision 13393) snapshot
|
|
|
|
|
2007-04-11 11:12:32 +00:00
|
|
|
* Wed Apr 11 2007 Matthias Clasen <mclasen@redhat.com> - 0:1.0alpha7-3
|
|
|
|
- Add api docs to the -devel package
|
|
|
|
|
2007-03-25 21:59:42 +00:00
|
|
|
* Sun Mar 25 2007 Matthias Clasen <mclasen@redhat.com> - 0:1.0alpha7-2
|
|
|
|
- Fix a directory ownership issue (#233872)
|
|
|
|
- Small spec cleanups
|
|
|
|
|
2006-08-02 22:21:58 +00:00
|
|
|
* Wed Aug 02 2006 Monty <cmontgom@redhat.com> - 0:1.0alpha7-1
|
|
|
|
- Update to 1.0alpha7
|
|
|
|
|
2006-07-12 06:57:42 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0alpha5-1.2.2
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 04:14:25 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0alpha5-1.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:44:45 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0alpha5-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:42 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-09 20:49:42 +00:00
|
|
|
* Wed Nov 09 2005 John (J5) Palmieri <johnp@redhar.com> - 1.0alpha5-1
|
|
|
|
- Update to 1.0alpha5
|
|
|
|
|
2005-03-02 23:57:49 +00:00
|
|
|
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhar.com> - 1.0alpha4-2
|
|
|
|
- rebuild with gcc 4.0
|
|
|
|
|
2005-01-04 00:07:22 +00:00
|
|
|
* Mon Jan 03 2005 Colin Walters <walters@redhat.com> - 1.0alpha4-1
|
|
|
|
- New upstream version 1.0alpha4
|
|
|
|
- Remove upstreamed patch libtheora-1.0alpha3-include.patch
|
|
|
|
- Use Theora_I_spec.pdf for spec
|
|
|
|
- Add in .pc file (yay! another library sees the light)
|
|
|
|
|
2004-10-05 18:01:59 +00:00
|
|
|
* Tue Oct 05 2004 Colin Walters <walters@redhat.com> - 1.0alpha3-5
|
|
|
|
- Add BuildRequires on libvorbis-devel (134664)
|
|
|
|
|
2004-09-09 07:43:46 +00:00
|
|
|
* Sat Jul 17 2004 Warren Togami <wtogami@redhat.com> - 1.0alpha3-4
|
|
|
|
- Add Epoch dependencies for future Epoch increment safety measure
|
|
|
|
|
2004-09-09 07:43:37 +00:00
|
|
|
* Thu Jul 15 2004 Colin Walters <walters@redhat.com> - 1.0alpha3-3
|
|
|
|
- Apply patch to fix include path, thanks to Thomas Vander Stichele
|
|
|
|
|
2004-09-09 07:43:27 +00:00
|
|
|
* Tue Jul 13 2004 Jeremy Katz <katzj@redhat.com> - 1.0alpha3-2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Mon Jun 21 2004 Jeremy Katz <katzj@redhat.com> - 1.0alpha3-1
|
|
|
|
- Initial build
|