source: projects/specs/trunk/nonfree/self-build-gstreamer-plugins-bad/self-build-gstreamer-plugins-bad-vl.spec @ 9909

Revision 9909, 7.3 KB checked in by Takemikaduchi, 8 years ago (diff)

NetworkManager: move file
others: rebuild with gnutls-3.4.7

Line 
1%define pkgname gstreamer-plugins-bad
2%define majorminor   0.10
3%define gstreamer    gstreamer
4%define gst_minver   0.10.33
5%define gstpb_minver 0.10.33
6%define _gst_ver     0.10.23
7%define release 4%{?_dist_release}
8
9%define sourceurl       http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{_gst_ver}.tar.xz
10
11Summary:        Package to automatically build %{pkgname} rpm package
12Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
13Name:           self-build-%{pkgname}
14Version:        %{_gst_ver}
15Release:        %{release}
16Source0:        %{pkgname}-vl.spec
17License:        LGPLv2+ and LGPLv2
18Group:          Restricted Software
19
20Requires(post):         self-build-setup >= 0.9.9
21
22# (build)requies of target package.
23Requires: %{gstreamer} >= %{gst_minver}
24Requires(post): %{gstreamer}-devel >= %{gst_minver}
25Requires(post): %{gstreamer}-plugins-base-devel >= %{gstpb_minver}
26
27Requires(post): check
28Requires(post): gettext
29Requires(post): PyXML
30Requires(post): libXt-devel
31
32Requires(post): liboil-devel
33Requires(post): libdirectfb-devel
34Requires(post): self-build-libdca
35Requires(post): self-build-faac
36Requires(post): self-build-faad2
37Requires(post): gsm-devel
38Requires(post): libmpcdec-devel
39Requires(post): SDL-devel
40#Requires(post): soundtouch-devel
41#Requires(post): swfdec-devel
42#Buildrequires: wavpack-devel
43Requires(post): self-build-xvidcore
44Requires(post): bzip2-devel
45Requires(post): mesa-libGLU-devel
46Requires(post): neon-devel
47Requires(post): libmms-devel
48Requires(post): libmusicbrainz-devel
49#Requires(post): libcdaudio-devel
50Requires(post): jack-audio-connection-kit-devel
51#Requires(post): mjpegtools-devel
52#Requires(post): nas-devel
53Requires(post): self-build-x264
54#Requires(post): wildmidi-devel
55Requires(post): libsndfile-devel
56#Requires(post): libmodplug-devel
57#Requires(post): libtimidity-devel
58#Requires(post): gmyth-devel >= 0.4
59Requires(post): libdc1394-devel
60Requires(post): libexif-devel
61#Requires(post): libiptcdata-devel
62#Requires(post): exempi-devel
63#Requires(post): dirac-devel
64#Requires(post): libofa-devel
65Requires(post): libdvdnav-devel
66Requires(post): jasper-devel
67Requires(post): openssl-devel
68Requires(post): twolame-devel
69Requires(post): libvdpau-devel
70Requires(post): librtmp-devel
71Requires(post): libvpx-devel
72
73
74BuildArch:      noarch
75BuildRoot:      %{_tmppath}/%{name}-%{version}-root
76
77Packager:       munepi
78
79%description
80GStreamer is a streaming media framework, based on graphs of elements which
81operate on media data.
82
83This package contains plug-ins that have licensing issues, aren't tested
84well enough, or the code is not of good enough quality.
85
86If you install this package, it automaticaly downloads source
87code, compile it, and create rpm packages of
88%{pkgname}-%{version}.
89And the created rpm packages are automatically installed
90if installation is executed by apt-get command or synaptic
91package manager.
92
93
94[Note]
95This package requires many other packages to compile
96targetsoftware. So it consume more disk space than usual.
97Also installation takes logner time because of compilation.
98(This will take a few minutes to quarter or half of an hour,
99depends on building environment)
100
101[About self-build package]
102For some kind of software, distributing of binary package
103may viorate the patent or law. Therefore we chose self-build
104packge, create binary package on your machine, for such kind
105of softwares instead of distributing binary package.
106
107Please obey the national law when you use the created binary
108packages. And if you want to use the softwares using patented
109thechnology, it may be required to get a permission, make an
110agreement or purchas a license. Please consider it with your
111purpose or way of use and take appropriate action.
112
113# '
114
115%description -l ja
116gstreamer-plugins-bad は GStreamer ストリーミングメディア
117フレームワーク用 bad プラグイン集です。
118
119このパッケージをインストールすると、自動的にソースコードを
120ダウンロードしてコンパイルし、%{pkgname}-%{version}
121の rpm パッケージを作成します。
122また apt-get コマンドや synaptic パッケージマネージャから実行
123した場合は、作成された rpm パッケージのインストールも自動的に
124行います。
125
126
127[注意]
128コンパイルに必要な多くの関連パッケージを要求するので通常より
129ディスクの領域を多く消費します。
130またインストール時にコンパイルを行うため、通常より時間がかか
131る場合があります。(環境にもよりますが数分から数十分程度)
132
133[self-build パッケージについて]
134ソフトウェアによってはバイナリパッケージの配布が特許や法律に
135違反する可能性があるものがあります。その為、このような問題が
136懸念されるソフトウェアについてはバイナリパッケージを直接配布
137せずに、ユーザの環境でバイナリを作成する self-build パッケー
138ジという方法を採っています。
139
140作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
141アのライセンス、および利用する国の各種法令に従ってください。
142また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
143センスの購入などが必要となる場合がありますので、利用する目的
144や形態に応じて各自で判断し適切な対応を取ってください。
145
146%prep
147[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
148
149
150%install
151%{__rm} -rf ${RPM_BUILD_ROOT}
152%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
153%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
154
155
156%clean
157%{__rm} -rf ${RPM_BUILD_ROOT}
158
159%posttrans
160/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 333000
161/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
162                                 %{pkgname}-devel-%{version}-%{release}
163
164
165%files
166%defattr(-,root,root)
167%{_datadir}/%{name}
168
169%changelog
170* Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.23-4
171- rebuild with gnutls-3.4.7
172
173* Tue Dec 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.23-3
174- rebuild with nettle-3.1.1
175
176* Sun Feb 22 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.23-2
177- fix SOURCE0
178
179* Wed Mar 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.23-1
180- update to 0.10.23
181
182* Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.22-1
183- new upstream release
184- added Requires(post): libvpx-devel
185
186* Wed Nov  2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-2
187- s/self-build-libdvdnav/libdvdnav/
188
189* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-1
190- new upstream release
191- added Requires(post):
192  - libmms-devel
193  - librtmp-devel
194
195* Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.20-1
196- new upstream release
197
198* Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.19-1
199- new upstream release
200
201* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.18-1
202- new upstream release
203- renamed %%{Source0} to gstreamer-plugins-bad-vl.spec
204- added Requires(post): libvdpau-devel
205- check version between original spec and self-build spec in %%prep
206
207* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
208- new upstream release
209
210* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.12-1
211- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.