libquicktime-vl.spec 6.7 KB

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