libquicktime-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. Name: libquicktime
  2. Version: 1.2.3
  3. Release: 2%{?_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. --disable-static \
  85. --disable-dependency-tracking \
  86. --disable-rpath \
  87. --with-cpuflags="$RPM_OPT_FLAGS" \
  88. --without-doxygen \
  89. --with-libdv \
  90. --enable-gpl \
  91. --enable-libswscale \
  92. %ifarch %{ix86} x86_64
  93. --enable-mmx \
  94. %else
  95. --disable-mmx \
  96. %endif
  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. * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-2
  139. - rebuilt with new x264 (ABI 0.119) and ffmpeg (0.9.x)
  140. * Thu Dec 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-1
  141. - new upstream release
  142. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-2
  143. - rebuilt
  144. * Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1
  145. - new upstream release
  146. - added the subpackage utils
  147. - updated %%description
  148. * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
  149. - new upstream release
  150. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
  151. - change release to sync with self-build-libquicktime.spec
  152. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
  153. - new upstream release
  154. * Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
  155. - new upstream release
  156. - changed License: LGPLv2
  157. - added some configure options
  158. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
  159. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  160. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
  161. - applied new versioning policy, spec in utf-8
  162. - updated libquicktime to 1.0.3
  163. * Thu Aug 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
  164. - new upstream release
  165. - License is LGPL
  166. - added libquicktime.pc to devel package
  167. * Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  168. - Inital package for VineLinux3.1