libquicktime-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Name: libquicktime
  2. Version: 1.1.4
  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: A 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 a library for reading and writing QuickTime files
  40. on UNIX systems. Video CODECs supported by this library are OpenDivX, MJPA,
  41. JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0 compression. Supported
  42. audio CODECs are Ogg Vorbis, IMA4, ulaw, and any linear PCM format.
  43. Libquicktime is based on the quicktime4linux library. Libquicktime add
  44. features such as a GNU build tools-based build process and dynamically
  45. loadable CODECs.
  46. %description -l ja
  47. libquicktimeはUNIX 系のシステムでQuickTimeファイルを読み書きするための
  48. ライブラリです.ビデオエンコード:OpenDivX、MJPA、JPEG Photo、PNG、RGB、
  49. YUV 4:2:2、YUV 4:2:0、オーディオエンコード:Ogg Vorbis、IMA4、ulaw、そ
  50. の他線型PCM形式をサポートします.
  51. %package devel
  52. Summary: Development files from the libquicktime library
  53. Summary(ja): libquicktime の開発ライブラリ
  54. Group: Development/Libraries
  55. Requires: %{name} = %{version}
  56. Requires: zlib-devel
  57. %description devel
  58. libquicktime is a library for reading and writing quicktime files. It
  59. is based on the quicktime4linux library, with many extensions.
  60. You will need to install this development package if you intend to rebuild
  61. programs that need to access quicktime files using libquicktime.
  62. %description -l ja devel
  63. libquicktime の開発ライブラリです.
  64. %prep
  65. %setup -q -n %{name}-%{version}
  66. %build
  67. %configure \
  68. --disable-static \
  69. --disable-dependency-tracking \
  70. --disable-rpath \
  71. --with-cpuflags="$RPM_OPT_FLAGS" \
  72. --without-doxygen \
  73. --with-libdv \
  74. --enable-gpl \
  75. --enable-libswscale \
  76. %ifarch %{ix86} x86_64
  77. --enable-mmx \
  78. %else
  79. --disable-mmx \
  80. %endif
  81. ;
  82. # remove rpath from libtool
  83. %__sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  84. %__sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  85. %__make %{?_smp_mflags}
  86. %install
  87. %{__rm} -rf %{buildroot}
  88. %makeinstall
  89. ## remove unuse files
  90. find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm -f {} \;
  91. %find_lang %{name}
  92. %clean
  93. %{__rm} -rf %{buildroot}
  94. %post -p /sbin/ldconfig
  95. %postun -p /sbin/ldconfig
  96. %files -f %{name}.lang
  97. %defattr(-, root, root, 0755)
  98. %doc AUTHORS ChangeLog COPYING NEWS README TODO
  99. %{_bindir}/lqtplay
  100. %{_bindir}/lqt_transcode
  101. %{_bindir}/qt*
  102. %{_libdir}/*.so.*
  103. %dir %{_libdir}/libquicktime/
  104. %{_libdir}/libquicktime/*.so
  105. %{_mandir}/man1/*
  106. %files devel
  107. %defattr(-, root, root, 0755)
  108. %{_bindir}/libquicktime_config
  109. %{_bindir}/lqt-config
  110. %{_includedir}/*
  111. %{_libdir}/*.so
  112. %dir %{_libdir}/libquicktime/
  113. %{_libdir}/pkgconfig/*.pc
  114. %{_datadir}/aclocal/*.m4
  115. %changelog
  116. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2
  117. - change release to sync with self-build-libquicktime.spec
  118. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1
  119. - new upstream release
  120. * Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1
  121. - new upstream release
  122. - changed License: LGPLv2
  123. - added some configure options
  124. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
  125. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  126. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
  127. - applied new versioning policy, spec in utf-8
  128. - updated libquicktime to 1.0.3
  129. * Thu Aug 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1
  130. - new upstream release
  131. - License is LGPL
  132. - added libquicktime.pc to devel package
  133. * Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  134. - Inital package for VineLinux3.1