]>
Commit | Line | Data |
---|---|---|
f43748a5 JK |
1 | |
2 | %define commit 487f8db5a03d | |
3 | ||
4 | Summary: Browser plugin to load Windows browser plugins | |
3daf02b9 | 5 | Summary(pl.UTF-8): Wtyczka przeglądarki do wczytywania wtyczek przeglądarek z systemu Windows |
f43748a5 JK |
6 | Name: pipelight |
7 | Version: 0.2.6 | |
8 | Release: 0.1 | |
3daf02b9 JB |
9 | License: MPL v1.1 or GPL v2+ or LGPL v2.1+ |
10 | Group: Applications/WWW | |
f43748a5 JK |
11 | Source0: https://bitbucket.org/mmueller2012/pipelight/get/v%{version}.tar.bz2 |
12 | # Source0-md5: 265747e08a3b2dd806c47a228f03df5b | |
13 | Source1: http://repos.fds-team.de/pluginloader/v%{version}/pluginloader.tar.gz | |
14 | # Source1-md5: 5931da0500aed46f875b28cec2160cfe | |
15 | Patch0: %{name}-lib64.patch | |
16 | Patch1: %{name}-pld.patch | |
17 | URL: https://launchpad.net/pipelight | |
18 | BuildRequires: libstdc++-devel | |
19 | BuildRequires: xorg-lib-libX11-devel | |
20 | Requires: browser-plugins | |
21 | Requires: wine | |
22 | Suggests: wine(compholio)(32bit) | |
23 | ExclusiveArch: %{ix86} %{x8664} | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
3daf02b9 | 27 | Pipelight is a special browser plugin which allows one to use Windows |
f43748a5 JK |
28 | only plugins inside Linux browsers. We are currently focusing on |
29 | Silverlight, Flash, Shockwave and the Unity Webplayer. The project | |
30 | needs a patched version of Wine to execute the Silverlight DLL. | |
31 | ||
3daf02b9 JB |
32 | %description -l pl.UTF-8 |
33 | Pipelight to specjalna wtyczka przeglądarki, pozwalająca na | |
34 | korzystanie z wtyczek przeznaczonych tylko dla systemu Windows w | |
35 | przeglądarce na Linuksie. Obecnie skupia się na wtyczkach Silverlight, | |
36 | Flash, Shockwave oraz Unity Webplayer. Do uruchamiania bibliotek DLL | |
37 | Silverlighta 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 | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -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/* |