virtualgl/virtualgl.spec

145 lines
4.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: virtualgl
Version: 3.1.1
Release: 2mamba
Summary: Redirects 3D commands from a Unix/Linux OpenGL application onto a server-side 3D graphics card
Group: System/X11
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://virtualgl.org/
Source: https://github.com/VirtualGL/virtualgl.git/%{version}/virtualgl-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXtst-devel
BuildRequires: libXv-devel
BuildRequires: libfltk-devel
BuildRequires: libgcc
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel
BuildRequires: libjpeg-devel
BuildRequires: libstdc++6-devel
BuildRequires: ocl-icd-devel
## AUTOBUILDREQ-END
BuildRequires: libjpeg-turbo-static
BuildRequires: cmake
%description
VirtualGL redirects 3D commands from a Unix/Linux OpenGL application onto a server-side 3D graphics card and converts the rendered 3D images into a video stream with which remote clients can interact to view and control the 3D application in real time.
%package demos
Summary: Demos for %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description demos
Demos for %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build \
-DVGL_BUILDSTATIC=0 \
-DTJPEG_INCLUDE_DIR=%{_includedir}/ \
-DTJPEG_LIBRARY=%{_libdir}/libturbojpeg.so \
-DVGL_DOCDIR=%{_docdir}/%{name} \
-DVGL_LIBDIR=%{_libdir} \
-DVGL_SYSTEMFLTK=1 \
-DVGL_FAKEXCB=1
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
# Resolve conflicts with mesa-tests
mv %{buildroot}%{_bindir}/{,v}glxinfo
mv %{buildroot}%{_bindir}/{,v}eglinfo
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/vglclient
%{_bindir}/vglconfig
%{_bindir}/vglconnect
%{_bindir}/vglgenkey
%{_bindir}/vgllogin
%{_bindir}/vglrun
%{_bindir}/.vglrun.vars*
%{_bindir}/vglserver_config
%dir %{_docdir}/VirtualGL
%{_docdir}/VirtualGL/*
%{_includedir}/rr.h
%{_includedir}/rrtransport.h
%{_libdir}/libvglfaker-nodl.so
%{_libdir}/libvglfaker.so
%{_libdir}/libvglfaker-opencl.so
%{_libdir}/libdlfaker.so
%{_libdir}/libgefaker.so
%files demos
%defattr(-,root,root)
%{_bindir}/cpustat
%{_bindir}/veglinfo
%{_bindir}/eglxinfo
%{_bindir}/eglxspheres*
%{_bindir}/glreadtest
%{_bindir}/vglxinfo
%{_bindir}/glxspheres*
%{_bindir}/nettest
%{_bindir}/tcbench
%changelog
* Sat Mar 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-2mamba
- resolve conflicts with mesa-tests
* Thu Mar 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1mamba
- update to 3.1.1
* Fri Mar 31 2023 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
- automatic version update by autodist
* Sun Oct 23 2022 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Tue Jun 04 2019 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic version update by autodist
* Wed Jan 09 2019 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic version update by autodist
* Thu Aug 30 2018 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
- automatic version update by autodist
* Mon Aug 14 2017 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
- automatic version update by autodist
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
- automatic version update by autodist
* Thu Mar 24 2016 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
- automatic version update by autodist
* Wed Aug 26 2015 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Sat Apr 04 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-1mamba
- update to 2.4
* Fri Jan 03 2014 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Fri Jul 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
- package created by autospec