[615] | 1 | %define pkgname libquicktime |
---|
| 2 | %define name self-build-%{pkgname} |
---|
[6241] | 3 | %define version 1.2.4 |
---|
[7852] | 4 | %define release 4%{?_dist_release} |
---|
[615] | 5 | |
---|
| 6 | %define sourceurl0 http://prdownloads.sourceforge.net/libquicktime/%{pkgname}-%{version}.tar.gz |
---|
| 7 | |
---|
| 8 | Summary: Package to automatically build %{pkgname} rpm package |
---|
| 9 | Summary(ja): %{pkgname} の rpm パッケージを自動作成するパッケージ |
---|
| 10 | Name: %{name} |
---|
| 11 | Version: %{version} |
---|
| 12 | Release: %{release} |
---|
| 13 | Source0: %{pkgname}-vl.spec |
---|
| 14 | |
---|
| 15 | License: LGPLv2+ |
---|
| 16 | Group: Restricted Software |
---|
| 17 | |
---|
[7852] | 18 | Obsoletes: %{pkgname} < %{version} |
---|
| 19 | Obsoletes: %{pkgname}-utils < %{version} |
---|
| 20 | Obsoletes: %{pkgname}-devel < %{version} |
---|
| 21 | Obsoletes: %{name} < %{version}-%{release} |
---|
| 22 | |
---|
[615] | 23 | Requires(post): self-build-setup >= 0.9.9 |
---|
| 24 | |
---|
| 25 | Requires(post): libvorbis-devel |
---|
| 26 | Requires(post): libpng-devel |
---|
| 27 | Requires(post): libjpeg-devel |
---|
| 28 | Requires(post): gtk2-devel |
---|
| 29 | Requires(post): libdv-devel |
---|
| 30 | Requires(post): libraw1394-devel |
---|
| 31 | Requires(post): libavc1394-devel |
---|
| 32 | |
---|
| 33 | Requires(post): alsa-lib-devel |
---|
| 34 | Requires(post): zlib-devel |
---|
| 35 | Requires(post): gettext-devel |
---|
| 36 | Requires(post): mesa-libGL-devel |
---|
| 37 | Requires(post): libX11-devel |
---|
| 38 | Requires(post): libICE-devel |
---|
| 39 | Requires(post): libSM-devel |
---|
| 40 | Requires(post): libXext-devel |
---|
| 41 | Requires(post): libXmu-devel |
---|
| 42 | Requires(post): libXpm-devel |
---|
| 43 | Requires(post): libXt-devel |
---|
| 44 | Requires(post): libXaw-devel >= 1.0.5 |
---|
| 45 | Requires(post): libXv-devel |
---|
| 46 | |
---|
[7842] | 47 | Requires(post): self-build-ffmpeg >= 1.2 |
---|
[615] | 48 | Requires(post): self-build-lame |
---|
| 49 | Requires(post): self-build-faad2 |
---|
| 50 | Requires(post): self-build-faac |
---|
[7842] | 51 | Requires(post): self-build-x264 >= 0.136 |
---|
[615] | 52 | |
---|
| 53 | BuildArch: noarch |
---|
| 54 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 55 | |
---|
| 56 | Packager: munepi |
---|
| 57 | |
---|
| 58 | %description |
---|
[2619] | 59 | Libquicktime is based on the quicktime4linux library with several |
---|
| 60 | enhancements. All 3rd-party libraries were removed from the |
---|
| 61 | sourcetree. Instead, the systemwide installed libraries are detected |
---|
| 62 | by the configure script. All original codecs were moved into |
---|
| 63 | dynamically loadable modules, and new codecs are in |
---|
| 64 | development. Libquicktime is source-compatible with |
---|
| 65 | quicktime4linux. Special API extensions allow access to the codec |
---|
| 66 | registry and more convenient processing of Audio and Video |
---|
| 67 | data. |
---|
[615] | 68 | |
---|
| 69 | |
---|
| 70 | If you install this package, it automaticaly downloads source |
---|
| 71 | code ,compile it, and create rpm packages of %{pkgname}-%{version}. |
---|
| 72 | And the created rpm packages are automatically installed |
---|
| 73 | if installation is executed by apt-get command or synaptic |
---|
| 74 | package manager. |
---|
| 75 | |
---|
| 76 | [Note] |
---|
| 77 | This package requires many other packages to compile |
---|
| 78 | targetsoftware. So it consume more disk space than usual. |
---|
| 79 | Also installation takes logner time because of compilation. |
---|
| 80 | (This will take a few minutes to quarter or half of an hour, |
---|
| 81 | depends on building environment) |
---|
| 82 | |
---|
| 83 | [About self-build package] |
---|
| 84 | For some kind of software, distributing of binary package |
---|
| 85 | may viorate the patent or law. Therefore we chose self-build |
---|
| 86 | packge, create binary package on your machine, for such kind |
---|
| 87 | of softwares instead of distributing binary package. |
---|
| 88 | |
---|
| 89 | Please obey the national law when you use the created binary |
---|
| 90 | packages. And if you want to use the softwares using patented |
---|
| 91 | thechnology, it may be required to get a permission, make an |
---|
| 92 | agreement or purchas a license. Please consider it with your |
---|
| 93 | purpose or way of use and take appropriate action. |
---|
| 94 | |
---|
| 95 | %description -l ja |
---|
[2619] | 96 | libquicktime は、quicktime4linux ライブラリを元に拡張しています。 |
---|
| 97 | サードパーティライブラリは、一次元ソースツリーからすべて消えてしまいました。 |
---|
| 98 | その代わりに、システムワイドにインストールされるライブラリは、 |
---|
| 99 | configure スクリプトにより検出されます。 |
---|
| 100 | オリジナルコーデックは、すべて動的読み込み可能なモジュールに |
---|
| 101 | 移行してしまいました。また、新しいコーデックは開発途中です。 |
---|
| 102 | libquicktime は quicktime4linux と互換性を持ったソースです。 |
---|
| 103 | 特別な API 拡張は、コーデックレジストリや |
---|
| 104 | 音声や動画のより便利な処理にアクセスができます。 |
---|
[615] | 105 | |
---|
| 106 | |
---|
| 107 | このパッケージをインストールすると、自動的にソースコードを |
---|
| 108 | ダウンロードしてコンパイルし、%{pkgname}-%{version} の rpm |
---|
| 109 | パッケージを作成します。 |
---|
| 110 | また apt-get コマンドや synaptic パッケージマネージャから実行 |
---|
| 111 | した場合は、作成された rpm パッケージのインストールも自動的に |
---|
| 112 | 行います。 |
---|
| 113 | |
---|
| 114 | [注意] |
---|
| 115 | コンパイルに必要な多くの関連パッケージを要求するので通常より |
---|
| 116 | ディスクの領域を多く消費します。 |
---|
| 117 | またインストール時にコンパイルを行うため、通常より時間がかか |
---|
| 118 | る場合があります。(環境にもよりますが数分から数十分程度) |
---|
| 119 | |
---|
| 120 | [self-build パッケージについて] |
---|
| 121 | ソフトウェアによってはバイナリパッケージの配布が特許や法律に |
---|
| 122 | 違反する可能性があるものがあります。その為、このような問題が |
---|
| 123 | 懸念されるソフトウェアについてはバイナリパッケージを直接配布 |
---|
| 124 | せずに、ユーザの環境でバイナリを作成する self-build パッケー |
---|
| 125 | ジという方法を採っています。 |
---|
| 126 | |
---|
| 127 | 作成されたバイナリパッケージの利用にあたっては、各ソフトウェ |
---|
| 128 | アのライセンス、および利用する国の各種法令に従ってください。 |
---|
| 129 | また特許に関連するソフトウェアの場合、利用許諾や契約、ライ |
---|
| 130 | センスの購入などが必要となる場合がありますので、利用する目的 |
---|
| 131 | や形態に応じて各自で判断し適切な対応を取ってください。 |
---|
| 132 | |
---|
| 133 | %prep |
---|
| 134 | [ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1 |
---|
| 135 | |
---|
| 136 | %install |
---|
| 137 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 138 | %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 139 | %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 140 | |
---|
| 141 | %clean |
---|
| 142 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 143 | |
---|
| 144 | %posttrans |
---|
[6241] | 145 | /usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 197000 |
---|
[615] | 146 | /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \ |
---|
[2619] | 147 | %{pkgname}-utils-%{version}-%{release} \ |
---|
[615] | 148 | %{pkgname}-devel-%{version}-%{release} |
---|
| 149 | |
---|
| 150 | %files |
---|
| 151 | %defattr(-,root,root) |
---|
| 152 | %{_datadir}/%{name} |
---|
| 153 | |
---|
| 154 | %changelog |
---|
[7852] | 155 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-4 |
---|
| 156 | - added Obsoletes: %{name} < %{version}-%{release}, |
---|
| 157 | Obsoletes: %{pkgname} < %{version} and so on. |
---|
| 158 | |
---|
[7842] | 159 | * Sun Sep 29 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-3 |
---|
| 160 | - rebuilt with new x264 (ABI 0.136) and ffmpeg (1.2.x) |
---|
| 161 | |
---|
| 162 | * Sun Jan 20 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-2 |
---|
| 163 | - rebuilt with new x264 (ABI 0.129) and ffmpeg (1.1.x) |
---|
| 164 | |
---|
[6241] | 165 | * Sat May 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.4-1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
[5297] | 168 | * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-2 |
---|
| 169 | - rebuilt with new x264 (ABI 0.119) and ffmpeg (0.9.x) |
---|
| 170 | |
---|
| 171 | * Thu Dec 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.3-1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
[3126] | 174 | * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-2 |
---|
| 175 | - rebuilt |
---|
| 176 | |
---|
[2619] | 177 | * Mon Jan 31 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.2-1 |
---|
| 178 | - new upstream release |
---|
| 179 | - added the subpackage utils |
---|
| 180 | - updated %%description |
---|
| 181 | |
---|
[1258] | 182 | * Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.5-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[615] | 185 | * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-2 |
---|
| 186 | - renamed %%{Source0} to libquicktime-vl.spec |
---|
| 187 | |
---|
| 188 | * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.1.4-1 |
---|
| 189 | - new upstream release |
---|
| 190 | |
---|
| 191 | * Sun Jun 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.2-1 |
---|
| 192 | - initial bulid |
---|