]> git.pld-linux.org Git - packages/libwpe.git/blame - libwpe.spec
- updated to 1.16.0
[packages/libwpe.git] / libwpe.spec
CommitLineData
d766083e
JB
1#
2# Conditional build:
3%bcond_without apidocs # API documentation
4
f63b2a76 5Summary: General-purpose library for the WPE-flavored port of WebKit
22e22410 6Summary(pl.UTF-8): Ogólna biblioteka do portu WPE biblioteki WebKit
f63b2a76 7Name: libwpe
02fc44b2 8Version: 1.16.0
a16ec57e 9Release: 1
f63b2a76
AG
10License: BSD
11Group: Libraries
22e22410 12#Source0Download: https://github.com/WebPlatformForEmbedded/libwpe/releases
f63b2a76 13Source0: https://github.com/WebPlatformForEmbedded/libwpe/releases/download/%{version}/%{name}-%{version}.tar.xz
02fc44b2 14# Source0-md5: 9779115aaa7e67abe642777394e7bfa2
22e22410 15Patch0: %{name}-libdir.patch
e84cdfec 16URL: https://wpewebkit.org/
22e22410
JB
17BuildRequires: EGL-devel
18BuildRequires: cmake >= 3.0
d766083e 19%{?with_apidocs:BuildRequires: hotdoc}
22e22410 20BuildRequires: libstdc++-devel >= 6:4.7
4309b5a6 21BuildRequires: rpm-build >= 4.6
22e22410 22BuildRequires: rpmbuild(macros) >= 1.605
f63b2a76 23BuildRequires: xorg-lib-libxkbcommon-devel
f63b2a76
AG
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
22e22410
JB
27General-purpose library developed for the WPE-flavored port of WebKit.
28
29%description -l pl.UTF-8
30Ogólna biblioteka do portu WPE biblioteki WebKit.
f63b2a76
AG
31
32%package devel
22e22410
JB
33Summary: Header files for WPE library
34Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WPE
f63b2a76
AG
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
22e22410
JB
37Requires: EGL-devel
38Requires: xorg-lib-libxkbcommon-devel
f63b2a76
AG
39
40%description devel
22e22410 41Header files for WPE library.
f63b2a76
AG
42
43%description devel -l pl.UTF-8
22e22410 44Pliki nagłówkowe biblioteki WPE.
f63b2a76 45
d766083e
JB
46%package apidocs
47Summary: API documentation for WPE library
48Summary(pl.UTF-8): Dokumentacja API biblioteki WPE
49Group: Documentation
4309b5a6 50BuildArch: noarch
d766083e
JB
51
52%description apidocs
53API documentation for WPE library.
54
55%description apidocs -l pl.UTF-8
56Dokumentacja API biblioteki WPE.
57
f63b2a76
AG
58%prep
59%setup -q
22e22410 60%patch0 -p1
f63b2a76
AG
61
62%build
22e22410
JB
63install -d build
64cd build
d766083e
JB
65%cmake .. \
66 %{?with_apidocs:-DBUILD_DOCS=ON}
f63b2a76
AG
67
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
22e22410
JB
72
73%{__make} -C build install \
f63b2a76
AG
74 DESTDIR=$RPM_BUILD_ROOT
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
84%doc COPYING NEWS
22e22410
JB
85%attr(755,root,root) %{_libdir}/libwpe-1.0.so.*.*.*
86%attr(755,root,root) %ghost %{_libdir}/libwpe-1.0.so.1
f63b2a76
AG
87
88%files devel
89%defattr(644,root,root,755)
22e22410
JB
90%attr(755,root,root) %{_libdir}/libwpe-1.0.so
91%{_includedir}/wpe-1.0
f63b2a76 92%{_pkgconfigdir}/wpe-1.0.pc
d766083e
JB
93
94%if %{with apidocs}
95%files apidocs
96%defattr(644,root,root,755)
97%doc build/Documentation/html/*
98%endif
This page took 0.255347 seconds and 4 git commands to generate.