source: projects/specs/trunk/nonfree/self-build-chromium-ffmpeg/self-build-chromium-ffmpeg-vl.spec @ 6474

Revision 6474, 4.8 KB checked in by munepi, 12 years ago (diff)

updated to 20.0.1132.54

Line 
1%define pkgname chromium-ffmpeg
2%define name    self-build-%{pkgname}
3%define version 20.0.1132.54
4%define release 1%{?_dist_release}
5
6%define sourceurl0      http://gsdview.appspot.com/chromium-browser-official/chromium-%{version}.tar.bz2
7
8Summary:        Package to automatically build %{pkgname} rpm package
9Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
10Name:           %{name}
11Version:        %{version}
12Release:        %{release}
13Source0:        %{pkgname}-vl.spec
14Source100:      chromium-ffmpeg-20.0.1132.54-drop-dependencies-base-gyp.patch
15
16License:        BSD
17Group:          Restricted Software
18
19Obsoletes:      %{pkgname} < %{version}
20Obsoletes:      self-build-%{pkgname} < %{version}-%{release}
21
22Requires(post):         self-build-setup >= 0.9.9
23
24# (build)requies of target package.
25Requires:       chromium >= %{version}
26#Requires(post):                libgnome-keyring-devel
27Requires(post):         zlib-devel
28
29BuildArch:      noarch
30BuildRoot:      %{_tmppath}/%{name}-%{version}-root
31
32Packager:       munepi
33
34%description
35FFMPEG library built from the chromium sources.
36
37If you install this package, it automaticaly downloads source
38code, compile it, and create rpm packages of
39%{pkgname}-%{version}.
40And the created rpm packages are automatically installed
41if installation is executed by apt-get command or synaptic
42package manager.
43
44
45[Note]
46This package requires many other packages to compile
47targetsoftware. So it consume more disk space than usual.
48Also installation takes logner time because of compilation.
49(This will take a few minutes to quarter or half of an hour,
50depends on building environment)
51
52[About self-build package]
53For some kind of software, distributing of binary package
54may viorate the patent or law. Therefore we chose self-build
55packge, create binary package on your machine, for such kind
56of softwares instead of distributing binary package.
57
58Please obey the national law when you use the created binary
59packages. And if you want to use the softwares using patented
60thechnology, it may be required to get a permission, make an
61agreement or purchas a license. Please consider it with your
62purpose or way of use and take appropriate action.
63
64%description -l ja
65chromium のソースから FFMPEG ライブラリをビルドします。
66
67このパッケージをインストールすると、自動的にソースコードをダ
68ウンロードしてコンパイルし、%{pkgname}-%{version}
69の rpm パッケージを作成します。
70また apt-get コマンドや synaptic パッケージマネージャから実行
71した場合は、作成された rpm パッケージのインストールも自動的に
72行います。
73
74
75[注意]
76コンパイルに必要な多くの関連パッケージを要求するので通常より
77ディスクの領域を多く消費します。
78またインストール時にコンパイルを行うため、通常より時間がかか
79る場合があります。(環境にもよりますが数分から数十分程度)
80
81[self-build パッケージについて]
82ソフトウェアによってはバイナリパッケージの配布が特許や法律に
83違反する可能性があるものがあります。その為、このような問題が
84懸念されるソフトウェアについてはバイナリパッケージを直接配布
85せずに、ユーザの環境でバイナリを作成する self-build パッケー
86ジという方法を採っています。
87
88作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
89アのライセンス、および利用する国の各種法令に従ってください。
90また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
91センスの購入などが必要となる場合がありますので、利用する目的
92や形態に応じて各自で判断し適切な対応を取ってください。
93
94
95%prep
96[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
97
98%install
99%{__rm} -rf ${RPM_BUILD_ROOT}
100%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
101%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
102%{__install} -m 644 %{SOURCE100} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
103
104
105%clean
106%{__rm} -rf ${RPM_BUILD_ROOT}
107
108%posttrans
109/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 412000
110
111%files
112%defattr(-,root,root)
113%{_datadir}/%{name}/*
114
115%changelog
116* Thu Jun 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 20.0.1132.54-1
117- updated to 20.0.1132.54
118
119# * Sun Jun 17 2012 Munehiro Yamamoto <munepi@vinelinux.org> 19.0.1084.50-2
120# - added Requires(post): libgnome-keyring-devel
121
122* Tue May 22 2012 Munehiro Yamamoto <munepi@vinelinux.org> 19.0.1084.50-1
123- updated to 19.0.1084.50
124- applied chromium-ffmpeg-19.0.1084.50-drop-dependencies-base-gyp.patch
125
126* Sun Feb 12 2012 Munehiro Yamamoto <munepi@vinelinux.org> 17.0.963.54-1
127- initial build
Note: See TracBrowser for help on using the repository browser.