1 # TODO: apidocs (BR: hotdoc, https://hotdoc.github.io/ - deps not ready yet)
2 Summary: General-purpose library for the WPE-flavored port of WebKit
3 Summary(pl.UTF-8): Ogólna biblioteka do portu WPE biblioteki WebKit
9 #Source0Download: https://github.com/WebPlatformForEmbedded/libwpe/releases
10 Source0: https://github.com/WebPlatformForEmbedded/libwpe/releases/download/%{version}/%{name}-%{version}.tar.xz
11 # Source0-md5: 1d4d38413ee0d0043f74d0445cab906f
12 Patch0: %{name}-libdir.patch
13 URL: https://wpewebkit.org/
14 BuildRequires: EGL-devel
15 BuildRequires: cmake >= 3.0
16 BuildRequires: libstdc++-devel >= 6:4.7
17 BuildRequires: rpmbuild(macros) >= 1.605
18 BuildRequires: xorg-lib-libxkbcommon-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 General-purpose library developed for the WPE-flavored port of WebKit.
24 %description -l pl.UTF-8
25 Ogólna biblioteka do portu WPE biblioteki WebKit.
28 Summary: Header files for WPE library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WPE
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
33 Requires: xorg-lib-libxkbcommon-devel
36 Header files for WPE library.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki WPE.
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} -C build install \
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_libdir}/libwpe-1.0.so.*.*.*
68 %attr(755,root,root) %ghost %{_libdir}/libwpe-1.0.so.1
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/libwpe-1.0.so
73 %{_includedir}/wpe-1.0
74 %{_pkgconfigdir}/wpe-1.0.pc