libquicktime-vl.spec 6.2 KB

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