|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
%global gitdate 20210504
|
|
|
|
|
%global gitcommit 0f9e7d995a14f15666600fc8598f941b619d82fe
|
|
|
|
|
%global gitdate 20181118
|
|
|
|
|
%global gitcommit 1830dcb6e48c88f16d328dc4fc9fa32fe3b4956e
|
|
|
|
|
%global shortcommit %(c=%{gitcommit}; echo ${c:0:7})
|
|
|
|
|
%global xdriinfo xdriinfo-1.0.4
|
|
|
|
|
%global demodir %{_libdir}/mesa
|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
Summary: Mesa demos
|
|
|
|
|
Name: mesa-demos
|
|
|
|
|
Version: 8.4.0
|
|
|
|
|
Release: 12.%{gitdate}git%{shortcommit}%{?dist}
|
|
|
|
|
Release: 5.%{gitdate}git%{shortcommit}%{?dist}
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.mesa3d.org
|
|
|
|
|
#Source0: https://mesa.freedesktop.org/archive/demos/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
@ -19,8 +19,7 @@ Patch0: mesa-demos-8.0.1-legal.patch
|
|
|
|
|
Patch1: mesa-demos-as-needed.patch
|
|
|
|
|
# Fix xdriinfo not working with libglvnd
|
|
|
|
|
Patch2: xdriinfo-1.0.4-glvnd.patch
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: pkgconfig autoconf automake libtool
|
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
@ -29,6 +28,7 @@ BuildRequires: mesa-libGLES-devel
|
|
|
|
|
BuildRequires: mesa-libgbm-devel
|
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
|
BuildRequires: glew-devel
|
|
|
|
|
BuildRequires: wayland-devel
|
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
|
|
|
|
|
@ -73,18 +73,18 @@ autoreconf -vfi
|
|
|
|
|
--enable-gles2 \
|
|
|
|
|
--enable-libdrm \
|
|
|
|
|
--enable-freetype2
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
pushd ../%{xdriinfo}
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
pushd ../%{xdriinfo}
|
|
|
|
|
%make_install %{?_smp_mflags}
|
|
|
|
|
make %{?_smp_mflags} install DESTDIR=%{buildroot}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
install -m 0755 src/xdemos/glxgears %{buildroot}%{_bindir}
|
|
|
|
@ -113,28 +113,11 @@ install -m 0755 src/egl/opengles2/es2_info %{buildroot}%{_bindir}
|
|
|
|
|
%{_bindir}/es2_info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 8.4.0-12.20210504git0f9e7d9
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 8.4.0-5.20181118git1830dcb
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Tue May 04 2021 Adam Jackson <ajax@redhat.com> - 8.4.0-11.20210504git0f9e7d995a14f15
|
|
|
|
|
- Sync with upstream to drop the glew dependency
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.4.0-9.20181118git1830dcb
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Tom Stellard <tstellar@redhat.com> - 8.4.0-8.20181118git1830dcb
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.4.0-7.20181118git1830dcb
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.4.0-6.20181118git1830dcb
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Oct 04 2019 Gwyn Ciesla <gwync@protonmail.com> - 8.4.0-5.20181118git1830dcb
|
|
|
|
|
- Rebuilt for new freeglut.
|
|
|
|
|
* Thu Jun 11 2020 Adam Jackson <ajax@redhat.com> - 8.4.0-5.20181118git1830dcb
|
|
|
|
|
- Rebuild for RHEL 8.3
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.4.0-4.20181118git1830dcb
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|