libtheora-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Theora video compression codec
  3. Summary(ja): Theora 映像圧縮コーデック
  4. Name: libtheora
  5. Version: 1.1.1
  6. Release: 6%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: BSD
  11. URL: https://www.theora.org/
  12. Source: http://downloads.xiph.org/releases/theora/libtheora-%{version}.tar.bz2
  13. Patch0: libtheora-1.1.1-dso.patch
  14. Patch1: libtheora-libpng16.patch
  15. Patch2: libtheora-1.1.1-fix-pp_sharp_mod-calc.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: libogg-devel >= 1.1
  18. BuildRequires: libvorbis-devel >= 1.0.1
  19. BuildRequires: SDL2-devel
  20. # Seems like a devel package forgot to include this one (ogg? vorbis? SDL?)
  21. #BuildRequires: alsa-lib-devel
  22. %description
  23. Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free,
  24. general-purpose compressed video format.
  25. %package devel
  26. Summary: Headers for developing programs that will use libtheora
  27. Summary(ja): libtheora の開発用ファイル
  28. Group: programming
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: libogg-devel >= 1.1
  31. %description devel
  32. This package contains the headers that programmers will need to develop
  33. applications which will use %{name}.
  34. # compat32
  35. %package -n compat32-%{name}
  36. Summary: Theora video compression codec
  37. Summary(ja): Theora 映像圧縮コーデック
  38. Group: system,legacy
  39. Requires: %{name} = %{version}-%{release}
  40. %description -n compat32-%{name}
  41. Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free,
  42. general-purpose compressed video format.
  43. %package -n compat32-%{name}-devel
  44. Summary: Headers for developing programs that will use libtheora
  45. Summary(ja): libtheora の開発用ファイル
  46. Group: programming,legacy
  47. Requires: compat32-%{name} = %{version}-%{release}
  48. Requires: %{name}-devel = %{version}-%{release}
  49. Requires: compat32-libogg-devel >= 1.1
  50. %description -n compat32-%{name}-devel
  51. This package contains the headers that programmers will need to develop
  52. applications which will use %{name}.
  53. %debug_package
  54. %prep
  55. %setup -q -n %{name}-%{version}
  56. %patch0 -p1
  57. %patch1 -p1
  58. %patch2 -p1
  59. %build
  60. %configure --disable-static
  61. make %{?_smp_mflags}
  62. %install
  63. rm -rf %{buildroot} installed-docs
  64. make install DESTDIR=%{buildroot}
  65. mv %{buildroot}%{_datadir}/doc/libtheora* installed-docs
  66. # Fix the location of the include file
  67. #mkdir -p %{buildroot}%{_includedir}/theora
  68. #mv %{buildroot}%{_includedir}/theora.h %{buildroot}%{_includedir}/theora/
  69. # remove unpackage files
  70. rm -f $RPM_BUILD_ROOT%{_libdir}/libtheora*.la
  71. %files
  72. %defattr(-, root, root, 0755)
  73. %doc README COPYING
  74. %{_libdir}/libtheora*.so.*
  75. %files devel
  76. %defattr(-, root, root, 0755)
  77. %doc installed-docs/*
  78. %{_includedir}/theora
  79. %{_libdir}/libtheora*.so
  80. %{_libdir}/pkgconfig/*.pc
  81. # compat32
  82. %if %{build_compat32}
  83. %files -n compat32-%{name}
  84. %defattr(-, root, root)
  85. %{_libdir}/*.so.*
  86. %files -n compat32-%{name}-devel
  87. %defattr(-, root, root)
  88. %{_libdir}/*.so
  89. %endif
  90. %changelog
  91. * Sat Jul 06 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-6
  92. - rebuilt with current environment.
  93. * Mon May 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-5
  94. - imported Patch1 from upstream.
  95. * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-4
  96. - rebuild with VineSeed environment
  97. - add Patch0 (libtheora-1.1.1-dso.patch)
  98. * Wed Jan 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-3
  99. - create compat32 sub packages
  100. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.1.1-2
  101. - build with rpm-4.8.1-1 for pkg-config file
  102. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-1
  103. - new upstream relase
  104. * Thu Nov 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  105. - new upstream release
  106. * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.beta2.1vl5
  107. - new upstream relase
  108. * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha7vl1
  109. - new upstream relase
  110. * Sat Sep 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha5vl1
  111. - new upstream relase
  112. * Thu Mar 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha4vl1
  113. - new upstream relase
  114. - added Japanese summary
  115. * Sun Sep 5 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha3vl1
  116. - Build for Vine
  117. * Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 1.0-0.alpha3.1
  118. - Initial RPM release, only devel as there is only a static lib for now.