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