1 | %define pkgname xine-lib-extras |
---|
2 | %define source_name xine-lib |
---|
3 | ########################## |
---|
4 | ## %define For pre-allocate-rpm.sh |
---|
5 | |
---|
6 | Summary: Package to automatically build %{pkgname} rpm package |
---|
7 | Summary(ja): %{pkgname} の rpm パッケージを自動作成するパッケージ |
---|
8 | Name: self-build-%{pkgname} |
---|
9 | Version: 1.1.21 |
---|
10 | Release: 1%{?_dist_release} |
---|
11 | License: GPLv2 |
---|
12 | Group: Restricted Software |
---|
13 | |
---|
14 | Source0: %{pkgname}-vl.spec |
---|
15 | |
---|
16 | %define sourceurl http://ftp.jaist.ac.jp/pub/sourceforge/x/xi/xine/%{source_name}/%{version}/%{source_name}-%{version}.tar.xz |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | BuildArch: noarch |
---|
20 | Requires(post): self-build-setup |
---|
21 | |
---|
22 | # (build)requies of target package. |
---|
23 | Requires(post): xine-lib = %{version} |
---|
24 | %if %{?_dist_release} == "vl4" |
---|
25 | Requires(post): XOrg-devel |
---|
26 | Requires(post): XOrg-gl-devel |
---|
27 | %else |
---|
28 | Requires(post): libX11-devel |
---|
29 | Requires(post): libXv-devel |
---|
30 | Requires(post): libXinerama-devel |
---|
31 | Requires(post): libXvMC-devel |
---|
32 | Requires(post): libGLU-devel |
---|
33 | Requires(post): libxcb-devel |
---|
34 | %endif |
---|
35 | # Video |
---|
36 | # Audio |
---|
37 | Requires(post): self-build-faad2 |
---|
38 | Requires(post): pkgconfig |
---|
39 | Requires(post): libtool-ltdl-devel |
---|
40 | Requires(post): vine-release >= 4.2-1vl4 |
---|
41 | |
---|
42 | Provides: self-build-xine-lib-faad = %{version}-%{release} |
---|
43 | Obsoletes: self-build-xine-lib-faad |
---|
44 | |
---|
45 | %description |
---|
46 | addtional plugins for xine |
---|
47 | |
---|
48 | If you install this package, it automaticaly downloads source |
---|
49 | code, compile it, and create rpm packages of |
---|
50 | %{pkgname}-%{version}. |
---|
51 | And the created rpm packages are automatically installed |
---|
52 | if installation is executed by apt-get command or synaptic |
---|
53 | package manager. |
---|
54 | |
---|
55 | |
---|
56 | [Note] |
---|
57 | This package requires many other packages to compile |
---|
58 | targetsoftware. So it consume more disk space than usual. |
---|
59 | Also installation takes logner time because of compilation. |
---|
60 | (This will take a few minutes to quarter or half of an hour, |
---|
61 | depends on building environment) |
---|
62 | |
---|
63 | [About self-build package] |
---|
64 | For some kind of software, distributing of binary package |
---|
65 | may viorate the patent or law. Therefore we chose self-build |
---|
66 | packge, create binary package on your machine, for such kind |
---|
67 | of softwares instead of distributing binary package. |
---|
68 | |
---|
69 | Please obey the national law when you use the created binary |
---|
70 | packages. And if you want to use the softwares using patented |
---|
71 | thechnology, it may be required to get a permission, make an |
---|
72 | agreement or purchas a license. Please consider it with your |
---|
73 | purpose or way of use and take appropriate action. |
---|
74 | |
---|
75 | %description -l ja |
---|
76 | このパッケージには xine 向けの追加プラグインが含まれています。 |
---|
77 | |
---|
78 | このパッケージをインストールすると、自動的にソースコードを |
---|
79 | ダウンロードしてコンパイルし、%{pkgname}-%{version} |
---|
80 | の rpm パッケージを作成します。 |
---|
81 | また apt-get コマンドや synaptic パッケージマネージャから実行 |
---|
82 | した場合は、作成された rpm パッケージのインストールも自動的に |
---|
83 | 行います。 |
---|
84 | |
---|
85 | |
---|
86 | [注意] |
---|
87 | コンパイルに必要な多くの関連パッケージを要求するので通常より |
---|
88 | ディスクの領域を多く消費します。 |
---|
89 | またインストール時にコンパイルを行うため、通常より時間がかか |
---|
90 | る場合があります。(環境にもよりますが数分から数十分程度) |
---|
91 | |
---|
92 | [self-build パッケージについて] |
---|
93 | ソフトウェアによってはバイナリパッケージの配布が特許や法律に |
---|
94 | 違反する可能性があるものがあります。その為、このような問題が |
---|
95 | 懸念されるソフトウェアについてはバイナリパッケージを直接配布 |
---|
96 | せずに、ユーザの環境でバイナリを作成する self-build パッケー |
---|
97 | ジという方法を採っています。 |
---|
98 | |
---|
99 | 作成されたバイナリパッケージの利用にあたっては、各ソフトウェ |
---|
100 | アのライセンス、および利用する国の各種法令に従ってください。 |
---|
101 | また特許に関連するソフトウェアの場合、利用許諾や契約、ライ |
---|
102 | センスの購入などが必要となる場合がありますので、利用する目的 |
---|
103 | や形態に応じて各自で判断し適切な対応を取ってください。 |
---|
104 | |
---|
105 | |
---|
106 | %install |
---|
107 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
108 | %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
109 | %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
110 | |
---|
111 | %clean |
---|
112 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
113 | |
---|
114 | %posttrans |
---|
115 | /usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} |
---|
116 | |
---|
117 | #/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname_2}-%{version_2}-%{release_2} \ |
---|
118 | # %{pkgname_2}-devel-%{version_2}-%{release_2} |
---|
119 | %files |
---|
120 | %defattr(-,root,root) |
---|
121 | %{_datadir}/%{name} |
---|
122 | |
---|
123 | %changelog |
---|
124 | * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.21-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Sat Oct 2 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.19-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.18.1-1 |
---|
131 | - new upstream release |
---|
132 | - built with new toolchain |
---|
133 | |
---|
134 | * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.16.3-2 |
---|
135 | - added BuildArch: noarch |
---|
136 | - avoided to execute self-build-rpm.sh on RPM transaction |
---|
137 | - moved %%post actions to %%posttrans |
---|
138 | |
---|
139 | * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.3-1 |
---|
140 | - new upstream release with security fix |
---|
141 | - Fix another possible int overflow in the 4XM demuxer. |
---|
142 | (ref. TKADV2009-004, CVE-2009-0385) |
---|
143 | - Fix an integer overflow in the Quicktime demuxer. |
---|
144 | |
---|
145 | * Sun Mar 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-3 |
---|
146 | - removed BuildRequires: faad2-devel |
---|
147 | - updated URL |
---|
148 | |
---|
149 | * Wed Feb 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-2 |
---|
150 | - fixed Provides and Obsoletes |
---|
151 | |
---|
152 | * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-1 |
---|
153 | - new upstream release |
---|
154 | - changed Group to Restricted Software |
---|
155 | |
---|
156 | * Wed Feb 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.1-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Sun Feb 08 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.15-7 |
---|
160 | - changed name xine-lib-extras |
---|
161 | |
---|
162 | * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.15-6 |
---|
163 | - spec in utf8 |
---|
164 | - add the list of all PreReq: packages in self-build-xine-lib-faad.spec |
---|
165 | to BuildRequires: in xine-lib-faad.spec |
---|
166 | |
---|
167 | * Sun Sep 28 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-5 |
---|
168 | - Typo Fixes(xine-lib-faad.spec) |
---|
169 | * Sun Sep 28 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-4 |
---|
170 | - drop self-build-faac(PreReq) |
---|
171 | - drop pre-allocate-rpm.sh |
---|
172 | * Mon Sep 22 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-3 |
---|
173 | - add: pre-allocate-rpm.sh |
---|
174 | * Tue Sep 16 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-2 |
---|
175 | - devel package to add prereq. |
---|
176 | - Drop BuildRequires. |
---|
177 | - Add prereq: faad2-devel, self-build-faac |
---|
178 | * Sun Aug 24 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-1 |
---|
179 | - initial build for Vine Linux. |
---|