diff --git a/README.md b/README.md index 08b8ca1..e51af58 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # egl-wayland +The EGLStream-based Wayland external platform. + diff --git a/egl-wayland.spec b/egl-wayland.spec new file mode 100644 index 0000000..2f09cdc --- /dev/null +++ b/egl-wayland.spec @@ -0,0 +1,80 @@ +Name: egl-wayland +Version: 1.1.3 +Release: 1mamba +Summary: The EGLStream-based Wayland external platform +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/NVIDIA/egl-wayland +## GITSOURCE https://github.com/NVIDIA/egl-wayland.git 1.1.3 +Source: https://github.com/NVIDIA/egl-wayland.git/%{version}/egl-wayland-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: eglexternalplatform-devel +BuildRequires: glibc-devel +BuildRequires: libffi-devel +BuildRequires: libwayland-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The EGLStream-based Wayland external platform. + +%package -n lib%{name} +Group: System/Libraries +Summary: The EGLStream-based Wayland external platform + +%description -n lib%{name} +The EGLStream-based Wayland external platform. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libnvidia-egl-wayland.so.* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_libdir}/libnvidia-egl-wayland.la +%{_libdir}/libnvidia-egl-wayland.so +%{_datadir}/pkgconfig/wayland-eglstream-protocols.pc +%{_datadir}/pkgconfig/wayland-eglstream.pc +%{_datadir}/wayland-eglstream/wayland-eglstream-controller.xml +%{_datadir}/wayland-eglstream/wayland-eglstream.xml +%doc README.md + +%changelog +* Sat Sep 07 2019 Silvan Calarco 1.1.3-1mamba +- package created using the webbuild interface