libquicktime-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. Name: libquicktime
  2. Version: 1.2.4
  3. Release: 5%{?_dist_release}
  4. License: LGPLv2+
  5. Group: System Environment/Libraries
  6. Source0: http://prdownloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
  7. Patch1: ffmpeg2.0.patch
  8. URL: http://libquicktime.sourceforge.net/
  9. Summary: Library for reading and writing Quicktime files
  10. Summary(ja): QuickTime ファイルを読み書きするためのライブラリ
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Obsoletes: %{name} < %{version}
  15. Obsoletes: %{name}-utils < %{version}
  16. Obsoletes: %{name}-devel < %{version}
  17. BuildRequires: libvorbis-devel
  18. BuildRequires: libpng-devel
  19. BuildRequires: libjpeg-devel
  20. BuildRequires: gtk2-devel
  21. BuildRequires: libdv-devel
  22. BuildRequires: libraw1394-devel
  23. BuildRequires: libavc1394-devel
  24. BuildRequires: alsa-lib-devel
  25. BuildRequires: zlib-devel
  26. BuildRequires: gettext-devel
  27. BuildRequires: mesa-libGL-devel
  28. BuildRequires: libX11-devel
  29. BuildRequires: libICE-devel
  30. BuildRequires: libSM-devel
  31. BuildRequires: libXext-devel
  32. BuildRequires: libXmu-devel
  33. BuildRequires: libXpm-devel
  34. BuildRequires: libXt-devel
  35. BuildRequires: libXaw-devel >= 1.0.5
  36. BuildRequires: libXv-devel
  37. ##BuildRequires: ffmpeg-devel
  38. ##BuildRequires: lame-devel
  39. ##BuildRequires: faad2-devel
  40. ##BuildRequires: faac-devel
  41. ##BuildRequires: x264-devel
  42. %description
  43. Libquicktime is based on the quicktime4linux library with several
  44. enhancements. All 3rd-party libraries were removed from the
  45. sourcetree. Instead, the systemwide installed libraries are detected
  46. by the configure script. All original codecs were moved into
  47. dynamically loadable modules, and new codecs are in
  48. development. Libquicktime is source-compatible with
  49. quicktime4linux. Special API extensions allow access to the codec
  50. registry and more convenient processing of Audio and Video
  51. data.
  52. %description -l ja
  53. libquicktime は、quicktime4linux ライブラリを元に拡張しています。
  54. サードパーティライブラリは、一次元ソースツリーからすべて消えてしまいました。
  55. その代わりに、システムワイドにインストールされるライブラリは、
  56. configure スクリプトにより検出されます。
  57. オリジナルコーデックは、すべて動的読み込み可能なモジュールに
  58. 移行してしまいました。また、新しいコーデックは開発途中です。
  59. libquicktime は quicktime4linux と互換性を持ったソースです。
  60. 特別な API 拡張は、コーデックレジストリや
  61. 音声や動画のより便利な処理にアクセスができます。
  62. %package utils
  63. Summary: Utilities for working with Quicktime files
  64. Summary(ja): Quicktime ファイルを操作するためのユーティリティ
  65. Group: Applications/Multimedia
  66. Requires: %{name} = %{version}-%{release}
  67. %description utils
  68. Libquicktime is based on the quicktime4linux library with several
  69. enhancements.
  70. This package contains utility programs and additional
  71. tools, like a commandline player and a GTK configuration utility which
  72. can configure the parameters of all installed codecs.
  73. %package devel
  74. Summary: Development files from the libquicktime library
  75. Summary(ja): libquicktime の開発ライブラリ
  76. Group: Development/Libraries
  77. Requires: %{name} = %{version}-%{release}
  78. Requires: zlib-devel
  79. Requires: pkgconfig
  80. %description devel
  81. Libquicktime is based on the quicktime4linux library with several
  82. enhancements.
  83. This package contains development files for %{name}.
  84. %prep
  85. %setup -q -n %{name}-%{version}
  86. %patch1 -p1 -b .ffmpeg2.0
  87. %build
  88. %configure \
  89. --enable-gpl \
  90. --disable-rpath \
  91. --with-cpuflags="$RPM_OPT_FLAGS" \
  92. --disable-dependency-tracking \
  93. --without-doxygen \
  94. --disable-static \
  95. --with-libdv \
  96. --enable-libswscale \
  97. ;
  98. # remove rpath from libtool
  99. %__sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  100. %__sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  101. %__make %{?_smp_mflags}
  102. %install
  103. %{__rm} -rf %{buildroot}
  104. %makeinstall
  105. ## remove unuse files
  106. find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec %__rm -f {} \;
  107. %find_lang %{name}
  108. %clean
  109. %{__rm} -rf %{buildroot}
  110. %post -p /sbin/ldconfig
  111. %postun -p /sbin/ldconfig
  112. %files -f %{name}.lang
  113. %defattr(-,root,root,-)
  114. %doc AUTHORS ChangeLog COPYING NEWS README TODO
  115. %{_libdir}/%{name}*.so.*
  116. %dir %{_libdir}/%{name}
  117. %{_libdir}/%{name}/lqt_*.so
  118. %files utils
  119. %defattr(-,root,root,-)
  120. %{_bindir}/libquicktime_config
  121. %{_bindir}/lqt_transcode
  122. %{_bindir}/lqtplay
  123. %{_bindir}/lqtremux
  124. %{_bindir}/qt2text
  125. %{_bindir}/qtdechunk
  126. %{_bindir}/qtdump
  127. %{_bindir}/qtinfo
  128. %{_bindir}/qtrechunk
  129. %{_bindir}/qtstreamize
  130. %{_bindir}/qtyuv4toyuv
  131. %{_mandir}/man1/lqtplay.1*
  132. %files devel
  133. %defattr(-,root,root,-)
  134. %{_includedir}/lqt/
  135. %{_libdir}/pkgconfig/libquicktime.pc
  136. %{_libdir}/%{name}*.so
  137. %changelog
  138. * Tue Oct 25 2016 Toshiaki Ara <ara_t@384.jp> 1.2.4-5
  139. - add Patch1 for [BTS:0002886]
  140. * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-4
  141. - added Obsoletes: %{name} < %{version} and so on.
  142. * Sun Sep 29 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-3
  143. - rebuilt with new x264 (ABI 0.136) and ffmpeg (1.2.x)
  144. * Sun Jan 20 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-2
  145. - rebuilt with new x264 (ABI 0.129) and ffmpeg (1.1.x)
  146. * Sat May 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-1
  147. - new upstream release
  148. * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-2
  149. - rebuilt with new x264 (ABI 0.119) and ffmpeg (0.9.x)
  150. * Thu Dec 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-1
  151. - new upstream release
  152. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-2
  153. - rebuilt
  154. * Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1
  155. - new upstream release
  156. - added the subpackage utils
  157. - updated %%description
  158. * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
  159. - new upstream release
  160. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
  161. - change release to sync with self-build-libquicktime.spec
  162. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
  163. - new upstream release
  164. * Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
  165. - new upstream release
  166. - changed License: LGPLv2
  167. - added some configure options
  168. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
  169. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  170. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
  171. - applied new versioning policy, spec in utf-8
  172. - updated libquicktime to 1.0.3
  173. * Thu Aug 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
  174. - new upstream release
  175. - License is LGPL
  176. - added libquicktime.pc to devel package
  177. * Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  178. - Inital package for VineLinux3.1