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