libtheora-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Summary: Theora video compression codec
  2. Summary(ja): Theora 映像圧縮コーデック
  3. Name: libtheora
  4. Version: 1.1.1
  5. Release: 2%{?_dist_release}
  6. License: BSD
  7. URL: http://www.theora.org/
  8. Source: http://www.theora.org/files/libtheora-%{version}.tar.bz2
  9. Group: System Environment/Libraries
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libogg-devel >= 1.1
  12. BuildRequires: libvorbis-devel >= 1.0.1
  13. BuildRequires: SDL-devel
  14. # Seems like a devel package forgot to include this one (ogg? vorbis? SDL?)
  15. #BuildRequires: alsa-lib-devel
  16. %description
  17. Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free,
  18. general-purpose compressed video format.
  19. %package devel
  20. Summary: Headers for developing programs that will use libtheora
  21. Summary(ja): libtheora の開発用ファイル
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}
  24. Requires: libogg-devel >= 1.1
  25. %description devel
  26. This package contains the headers that programmers will need to develop
  27. applications which will use %{name}.
  28. %prep
  29. %setup -q -n %{name}-%{version}
  30. %build
  31. %configure --disable-static
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf %{buildroot} installed-docs
  35. %makeinstall
  36. mv %{buildroot}%{_datadir}/doc/libtheora* installed-docs
  37. # Fix the location of the include file
  38. #mkdir -p %{buildroot}%{_includedir}/theora
  39. #mv %{buildroot}%{_includedir}/theora.h %{buildroot}%{_includedir}/theora/
  40. # remove unpackage files
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/libtheora*.la
  42. %clean
  43. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-, root, root, 0755)
  46. %doc README COPYING
  47. %{_libdir}/libtheora*.so.*
  48. %files devel
  49. %defattr(-, root, root, 0755)
  50. %doc installed-docs/*
  51. %{_includedir}/theora
  52. #{_libdir}/libtheora*.a
  53. %{_libdir}/libtheora*.so
  54. %{_libdir}/pkgconfig/*.pc
  55. %changelog
  56. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.1.1-2
  57. - build with rpm-4.8.1-1 for pkg-config file
  58. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-1
  59. - new upstream relase
  60. * Thu Nov 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  61. - new upstream release
  62. * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.beta2.1vl5
  63. - new upstream relase
  64. * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha7vl1
  65. - new upstream relase
  66. * Sat Sep 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha5vl1
  67. - new upstream relase
  68. * Thu Mar 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha4vl1
  69. - new upstream relase
  70. - added Japanese summary
  71. * Sun Sep 5 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha3vl1
  72. - Build for Vine
  73. * Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 1.0-0.alpha3.1
  74. - Initial RPM release, only devel as there is only a static lib for now.