libtheora.spec.in 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Name: libtheora
  2. Version: @VERSION@
  3. Release: 0.xiph.0.4.alpha5
  4. Summary: The Theora Video Compression Codec.
  5. Group: System Environment/Libraries
  6. License: BSD
  7. URL: http://www.theora.org/
  8. Vendor: Xiph.org Foundation <team@xiph.org>
  9. Source: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libogg-devel >= 2:1.1
  12. BuildRequires: libvorbis-devel >= 1:1.0.1
  13. BuildRequires: SDL-devel
  14. # this needs to be explicit since vorbis's .so versioning didn't get bumped
  15. # when going from 1.0 to 1.0.1
  16. Requires: libvorbis >= 1:1.0.1
  17. %description
  18. Theora is Xiph.Org's first publicly released video codec, intended
  19. for use within the Ogg's project's Ogg multimedia streaming system.
  20. Theora is derived directly from On2's VP3 codec; Currently the two are
  21. nearly identical, varying only in encapsulating decoder tables in the
  22. bitstream headers, but Theora will make use of this extra freedom
  23. in the future to improve over what is possible with VP3.
  24. %package devel
  25. Summary: Development tools for Theora applications.
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: libogg-devel >= 2:1.1
  29. %description devel
  30. The libtheora-devel package contains the header files and documentation
  31. needed to develop applications with Ogg Theora.
  32. %prep
  33. %setup -q -n %{name}-%{version}
  34. %build
  35. %configure --enable-shared
  36. make
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. # make sure our temp doc build dir is removed
  40. rm -rf $(pwd)/__docs
  41. %makeinstall docdir=$(pwd)/__docs
  42. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root)
  49. %doc COPYING README
  50. %{_libdir}/libtheora.so.*
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %doc __docs/*
  54. %{_libdir}/libtheora.a
  55. %{_libdir}/libtheora.so
  56. %dir %{_includedir}/theora
  57. %{_includedir}/theora/codec.h
  58. %{_includedir}/theora/theora.h
  59. %{_includedir}/theora/theoradec.h
  60. %{_libdir}/pkgconfig/theora.pc
  61. %changelog
  62. * Sat Aug 20 2005 Ralph Giles <giles at xiph.org>
  63. - updated version for 1.0alpha5 release
  64. * Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
  65. - transported fedora.us spec file