wpebackend-fdo/wpebackend-fdo.spec
2020-07-25 09:11:38 +08:00

54 lines
1.3 KiB
RPMSpec

Name: wpebackend-fdo
Version: 1.6.1
Release: 1
Summary: A WPE backend designed for Linux desktop systems
License: BSD
URL: https://github.com/Igalia/%{name}
Source0: https://github.com/Igalia/%{name}/archive/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cmake gcc-c++ mesa-libEGL-devel libxkbcommon-devel
BuildRequires: wayland-devel libwpe-devel glib2-devel
%description
A WPE backend designed for Linux desktop systems.
%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 %{name}-%{version}
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake \
..
popd
%make_build -C %{_target_platform}
%install
%make_install -C %{_target_platform}
%files
%defattr(-,root,root)
%doc NEWS
%license COPYING
%{_libdir}/libWPEBackend-fdo-1.0.so.1
%{_libdir}/libWPEBackend-fdo-1.0.so.1.*
%{_libdir}/libWPEBackend-fdo-1.0.so
%files devel
%defattr(-,root,root)
%{_includedir}/wpe-fdo-1.0
%{_libdir}/pkgconfig/wpebackend-fdo-1.0.pc
%changelog
* Thu Jul 23 2020 songnannan <songnannan2@huawei.com> - 1.6.1-2
- package init