[615] | 1 | Name: libquicktime |
---|
[1258] | 2 | Version: 1.1.5 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[615] | 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 | |
---|
| 11 | Vendor: Project Vine |
---|
| 12 | Distribution: Vine Linux |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: libvorbis-devel |
---|
| 16 | BuildRequires: libpng-devel |
---|
| 17 | BuildRequires: libjpeg-devel |
---|
| 18 | BuildRequires: gtk2-devel |
---|
| 19 | BuildRequires: libdv-devel |
---|
| 20 | BuildRequires: libraw1394-devel |
---|
| 21 | BuildRequires: libavc1394-devel |
---|
| 22 | |
---|
| 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 | |
---|
| 37 | ##BuildRequires: ffmpeg-devel |
---|
| 38 | ##BuildRequires: lame-devel |
---|
| 39 | ##BuildRequires: faad2-devel |
---|
| 40 | ##BuildRequires: faac-devel |
---|
| 41 | ##BuildRequires: x264-devel |
---|
| 42 | |
---|
| 43 | %description |
---|
| 44 | Libquicktime is a library for reading and writing QuickTime files |
---|
| 45 | on UNIX systems. Video CODECs supported by this library are OpenDivX, MJPA, |
---|
| 46 | JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0 compression. Supported |
---|
| 47 | audio CODECs are Ogg Vorbis, IMA4, ulaw, and any linear PCM format. |
---|
| 48 | |
---|
| 49 | Libquicktime is based on the quicktime4linux library. Libquicktime add |
---|
| 50 | features such as a GNU build tools-based build process and dynamically |
---|
| 51 | loadable CODECs. |
---|
| 52 | |
---|
| 53 | %description -l ja |
---|
| 54 | libquicktimeはUNIX 系のシステムでQuickTimeファイルを読み書きするための |
---|
| 55 | ライブラリです.ビデオエンコード:OpenDivX、MJPA、JPEG Photo、PNG、RGB、 |
---|
| 56 | YUV 4:2:2、YUV 4:2:0、オーディオエンコード:Ogg Vorbis、IMA4、ulaw、そ |
---|
| 57 | の他線型PCM形式をサポートします. |
---|
| 58 | |
---|
| 59 | %package devel |
---|
| 60 | Summary: Development files from the libquicktime library |
---|
| 61 | Summary(ja): libquicktime の開発ライブラリ |
---|
| 62 | Group: Development/Libraries |
---|
| 63 | Requires: %{name} = %{version} |
---|
| 64 | Requires: zlib-devel |
---|
| 65 | |
---|
| 66 | %description devel |
---|
| 67 | libquicktime is a library for reading and writing quicktime files. It |
---|
| 68 | is based on the quicktime4linux library, with many extensions. |
---|
| 69 | |
---|
| 70 | You will need to install this development package if you intend to rebuild |
---|
| 71 | programs that need to access quicktime files using libquicktime. |
---|
| 72 | |
---|
| 73 | %description -l ja devel |
---|
| 74 | libquicktime の開発ライブラリです. |
---|
| 75 | |
---|
| 76 | %prep |
---|
| 77 | %setup -q -n %{name}-%{version} |
---|
| 78 | |
---|
| 79 | %build |
---|
| 80 | %configure \ |
---|
| 81 | --disable-static \ |
---|
| 82 | --disable-dependency-tracking \ |
---|
| 83 | --disable-rpath \ |
---|
| 84 | --with-cpuflags="$RPM_OPT_FLAGS" \ |
---|
| 85 | --without-doxygen \ |
---|
| 86 | --with-libdv \ |
---|
| 87 | --enable-gpl \ |
---|
| 88 | --enable-libswscale \ |
---|
| 89 | %ifarch %{ix86} x86_64 |
---|
| 90 | --enable-mmx \ |
---|
| 91 | %else |
---|
| 92 | --disable-mmx \ |
---|
| 93 | %endif |
---|
| 94 | ; |
---|
| 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 | |
---|
| 100 | %__make %{?_smp_mflags} |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | %install |
---|
| 104 | %{__rm} -rf %{buildroot} |
---|
| 105 | %makeinstall |
---|
| 106 | |
---|
| 107 | ## remove unuse files |
---|
| 108 | find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm -f {} \; |
---|
| 109 | |
---|
| 110 | %find_lang %{name} |
---|
| 111 | |
---|
| 112 | %clean |
---|
| 113 | %{__rm} -rf %{buildroot} |
---|
| 114 | |
---|
| 115 | %post -p /sbin/ldconfig |
---|
| 116 | |
---|
| 117 | %postun -p /sbin/ldconfig |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | %files -f %{name}.lang |
---|
| 121 | %defattr(-, root, root, 0755) |
---|
| 122 | %doc AUTHORS ChangeLog COPYING NEWS README TODO |
---|
| 123 | %{_bindir}/lqtplay |
---|
| 124 | %{_bindir}/lqt_transcode |
---|
| 125 | %{_bindir}/qt* |
---|
| 126 | %{_libdir}/*.so.* |
---|
| 127 | %dir %{_libdir}/libquicktime/ |
---|
| 128 | %{_libdir}/libquicktime/*.so |
---|
| 129 | %{_mandir}/man1/* |
---|
| 130 | |
---|
| 131 | %files devel |
---|
| 132 | %defattr(-, root, root, 0755) |
---|
| 133 | %{_bindir}/libquicktime_config |
---|
| 134 | %{_bindir}/lqt-config |
---|
| 135 | %{_includedir}/* |
---|
| 136 | %{_libdir}/*.so |
---|
| 137 | %dir %{_libdir}/libquicktime/ |
---|
| 138 | %{_libdir}/pkgconfig/*.pc |
---|
| 139 | %{_datadir}/aclocal/*.m4 |
---|
| 140 | |
---|
| 141 | |
---|
| 142 | %changelog |
---|
[1258] | 143 | * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
[615] | 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 | |
---|
| 149 | * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1 |
---|
| 150 | - new upstream release |
---|
| 151 | |
---|
| 152 | * Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1 |
---|
| 153 | - new upstream release |
---|
| 154 | - changed License: LGPLv2 |
---|
| 155 | - added some configure options |
---|
| 156 | |
---|
| 157 | * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2 |
---|
| 158 | - rebuild with libXaw.so.7 (libXaw-1.0.5) |
---|
| 159 | |
---|
| 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 | |
---|
| 164 | * Thu Aug 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.9-0vl1 |
---|
| 165 | - new upstream release |
---|
| 166 | - License is LGPL |
---|
| 167 | - added libquicktime.pc to devel package |
---|
| 168 | |
---|
| 169 | * Mon Feb 21 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp> |
---|
| 170 | - Inital package for VineLinux3.1 |
---|