Blame SPECS/libtheora.spec

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