source: projects/specs/trunk/nonfree/self-build-gstreamer1-plugins-ugly/self-build-gstreamer1-plugins-ugly-vl.spec @ 8011

Revision 8011, 7.4 KB checked in by Takemikaduchi, 11 years ago (diff)

new upstream release

Line 
1%define pkgname gstreamer1-plugins-ugly
2%define major           1.0
3%define _gst_ver        1.2.1
4%define _gstpb_ver      1.2.1
5%define version         1.2.1
6%define release         1%{?_dist_release}
7
8%define sourceurl       http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz
9
10Summary:        Package to automatically build %{pkgname} rpm package
11Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
12Name:           self-build-%{pkgname}
13Version:        %{version}
14Release:        %{release}
15Source0:        %{pkgname}-vl.spec
16License:        LGPLv2+
17Group:          Restricted Software
18
19Requires(post):         self-build-setup >= 0.9.9
20
21# (build)requies of target package.
22Requires(post):         libogg-devel, libtheora-devel, libvorbis-devel
23Requires(post):         gstreamer1-devel >= %{_gst_ver}
24Requires(post):         gstreamer1-plugins-base-devel >= %{_gstpb_ver}
25#Requires(post):                gtk-doc >= 1.3
26Requires(post):         python >= 2.1, python-pyxml
27Requires(post):         glib2-devel >= 2.6
28Requires(post):         twolame-devel
29Requires(post):         liboil-devel >= 0.3.0
30Requires(post):         libcdio-devel >= 0.82
31Requires(post):         libdvdread-devel
32Requires(post):         PyXML
33Requires(post):         self-build-libmad >= 0.15
34Requires(post):         libid3tag-devel >= 0.15
35Requires(post):         self-build-ffmpeg
36Requires(post):         self-build-x264
37Requires(post):         self-build-libmpeg2
38Requires(post):         self-build-a52dec
39Requires(post):         self-build-lame
40Requires(post):         self-build-libmad
41
42
43BuildArch:      noarch
44BuildRoot:      %{_tmppath}/%{name}-%{version}-root
45
46Packager:       Takemikaduchi
47
48%description
49gstreamer1-plugins-ugly is a set of ugly plugins for Gstreamer
50streaming-media framework.
51
52If you install this package, it automaticaly downloads source
53code, compile it, and create rpm packages of
54%{pkgname}-%{version}.
55And the created rpm packages are automatically installed
56if installation is executed by apt-get command or synaptic
57package manager.
58
59
60[Note]
61This package requires many other packages to compile
62targetsoftware. So it consume more disk space than usual.
63Also installation takes logner time because of compilation.
64(This will take a few minutes to quarter or half of an hour,
65depends on building environment)
66
67[About self-build package]
68For some kind of software, distributing of binary package
69may viorate the patent or law. Therefore we chose self-build
70packge, create binary package on your machine, for such kind
71of softwares instead of distributing binary package.
72
73Please obey the national law when you use the created binary
74packages. And if you want to use the softwares using patented
75thechnology, it may be required to get a permission, make an
76agreement or purchas a license. Please consider it with your
77purpose or way of use and take appropriate action.
78
79%description -l ja
80gstreamer1-plugins-ugly は GStreamer ストリーミングメディア
81フレームワーク用 ugly プラグイン集です。
82
83このパッケージをインストールすると、自動的にソースコードを
84ダウンロードしてコンパイルし、%{pkgname}-%{version}
85の rpm パッケージを作成します。
86また apt-get コマンドや synaptic パッケージマネージャから実行
87した場合は、作成された rpm パッケージのインストールも自動的に
88行います。
89
90
91[注意]
92コンパイルに必要な多くの関連パッケージを要求するので通常より
93ディスクの領域を多く消費します。
94またインストール時にコンパイルを行うため、通常より時間がかか
95る場合があります。(環境にもよりますが数分から数十分程度)
96
97[self-build パッケージについて]
98ソフトウェアによってはバイナリパッケージの配布が特許や法律に
99違反する可能性があるものがあります。その為、このような問題が
100懸念されるソフトウェアについてはバイナリパッケージを直接配布
101せずに、ユーザの環境でバイナリを作成する self-build パッケー
102ジという方法を採っています。
103
104作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
105アのライセンス、および利用する国の各種法令に従ってください。
106また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
107センスの購入などが必要となる場合がありますので、利用する目的
108や形態に応じて各自で判断し適切な対応を取ってください。
109
110
111%prep
112[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
113
114
115%install
116%{__rm} -rf ${RPM_BUILD_ROOT}
117%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
118%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
119
120
121%clean
122%{__rm} -rf ${RPM_BUILD_ROOT}
123
124%posttrans
125/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 83000
126
127%files
128%defattr(-,root,root)
129%{_datadir}/%{name}
130
131%changelog
132* Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
133- new upstream release
134
135* Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
136- new upstream release
137
138* Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
139- new upstream release
140
141* Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
142- new upstream release
143
144* Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
145- new upstream release
146
147* Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
148- new upstream release
149
150* Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
151- new upstream release
152
153* Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
154- new upstream release
155
156* Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
157- new upstream release
158
159* Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
160- new upstream release
161- rename package
162
163* Sat Jun 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.19-1
164- new upstream relase
165
166* Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.18-1
167- new upstream relase
168- built with new x264
169- License: LGPLv2+
170
171* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.17-1
172- new upstream relase
173
174* Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.16-1
175- new upstream relase
176
177* Sun Jun 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.15-1
178- new upstream relase
179
180* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.14-1
181- new upstream relase
182- renamed %%{Source0} to gstreamer-plugins-ugly-vl.spec
183
184* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.13-1
185- new upstream relase
186
187* Sat Oct 24 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.10.12-1
188- new upstream relase
189- added Requires(post): self-build-libmpeg2
190  - enable mpeg2dec with libmpeg2-devel in %%configure
191- check version between original spec and self-build spec in %%prep
192
193* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-3
194- avoided to execute self-build-rpm.sh on RPM transaction
195  - moved %%post actions to %%posttrans
196
197* Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-2
198- added BuildArch: noarch
199- dropped PreReq: gtk-doc >= 1.3
200
201* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.11-1
202- new upstream relase
203
204* Mon Feb 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-2
205- changed to PreReq:  self-build-libmad >= 0.15 from libmad-devel
206
207* Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10.10-1
208- new upstream relase
209
210* Sun Aug 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.8-1
211- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.