Blame SPECS/libtheora.spec

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