]> git.pld-linux.org Git - SPECS.git/blob - libwpe.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / libwpe.spec
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
4 Name:           libwpe
5 Version:        1.10.0
6 Release:        1
7 License:        BSD
8 Group:          Libraries
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:  269ecb60d4ef80a0877d25a5828c8b82
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)
20
21 %description
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.
26
27 %package devel
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}
32 Requires:       EGL-devel
33 Requires:       xorg-lib-libxkbcommon-devel
34
35 %description devel
36 Header files for WPE library.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki WPE.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 install -d build
47 cd build
48 %cmake ..
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} -C build install \
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
67 %attr(755,root,root) %{_libdir}/libwpe-1.0.so.*.*.*
68 %attr(755,root,root) %ghost %{_libdir}/libwpe-1.0.so.1
69
70 %files devel
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
This page took 0.365203 seconds and 3 git commands to generate.