[packages/browser-plugin-wacom] initial

arekm arekm at pld-linux.org
Fri May 15 12:48:18 CEST 2015


commit 1dcb207bfe397a8c8cff3ba6e933ad6bba2f26fb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri May 15 12:47:34 2015 +0200

    initial

 browser-plugin-wacom.spec | 50 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/browser-plugin-wacom.spec b/browser-plugin-wacom.spec
new file mode 100644
index 0000000..1055b7a
--- /dev/null
+++ b/browser-plugin-wacom.spec
@@ -0,0 +1,50 @@
+Summary:	An implementation of the Wacom Tablet Plugin
+Name:		browser-plugin-wacom
+Version:	0.3.0
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications/Multimedia
+Source0:	https://github.com/ZaneA/WacomWebPlugin/archive/v%{version}.tar.gz
+# Source0-md5:	ac25285a639280cb9d92a912e0ee6b63
+BuildRequires:	iceweasel-devel
+BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.357
+Requires:	browser-plugins >= 2.0
+Requires:	browser-plugins(%{_target_base_arch})
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# directory where you store the plugin
+%define		_plugindir	%{_libdir}/browser-plugins
+
+%description
+An implementation of the Wacom Tablet Plugin for modern browsers on
+Linux.
+
+%prep
+%setup -q -n WacomWebPlugin-%{version}
+sed -i -e 's#/usr/include/firefox#%{_includedir}/iceweasel#g' Makefile
+sed -i -e 's#gcc#%{__cc} %{rpmcflags} %{rpmcppflags}#g' Makefile
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D npWacomWebPlugin.so $RPM_BUILD_ROOT%{_plugindir}/npWacomWebPlugin.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_browser_plugins
+
+%postun
+if [ "$1" = "0" ]; then
+	%update_browser_plugins
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_plugindir}/npWacomWebPlugin.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/browser-plugin-wacom.git/commitdiff/1dcb207bfe397a8c8cff3ba6e933ad6bba2f26fb



More information about the pld-cvs-commit mailing list