Blame SPECS/libtheora.spec

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