]>
Commit | Line | Data |
---|---|---|
a5a4bbcb | 1 | # TODO: apidocs (BR: hotdoc, https://hotdoc.github.io/ - deps not ready yet) |
f63b2a76 | 2 | Summary: General-purpose library for the WPE-flavored port of WebKit |
22e22410 | 3 | Summary(pl.UTF-8): Ogólna biblioteka do portu WPE biblioteki WebKit |
f63b2a76 | 4 | Name: libwpe |
7f6d6ac4 | 5 | Version: 1.10.0 |
a16ec57e | 6 | Release: 1 |
f63b2a76 AG |
7 | License: BSD |
8 | Group: Libraries | |
22e22410 | 9 | #Source0Download: https://github.com/WebPlatformForEmbedded/libwpe/releases |
f63b2a76 | 10 | Source0: https://github.com/WebPlatformForEmbedded/libwpe/releases/download/%{version}/%{name}-%{version}.tar.xz |
7f6d6ac4 | 11 | # Source0-md5: 269ecb60d4ef80a0877d25a5828c8b82 |
22e22410 | 12 | Patch0: %{name}-libdir.patch |
e84cdfec | 13 | URL: https://wpewebkit.org/ |
22e22410 JB |
14 | BuildRequires: EGL-devel |
15 | BuildRequires: cmake >= 3.0 | |
16 | BuildRequires: libstdc++-devel >= 6:4.7 | |
17 | BuildRequires: rpmbuild(macros) >= 1.605 | |
f63b2a76 | 18 | BuildRequires: xorg-lib-libxkbcommon-devel |
f63b2a76 AG |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22e22410 JB |
22 | General-purpose library developed for the WPE-flavored port of WebKit. |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Ogólna biblioteka do portu WPE biblioteki WebKit. | |
f63b2a76 AG |
26 | |
27 | %package devel | |
22e22410 JB |
28 | Summary: Header files for WPE library |
29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WPE | |
f63b2a76 AG |
30 | Group: Development/Libraries |
31 | Requires: %{name} = %{version}-%{release} | |
22e22410 JB |
32 | Requires: EGL-devel |
33 | Requires: xorg-lib-libxkbcommon-devel | |
f63b2a76 AG |
34 | |
35 | %description devel | |
22e22410 | 36 | Header files for WPE library. |
f63b2a76 AG |
37 | |
38 | %description devel -l pl.UTF-8 | |
22e22410 | 39 | Pliki nagłówkowe biblioteki WPE. |
f63b2a76 AG |
40 | |
41 | %prep | |
42 | %setup -q | |
22e22410 | 43 | %patch0 -p1 |
f63b2a76 AG |
44 | |
45 | %build | |
22e22410 JB |
46 | install -d build |
47 | cd build | |
48 | %cmake .. | |
f63b2a76 AG |
49 | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
22e22410 JB |
54 | |
55 | %{__make} -C build install \ | |
f63b2a76 AG |
56 | DESTDIR=$RPM_BUILD_ROOT |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post -p /sbin/ldconfig | |
62 | %postun -p /sbin/ldconfig | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc COPYING NEWS | |
22e22410 JB |
67 | %attr(755,root,root) %{_libdir}/libwpe-1.0.so.*.*.* |
68 | %attr(755,root,root) %ghost %{_libdir}/libwpe-1.0.so.1 | |
f63b2a76 AG |
69 | |
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
22e22410 JB |
72 | %attr(755,root,root) %{_libdir}/libwpe-1.0.so |
73 | %{_includedir}/wpe-1.0 | |
f63b2a76 | 74 | %{_pkgconfigdir}/wpe-1.0.pc |