]> git.pld-linux.org Git - packages/browser-plugin-wacom.git/blame - browser-plugin-wacom.spec
initial
[packages/browser-plugin-wacom.git] / browser-plugin-wacom.spec
CommitLineData
1dcb207b
AM
1Summary: An implementation of the Wacom Tablet Plugin
2Name: browser-plugin-wacom
3Version: 0.3.0
4Release: 1
5License: GPL v2+
6Group: X11/Applications/Multimedia
7Source0: https://github.com/ZaneA/WacomWebPlugin/archive/v%{version}.tar.gz
8# Source0-md5: ac25285a639280cb9d92a912e0ee6b63
9BuildRequires: iceweasel-devel
10BuildRequires: pkgconfig
11BuildRequires: rpmbuild(macros) >= 1.357
12Requires: browser-plugins >= 2.0
13Requires: browser-plugins(%{_target_base_arch})
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16# directory where you store the plugin
17%define _plugindir %{_libdir}/browser-plugins
18
19%description
20An implementation of the Wacom Tablet Plugin for modern browsers on
21Linux.
22
23%prep
24%setup -q -n WacomWebPlugin-%{version}
25sed -i -e 's#/usr/include/firefox#%{_includedir}/iceweasel#g' Makefile
26sed -i -e 's#gcc#%{__cc} %{rpmcflags} %{rpmcppflags}#g' Makefile
27
28%build
29%{__make}
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34install -D npWacomWebPlugin.so $RPM_BUILD_ROOT%{_plugindir}/npWacomWebPlugin.so
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%post
40%update_browser_plugins
41
42%postun
43if [ "$1" = "0" ]; then
44 %update_browser_plugins
45fi
46
47%files
48%defattr(644,root,root,755)
49%doc README.md
50%attr(755,root,root) %{_plugindir}/npWacomWebPlugin.so
This page took 0.204475 seconds and 4 git commands to generate.