1 # TODO: apidocs (BR: hotdoc, like libwpe.spec)
2 Summary: A WPE backend designed for Linux desktop systems
3 Summary(pl.UTF-8): Backend WPE zaprojektowany dla biurkowych systemów linuksowych
9 Source0: https://wpewebkit.org/releases/%{name}-%{version}.tar.xz
10 # Source0-md5: 63553c3f43593c2a8c587c32e88fdf3c
11 Patch0: %{name}-libdir.patch
12 URL: https://wpewebkit.org/
13 BuildRequires: EGL-devel
14 BuildRequires: cmake >= 3.0
15 BuildRequires: glib2-devel >= 2.0
16 BuildRequires: libstdc++-devel >= 6:4.7
17 BuildRequires: libwpe-devel
18 BuildRequires: rpmbuild(macros) >= 1.605
19 BuildRequires: wayland-devel >= 1.10
20 BuildRequires: wayland-egl-devel >= 1.10
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 A WPE backend designed for Linux desktop systems.
26 %description -l pl.UTF-8
27 Backend WPE zaprojektowany dla biurkowych systemów linuksowych.
30 Summary: Header files for WPEBackend-fdo library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WPEBackend-fdo
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: libwpe-devel
37 Header files for WPEBackend-fdo library.
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki WPEBackend-fdo.
54 rm -rf $RPM_BUILD_ROOT
56 %{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
62 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
66 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so.1.*
69 %attr(755,root,root) %ghost %{_libdir}/libWPEBackend-fdo-1.0.so.1
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so
74 %{_includedir}/wpe-fdo-1.0
75 %{_pkgconfigdir}/wpebackend-fdo-1.0.pc