]>
Commit | Line | Data |
---|---|---|
f63b2a76 AG |
1 | Summary: General-purpose library for the WPE-flavored port of WebKit |
2 | Name: libwpe | |
e84cdfec | 3 | Version: 1.4.0.1 |
f63b2a76 AG |
4 | Release: 1 |
5 | License: BSD | |
6 | Group: Libraries | |
7 | Source0: https://github.com/WebPlatformForEmbedded/libwpe/releases/download/%{version}/%{name}-%{version}.tar.xz | |
e84cdfec AG |
8 | # Source0-md5: 1d4d38413ee0d0043f74d0445cab906f |
9 | URL: https://wpewebkit.org/ | |
f63b2a76 AG |
10 | BuildRequires: cmake |
11 | BuildRequires: xorg-lib-libxkbcommon-devel | |
12 | BuildRequires: Mesa-libEGL-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | General-purpose library developed for the WPE-flavored port of WebKit | |
17 | ||
18 | %package devel | |
19 | Summary: Header files for %{name} library | |
20 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name} | |
21 | Group: Development/Libraries | |
22 | Requires: %{name} = %{version}-%{release} | |
23 | ||
24 | %description devel | |
25 | Header files for %{name} library. | |
26 | ||
27 | %description devel -l pl.UTF-8 | |
28 | Pliki nagłówkowe biblioteki %{name}. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | %cmake . \ | |
35 | -DCMAKE_BUILD_TYPE=Release | |
36 | ||
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %post -p /sbin/ldconfig | |
48 | %postun -p /sbin/ldconfig | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc COPYING NEWS | |
53 | %attr(755,root,root) %{_libdir}/%{name}-1.0.so.*.*.* | |
54 | %attr(755,root,root) %ghost %{_libdir}/%{name}-1.0.so.1 | |
55 | ||
56 | %files devel | |
57 | %defattr(644,root,root,755) | |
58 | %{_includedir}/wpe-1.0/ | |
59 | %attr(755,root,root) %{_libdir}/%{name}-1.0.so | |
60 | %{_pkgconfigdir}/wpe-1.0.pc | |
61 |