commit 61c7266ac271efd8586338026ede55a611000b8d
Author: Mauricio Teixeira <mteixeir(a)redhat.com>
Date: Tue Jul 12 10:09:10 2016 -0300
first build
.gitignore | 1 +
freshplayerplugin.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 89 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6145a7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/freshplayerplugin-0.3.5.tar.gz
diff --git a/freshplayerplugin.spec b/freshplayerplugin.spec
new file mode 100644
index 0000000..49899b4
--- /dev/null
+++ b/freshplayerplugin.spec
@@ -0,0 +1,87 @@
+Name: freshplayerplugin
+Version: 0.3.5
+Release: 1%{?dist}
+Summary: PPAPI-host NPAPI-plugin adapter
+Group: Applications/Internet
+License: MIT
+URL:
https://github.com/i-rinat/freshplayerplugin
+Source0:
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{...
+
+BuildRequires: glib2-devel libX11-devel uriparser-devel cairo-devel pango-devel
freetype-devel gtk2-devel gcc-c++ alsa-lib-devel libconfig-devel libevent-devel
mesa-libGLES-devel cmake make ragel pulseaudio-libs-devel openssl-devel
jack-audio-connection-kit-devel soxr-devel libv4l-devel libva-devel ffmpeg-devel
libvdpau-devel
+
+Requires: mozilla-filesystem
+
+%description
+As you know, Adobe have suspended further development of Flash player plugin
+for GNU/Linux. Latest available as an NPAPI plugin version 11.2 will get
+security updates for five years (since its release on May 4th, 2012), but
+further development have been ceased.
+Fortunately or not, newer versions are still available for Linux as a part of
+Chrome browser, where Flash comes bundled in a form of PPAPI plugin. PPAPI or
+Pepper Plugin API is an interface promoted by Chromium/Chrome team for browser
+plugins.
+It's NPAPI-inspired yet significantly different API which have every
+conceivable function plugin may want. Two-dimensional graphics, OpenGL ES,
+font rendering, network access, audio, and so on.
+It's huge, there are 107 groups of functions, called interfaces which today's
+Chromium browser offers to plugins.
+And specs are not final yet. Interfaces are changing, newer versions are
+arising, older ones are getting deleted. For various reasons Firefox
+developers are not interested now in implementing PPAPI in Firefox.
+However that does not mean it cannot be done.
+The main goal of this project is to get PPAPI (Pepper) Flash player working
+in Firefox. This can be done in two ways. First one is to implement full PPAPI
+interface in Firefox itself.
+Other one is to implement a wrapper, some kind of adapter which will look like
+browser to PPAPI plugin and look like NPAPI plugin for browser.
+First approach requires strong knowledge of Firefox internals,and moreover
+additional effort to get the code into mainstream.
+Maintaining a set of patches doesn't look like a good idea.
+Second approach allows to concentrate on two APIs only.
+Yes one of them is big, but still graspable.
+Second way will be used for the project. It will benefit other browsers too,
+not only Firefox.
+
+%prep
+%setup -q
+
+%build
+mkdir build
+cd build
+%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SKIP_RPATH=true ..
+make %{?_smp_mflags}
+
+%install
+pushd build
+%make_install
+popd
+install -Dm 0644 data/freshwrapper.conf.example %{buildroot}/etc/freshwrapper.conf
+
+%files
+%doc README.md doc/*
+%license LICENSE
+%{_libdir}/mozilla/plugins/libfreshwrapper-flashplayer.so
+%config(noreplace) %{_sysconfdir}/freshwrapper.conf
+
+%changelog
+* Tue Jul 12 2016 Mauricio Teixeira <mauricio.teixeira(a)gmail.com> - 0.3.5-1
+- Upgrade to 0.3.5
+
+* Tue Jan 05 2016 Mauricio Teixeira <mauricio.teixeira(a)gmail.com> - 0.3.4-1
+- Upgrade to 0.3.4
+
+* Thu Nov 12 2015 Mauricio Teixeira <mauricio.teixeira(a)gmail.com> - 0.3.3-1
+- Update to 0.3.3
+- Added install rule to cmake (patch from sergio(a)serjux.com)
+
+* Tue Sep 29 2015 Sérgio Basto <sergio(a)serjux.com> - 0.3.2-2
+- Removed Requires it is a shared library, so requires will be automatic.
+
+* Tue Sep 22 2015 Sérgio Basto <sergio(a)serjux.com> - 0.3.2-1
+- Some fixes and merged some of the work of postinstallerf.
+
+* Mon Sep 21 2015 Mauricio Teixeira <mauricio.teixeira(a)gmail.com> - 0.3.2-0
+- Initial RPM Fusion package based on retired 'dacr' package (Fedora Copr)
+
+* Mon Aug 10 2015 David Vásquez <davidjeremias82 AT gmail DOT com> -
0.3.1-20150810-acb0ee4-1
+- Updated to 0.3.1-20150810-acb0ee4
diff --git a/sources b/sources
index e69de29..993c88e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a1dfa71caba60c13c54ff5c743ef50bc freshplayerplugin-0.3.5.tar.gz