Initial import (#1622347)

This commit is contained in:
BunnyApocalypse 2018-08-27 15:59:06 -05:00
parent dd3e02c2a5
commit cb6d8717fa
3 changed files with 60 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/libwpe-1.0.0.tar.xz

58
libwpe.spec Normal file
View File

@ -0,0 +1,58 @@
Name: libwpe
Version: 1.0.0
Release: 1%{?dist}
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}%{?_isa} = %{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
%license COPYING
%doc NEWS
%{_libdir}/libwpe-0.2.so.1.*
%{_libdir}/libwpe-0.2.so.1
%files devel
%{_includedir}/wpe-0.2/
%{_libdir}/libwpe-0.2.so
%{_libdir}/pkgconfig/wpe-0.2.pc
%changelog
* Mon Aug 27 2018 Chris King <bunnyapocalypse@protonmail.org> - 1.0.0-1
- Initial RPM package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libwpe-1.0.0.tar.xz) = 9c4648c64b58f5056ecd0a70a0e78176edb476500f74925ed2cbaa9f704d117f4427341d2cf5a5f2549a64b904ab7c796370343847452c5e1e5e45747b0ff5f9