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