]> git.pld-linux.org Git - packages/pipelight.git/blame - pipelight.spec
- pl
[packages/pipelight.git] / pipelight.spec
CommitLineData
f43748a5
JK
1
2%define commit 487f8db5a03d
3
4Summary: Browser plugin to load Windows browser plugins
3daf02b9 5Summary(pl.UTF-8): Wtyczka przeglądarki do wczytywania wtyczek przeglądarek z systemu Windows
f43748a5
JK
6Name: pipelight
7Version: 0.2.6
8Release: 0.1
3daf02b9
JB
9License: MPL v1.1 or GPL v2+ or LGPL v2.1+
10Group: Applications/WWW
f43748a5
JK
11Source0: https://bitbucket.org/mmueller2012/pipelight/get/v%{version}.tar.bz2
12# Source0-md5: 265747e08a3b2dd806c47a228f03df5b
13Source1: http://repos.fds-team.de/pluginloader/v%{version}/pluginloader.tar.gz
14# Source1-md5: 5931da0500aed46f875b28cec2160cfe
15Patch0: %{name}-lib64.patch
16Patch1: %{name}-pld.patch
17URL: https://launchpad.net/pipelight
18BuildRequires: libstdc++-devel
19BuildRequires: xorg-lib-libX11-devel
20Requires: browser-plugins
21Requires: wine
22Suggests: wine(compholio)(32bit)
23ExclusiveArch: %{ix86} %{x8664}
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
3daf02b9 27Pipelight is a special browser plugin which allows one to use Windows
f43748a5
JK
28only plugins inside Linux browsers. We are currently focusing on
29Silverlight, Flash, Shockwave and the Unity Webplayer. The project
30needs a patched version of Wine to execute the Silverlight DLL.
31
3daf02b9
JB
32%description -l pl.UTF-8
33Pipelight to specjalna wtyczka przeglądarki, pozwalająca na
34korzystanie z wtyczek przeznaczonych tylko dla systemu Windows w
35przeglądarce na Linuksie. Obecnie skupia się na wtyczkach Silverlight,
36Flash, Shockwave oraz Unity Webplayer. Do uruchamiania bibliotek DLL
37Silverlighta niezbędna jest załatana wersja Wine.
38
f43748a5
JK
39%prep
40%setup -q -a1 -n mmueller2012-%{name}-%{commit}
3daf02b9 41%if "%{_lib}" == "lib64"
f43748a5
JK
42%patch0 -p1
43%endif
f43748a5
JK
44%patch1 -p1
45
46%build
f43748a5
JK
47# not autoconf-generated
48./configure \
49 --prefix=%{_prefix} \
50 --wine-path=%{_bindir}/wine \
51 --moz-plugin-path=%{_browserpluginsdir} \
52 --win32-prebuilt \
53%ifarch %{x8664}
54 --with-win64 \
55%endif
56 --win64-prebuilt
57
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files
70%defattr(644,root,root,755)
71%attr(755,root,root) %{_bindir}/pipelight-plugin
72%dir %{_libdir}/%{name}
73%attr(755,root,root) %{_libdir}/%{name}/libpipelight.so
3daf02b9 74%{_mandir}/man1/pipelight-plugin.1*
f43748a5
JK
75%dir %{_datadir}/%{name}
76%attr(755,root,root) %{_datadir}/%{name}/hw-accel-default
77%attr(755,root,root) %{_datadir}/%{name}/install-dependency
78%attr(755,root,root) %{_datadir}/%{name}/pluginloader.exe
79%ifarch %{x8664}
80%attr(755,root,root) %{_datadir}/%{name}/pluginloader64.exe
81%endif
82%{_datadir}/%{name}/sig-install-dependency.gpg
83%{_datadir}/%{name}/configs
84%{_datadir}/%{name}/licenses
85%dir %{_datadir}/%{name}/scripts
86%attr(755,root,root) %{_datadir}/%{name}/scripts/*
This page took 0.065596 seconds and 4 git commands to generate.