]> git.pld-linux.org Git - packages/libwpe.git/blob - libwpe.spec
ace3f2ff8610a3aa48288654149a7b417e779c37
[packages/libwpe.git] / libwpe.spec
1 Summary:        General-purpose library for the WPE-flavored port of WebKit
2 Summary(pl.UTF-8):      Ogólna biblioteka do portu WPE biblioteki WebKit
3 Name:           libwpe
4 Version:        1.4.0.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 #Source0Download: https://github.com/WebPlatformForEmbedded/libwpe/releases
9 Source0:        https://github.com/WebPlatformForEmbedded/libwpe/releases/download/%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5:  1d4d38413ee0d0043f74d0445cab906f
11 Patch0:         %{name}-libdir.patch
12 URL:            https://wpewebkit.org/
13 BuildRequires:  EGL-devel
14 BuildRequires:  cmake >= 3.0
15 BuildRequires:  libstdc++-devel >= 6:4.7
16 BuildRequires:  rpmbuild(macros) >= 1.605
17 BuildRequires:  xorg-lib-libxkbcommon-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 General-purpose library developed for the WPE-flavored port of WebKit.
22
23 %description -l pl.UTF-8
24 Ogólna biblioteka do portu WPE biblioteki WebKit.
25
26 %package devel
27 Summary:        Header files for WPE library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki WPE
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       EGL-devel
32 Requires:       xorg-lib-libxkbcommon-devel
33
34 %description devel
35 Header files for WPE library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki WPE.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 install -d build
46 cd build
47 %cmake ..
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} -C build install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %files
64 %defattr(644,root,root,755)
65 %doc COPYING NEWS
66 %attr(755,root,root) %{_libdir}/libwpe-1.0.so.*.*.*
67 %attr(755,root,root) %ghost %{_libdir}/libwpe-1.0.so.1
68
69 %files devel
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/libwpe-1.0.so
72 %{_includedir}/wpe-1.0
73 %{_pkgconfigdir}/wpe-1.0.pc
This page took 0.037642 seconds and 2 git commands to generate.