wpebackend-fdo/wpebackend-fdo.spec

62 lines
1.5 KiB
RPMSpec
Raw Normal View History

2018-08-03 20:22:37 +00:00
Name: wpebackend-fdo
2018-08-27 21:04:42 +00:00
Version: 1.0.0
2018-08-03 20:22:37 +00:00
Release: 1%{?dist}
Summary: A WPE backend designed for Linux desktop systems
License: BSD
URL: https://github.com/Igalia/%{name}
2018-08-27 21:04:42 +00:00
Source0: https://github.com/Igalia/%{name}/archive/%{version}/%{name}-%{version}.tar.xz
2018-08-03 20:22:37 +00:00
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: mesa-libEGL-devel
BuildRequires: libxkbcommon-devel
2018-08-27 21:04:42 +00:00
BuildRequires: libwpe-devel
2018-08-03 20:22:37 +00:00
BuildRequires: libwayland-client-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libwayland-server-devel
BuildRequires: glib2-devel
%description
A WPE backend designed for Linux desktop systems.
%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
2018-08-27 21:04:42 +00:00
%autosetup -p1 -n %{name}-%{version}
2018-08-03 20:22:37 +00:00
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake \
..
popd
%make_build -C %{_target_platform}
%install
%make_install -C %{_target_platform}
%files
%license COPYING
%doc NEWS
2018-08-27 21:04:42 +00:00
%{_libdir}/libWPEBackend-fdo-0.1.so.1
%{_libdir}/libWPEBackend-fdo-0.1.so.1.*
2018-08-03 20:22:37 +00:00
%files devel
%{_includedir}/wpe-fdo-0.1
%{_libdir}/libWPEBackend-fdo-0.1.so
%{_libdir}/pkgconfig/wpebackend-fdo-0.1.pc
%changelog
2018-08-27 21:04:42 +00:00
* Sun Aug 26 2018 Chris King <bunnyapocalypse@protonmail.com> - 1.0.0-1
- Soname bump
2018-08-03 20:22:37 +00:00
* Mon Jul 16 2018 Chris King <bunnyapocalypse@fedoraproject.org> - 0.1-1
- Initial RPM package