libquicktime-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Name: libquicktime
  2. Version: 1.2.2
  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. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-2
  139. - rebuilt
  140. * Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1
  141. - new upstream release
  142. - added the subpackage utils
  143. - updated %%description
  144. * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1
  145. - new upstream release
  146. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
  147. - change release to sync with self-build-libquicktime.spec
  148. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
  149. - new upstream release
  150. * Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
  151. - new upstream release
  152. - changed License: LGPLv2
  153. - added some configure options
  154. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
  155. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  156. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
  157. - applied new versioning policy, spec in utf-8
  158. - updated libquicktime to 1.0.3
  159. * Thu Aug 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
  160. - new upstream release
  161. - License is LGPL
  162. - added libquicktime.pc to devel package
  163. * Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  164. - Inital package for VineLinux3.1