]>
Commit | Line | Data |
---|---|---|
04d42b76 | 1 | # TODO: apidocs (BR: hotdoc, like libwpe.spec) |
fe1c2470 | 2 | Summary: A WPE backend designed for Linux desktop systems |
04d42b76 | 3 | Summary(pl.UTF-8): Backend WPE zaprojektowany dla biurkowych systemów linuksowych |
fe1c2470 | 4 | Name: wpebackend-fdo |
804ccedd | 5 | Version: 1.8.0 |
29ea462a | 6 | Release: 1 |
fe1c2470 AG |
7 | License: BSD |
8 | Group: Libraries | |
9 | Source0: https://wpewebkit.org/releases/%{name}-%{version}.tar.xz | |
804ccedd | 10 | # Source0-md5: 6df96f80ff34c02d56f32a7a153a62c0 |
04d42b76 | 11 | Patch0: %{name}-libdir.patch |
fe1c2470 | 12 | URL: https://wpewebkit.org/ |
04d42b76 | 13 | BuildRequires: EGL-devel |
1f18c8e3 | 14 | BuildRequires: cmake >= 3.3 |
04d42b76 JB |
15 | BuildRequires: glib2-devel >= 2.0 |
16 | BuildRequires: libstdc++-devel >= 6:4.7 | |
804ccedd | 17 | BuildRequires: libwpe-devel >= 1.8.0 |
29ea462a | 18 | BuildRequires: pkgconfig |
04d42b76 JB |
19 | BuildRequires: rpmbuild(macros) >= 1.605 |
20 | BuildRequires: wayland-devel >= 1.10 | |
21 | BuildRequires: wayland-egl-devel >= 1.10 | |
804ccedd | 22 | Requires: libwpe >= 1.8.0 |
fe1c2470 AG |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | A WPE backend designed for Linux desktop systems. | |
27 | ||
04d42b76 JB |
28 | %description -l pl.UTF-8 |
29 | Backend WPE zaprojektowany dla biurkowych systemów linuksowych. | |
30 | ||
fe1c2470 | 31 | %package devel |
04d42b76 JB |
32 | Summary: Header files for WPEBackend-fdo library |
33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WPEBackend-fdo | |
fe1c2470 AG |
34 | Group: Development/Libraries |
35 | Requires: %{name} = %{version}-%{release} | |
804ccedd | 36 | Requires: libwpe-devel >= 1.8.0 |
fe1c2470 AG |
37 | |
38 | %description devel | |
04d42b76 | 39 | Header files for WPEBackend-fdo library. |
fe1c2470 AG |
40 | |
41 | %description devel -l pl.UTF-8 | |
04d42b76 | 42 | Pliki nagłówkowe biblioteki WPEBackend-fdo. |
fe1c2470 AG |
43 | |
44 | %prep | |
45 | %setup -q | |
04d42b76 | 46 | %patch0 -p1 |
fe1c2470 AG |
47 | |
48 | %build | |
04d42b76 JB |
49 | install -d build |
50 | cd build | |
51 | %cmake .. | |
52 | ||
fe1c2470 AG |
53 | %{__make} |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
04d42b76 JB |
57 | |
58 | %{__make} -C build install \ | |
fe1c2470 AG |
59 | DESTDIR=$RPM_BUILD_ROOT |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post -p /sbin/ldconfig | |
65 | %postun -p /sbin/ldconfig | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc COPYING NEWS | |
70 | %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so.1.* | |
71 | %attr(755,root,root) %ghost %{_libdir}/libWPEBackend-fdo-1.0.so.1 | |
72 | ||
73 | %files devel | |
74 | %defattr(644,root,root,755) | |
75 | %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so | |
76 | %{_includedir}/wpe-fdo-1.0 | |
77 | %{_pkgconfigdir}/wpebackend-fdo-1.0.pc |