package created using the webbuild interface [release 1.0.0-1mamba;Mon Dec 25 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:06:09 +01:00
parent 04782e9990
commit 67195bb38c
2 changed files with 82 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# virglrenderer
VirGL virtual OpenGL renderer.

80
virglrenderer.spec Normal file
View File

@ -0,0 +1,80 @@
Name: virglrenderer
Version: 1.0.0
Release: 1mamba
Summary: VirGL virtual OpenGL renderer
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.freedesktop.org/virgl/virglrenderer
Source: https://gitlab.freedesktop.org/virgl/virglrenderer.git/%{version}/virglrenderer-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libdrm-devel
BuildRequires: libepoxy-devel
BuildRequires: libmesa-devel
BuildRequires: libva-devel
## AUTOBUILDREQ-END
BuildRequires: meson
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
VirGL virtual OpenGL renderer.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
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}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson \
-Dvideo=true
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/virgl_test_server
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libvirglrenderer.so.*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/virgl/virglrenderer.h
%{_libdir}/libvirglrenderer.so
%{_libdir}/pkgconfig/virglrenderer.pc
%doc README.rst
%changelog
* Mon Dec 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- package created using the webbuild interface