source: projects/specs/branches/6/nonfree/self-build-gstreamer-plugins-bad/self-build-gstreamer-plugins-bad-vl.spec @ 5086

Revision 5086, 6.8 KB checked in by munepi, 13 years ago (diff)

libdvdnav, libmp4v2: changed to plus category; updated libdvdnav, libdvdread: new upstream release

Line 
1%define pkgname gstreamer-plugins-bad
2%define majorminor   0.10
3%define gstreamer    gstreamer
4%define gst_minver   0.10.22.1
5%define gstpb_minver 0.10.22.1
6%define _gst_ver     0.10.21
7%define release 2%{?_dist_release}
8
9%define sourceurl       http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{_gst_ver}.tar.bz2
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
71
72
73BuildArch:      noarch
74BuildRoot:      %{_tmppath}/%{name}-%{version}-root
75
76Packager:       munepi
77
78%description
79GStreamer is a streaming media framework, based on graphs of elements which
80operate on media data.
81
82This package contains plug-ins that have licensing issues, aren't tested
83well enough, or the code is not of good enough quality.
84
85If you install this package, it automaticaly downloads source
86code, compile it, and create rpm packages of
87%{pkgname}-%{version}.
88And the created rpm packages are automatically installed
89if installation is executed by apt-get command or synaptic
90package manager.
91
92
93[Note]
94This package requires many other packages to compile
95targetsoftware. So it consume more disk space than usual.
96Also installation takes logner time because of compilation.
97(This will take a few minutes to quarter or half of an hour,
98depends on building environment)
99
100[About self-build package]
101For some kind of software, distributing of binary package
102may viorate the patent or law. Therefore we chose self-build
103packge, create binary package on your machine, for such kind
104of softwares instead of distributing binary package.
105
106Please obey the national law when you use the created binary
107packages. And if you want to use the softwares using patented
108thechnology, it may be required to get a permission, make an
109agreement or purchas a license. Please consider it with your
110purpose or way of use and take appropriate action.
111
112# '
113
114%description -l ja
115gstreamer-plugins-bad は GStreamer ストリーミングメディア
116フレームワーク用 bad プラグイン集です。
117
118このパッケージをインストールすると、自動的にソースコードを
119ダウンロードしてコンパイルし、%{pkgname}-%{version}
120の rpm パッケージを作成します。
121また apt-get コマンドや synaptic パッケージマネージャから実行
122した場合は、作成された rpm パッケージのインストールも自動的に
123行います。
124
125
126[注意]
127コンパイルに必要な多くの関連パッケージを要求するので通常より
128ディスクの領域を多く消費します。
129またインストール時にコンパイルを行うため、通常より時間がかか
130る場合があります。(環境にもよりますが数分から数十分程度)
131
132[self-build パッケージについて]
133ソフトウェアによってはバイナリパッケージの配布が特許や法律に
134違反する可能性があるものがあります。その為、このような問題が
135懸念されるソフトウェアについてはバイナリパッケージを直接配布
136せずに、ユーザの環境でバイナリを作成する self-build パッケー
137ジという方法を採っています。
138
139作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
140アのライセンス、および利用する国の各種法令に従ってください。
141また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
142センスの購入などが必要となる場合がありますので、利用する目的
143や形態に応じて各自で判断し適切な対応を取ってください。
144
145%prep
146[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
147
148
149%install
150%{__rm} -rf ${RPM_BUILD_ROOT}
151%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
152%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
153
154
155%clean
156%{__rm} -rf ${RPM_BUILD_ROOT}
157
158%posttrans
159/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 333000
160/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
161                                 %{pkgname}-devel-%{version}-%{release}
162
163
164%files
165%defattr(-,root,root)
166%{_datadir}/%{name}
167
168%changelog
169* Wed Nov  2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-2
170- s/self-build-libdvdnav/libdvdnav/
171
172* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.21-1
173- new upstream release
174- added Requires(post):
175  - libmms-devel
176  - librtmp-devel
177
178* Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.20-1
179- new upstream release
180
181* Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.19-1
182- new upstream release
183
184* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.18-1
185- new upstream release
186- renamed %%{Source0} to gstreamer-plugins-bad-vl.spec
187- added Requires(post): libvdpau-devel
188- check version between original spec and self-build spec in %%prep
189
190* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
191- new upstream release
192
193* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.12-1
194- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.