2017-06-28 19:12:44 +00:00
|
|
|
%global commit 818b6135ad6883afbaec83f5da0d3204238416a7
|
|
|
|
%global date 20170628
|
2017-02-03 13:23:50 +00:00
|
|
|
%global shortcommit0 %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
Name: egl-wayland
|
2017-06-28 19:12:44 +00:00
|
|
|
Version: 1.0.2
|
2017-07-26 07:14:24 +00:00
|
|
|
Release: 0.2%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
|
2017-02-03 13:23:50 +00:00
|
|
|
Summary: Wayland EGL External Platform library
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/NVIDIA
|
|
|
|
Source0: %url/%{name}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
|
|
|
|
Source1: 10_nvidia_wayland.json
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: eglexternalplatform-devel
|
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
BuildRequires: wayland-devel
|
|
|
|
|
|
|
|
# Required for directory ownership
|
|
|
|
Requires: libglvnd-egl%{?_isa}
|
|
|
|
|
|
|
|
%description
|
|
|
|
%summary
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{name}-%{commit}
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
%make_build V=1
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
install -m 0755 -d %{buildroot}%{_datadir}/egl/egl_external_platform.d/
|
|
|
|
install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/egl/egl_external_platform.d/
|
|
|
|
rm %{buildroot}%{_libdir}/libnvidia-egl-wayland.so
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md
|
2017-02-07 12:26:34 +00:00
|
|
|
%license COPYING
|
2017-02-03 13:23:50 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-07-26 07:14:24 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-0.2.20170628git818b613
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-28 19:12:44 +00:00
|
|
|
* Wed Jun 28 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-0.1.20170628git818b613
|
|
|
|
- update to 1.0.2 git
|
|
|
|
|
2017-03-08 13:59:58 +00:00
|
|
|
* Wed Mar 08 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-0.1.20170308git582fbf3
|
|
|
|
- update to 1.0.1 git
|
|
|
|
|
2017-02-07 12:26:34 +00:00
|
|
|
* Tue Feb 07 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.7.20170207git05eb000
|
|
|
|
- Add license file
|
|
|
|
|
2017-02-03 13:23:50 +00:00
|
|
|
* Thu Feb 02 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.6.20170120git743d702
|
|
|
|
- Add requires libglvnd-egl
|
|
|
|
- Make review changes
|
|
|
|
|
|
|
|
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.5.20170120git743d702
|
|
|
|
- Drop devel sub-package
|
|
|
|
|
|
|
|
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.4.20170120git743d702
|
|
|
|
- Add 10_nvidia_wayland.json to libs sub-package
|
|
|
|
|
|
|
|
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.3.20170120git743d702
|
|
|
|
- Add loader directory to common sub-package
|
|
|
|
- Move libs to sub-package
|
|
|
|
|
|
|
|
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.2.20170120git743d702
|
|
|
|
- Add date to release
|
|
|
|
|
|
|
|
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.1.git743d702
|
|
|
|
- First build
|
|
|
|
|