60 lines
1.4 KiB
RPMSpec
60 lines
1.4 KiB
RPMSpec
Name: libwpe
|
|
Version: 1.6.0
|
|
Release: 1
|
|
Summary: General-purpose library for the WPE-flavored port of WebKit
|
|
License: BSD
|
|
URL: https://github.com/WebPlatformForEmbedded/%{name}
|
|
Source0: https://github.com/WebPlatformForEmbedded/libwpe/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: mesa-libEGL-devel
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
Provides: wpebackend = %{version}-%{release}
|
|
Obsoletes: wpebackend < 0.2.0-2
|
|
|
|
%description
|
|
General-purpose library developed for the WPE-flavored port of WebKit
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries, build data, and header
|
|
files for developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1 -n libwpe-%{version}
|
|
|
|
%build
|
|
mkdir -p %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
..
|
|
popd
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
%install
|
|
%make_install -C %{_target_platform}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc NEWS
|
|
%license COPYING
|
|
%{_libdir}/libwpe-1.0.so.1.*
|
|
%{_libdir}/libwpe-1.0.so.1
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/wpe-1.0/
|
|
%{_libdir}/libwpe-1.0.so
|
|
%{_libdir}/pkgconfig/wpe-1.0.pc
|
|
|
|
%changelog
|
|
* Thu Jul 23 2020 songnannan <songnannan2@huawei.com> - 1.6.0-1
|
|
- package init
|