diff --git a/README.md b/README.md index fbe8ebf..a208de4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libvdpau-va-gl +VDPAU driver with OpenGL/VAAPI backend. + diff --git a/libvdpau-va-gl.spec b/libvdpau-va-gl.spec new file mode 100644 index 0000000..c845ba0 --- /dev/null +++ b/libvdpau-va-gl.spec @@ -0,0 +1,56 @@ +Name: libvdpau-va-gl +Version: 0.4.2 +Release: 1mamba +Summary: VDPAU driver with OpenGL/VAAPI backend +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/i-rinat/libvdpau-va-gl +Source: https://github.com/i-rinat/libvdpau-va-gl.git/v%{version}/libvdpau-va-gl-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: libva-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Provides: vdpau_backend + +%description +VDPAU driver with OpenGL/VAAPI backend. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libvdpau_va_gl.so +%{_libdir}/libvdpau_va_gl.so.1 +%doc LICENSE + +%changelog +* Wed Dec 07 2022 Silvan Calarco 0.4.2-1mamba +- package created using the webbuild interface