Summary:        The proprietary plugins for chromium
Summary(ja):    Chromium 用プロプライエタリプラグイン
Name:           chromium-extra-plugins
Version:        44.0.2403.125
Release:        1%{?_dist_release}
License:        BSD-3-Clause, LGPL-2.1+
Group:          Applications/Internet

Source0:        https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm
Source1:        https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

Requires:       chromium >= %{version}

BuildRoot:      %{_tmppath}/%{name}-%{version}-root

%description
This package includes the proprietary plugins for chromium.

%description -l ja
このパッケージには Chromium 用のプロプライエタリなプラグインが含まれております。

%prep

%build
%ifarch x86_64
rpm2cpio %{SOURCE1} | cpio -idmv
%else
rpm2cpio %{SOURCE0} | cpio -idmv
%endif


%install
mkdir -p %{buildroot}%{_libdir}/chromium/PepperFlash/
install -m644 opt/google/chrome/PepperFlash/* %{buildroot}%{_libdir}/chromium/PepperFlash/ 

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_libdir}/chromium/PepperFlash/

%changelog
* Sat Aug 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 44.0.2403.125-1
- new upstream release

* Mon Jul 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 43.0.2357.134-1
- new upstream release

* Thu Jul 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 43.0.2357.132-1
- new upstream release

* Sun Jun 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 43.0.2357.130-1
- new upstream release

* Sun Jun 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 43.0.2357.124-1
- new upstream release

* Sun May 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 43.0.2357.81-1
- new upstream release

* Wed May 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 43.0.2357.65-1
- new upstream release

* Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 42.0.2311.135-1
- initial release for Vine Linux

