Initial commit
This commit is contained in:
parent
438bd9cf51
commit
2d12833da7
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/egl-wayland-743d702fac0feb02d52ff34deadecb32284f18ea.tar.gz
|
6
10_nvidia_wayland.json
Normal file
6
10_nvidia_wayland.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"file_format_version" : "1.0.0",
|
||||
"ICD" : {
|
||||
"library_path" : "libnvidia-egl-wayland.so.1"
|
||||
}
|
||||
}
|
76
egl-wayland.spec
Normal file
76
egl-wayland.spec
Normal file
@ -0,0 +1,76 @@
|
||||
%global commit 743d702fac0feb02d52ff34deadecb32284f18ea
|
||||
%global date 20170120
|
||||
%global shortcommit0 %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: egl-wayland
|
||||
Version: 1.0.0
|
||||
Release: 0.6%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
|
||||
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
|
||||
%{_libdir}/*.so.*
|
||||
%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
|
||||
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user