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