2015-12-03 17:24:34 +00:00
|
|
|
%global gitdate 20151203
|
|
|
|
%global gitcommit f941f6b60dea9bb446b97985a9afb6b1b839e81f
|
2013-01-08 17:01:10 +00:00
|
|
|
%global shortcommit %(c=%{gitcommit}; echo ${c:0:7})
|
|
|
|
%global xdriinfo xdriinfo-1.0.4
|
|
|
|
%global demodir %{_libdir}/mesa
|
2010-07-22 14:36:01 +00:00
|
|
|
|
|
|
|
Summary: Mesa demos
|
|
|
|
Name: mesa-demos
|
2015-12-18 07:40:15 +00:00
|
|
|
Version: 8.3.0
|
2016-01-14 18:09:33 +00:00
|
|
|
Release: 2%{?dist}
|
2010-07-22 14:36:01 +00:00
|
|
|
License: MIT
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.mesa3d.org
|
2015-12-18 07:40:15 +00:00
|
|
|
Source0: ftp://ftp.freedesktop.org/pub/mesa/demos/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
#Source0: mesa-demos-%{gitdate}.tar.bz2
|
2010-07-22 14:36:01 +00:00
|
|
|
Source1: http://www.x.org/pub/individual/app/%{xdriinfo}.tar.bz2
|
|
|
|
Source2: mesad-git-snapshot.sh
|
2013-01-08 17:01:10 +00:00
|
|
|
# Patch pointblast/spriteblast out of the Makefile for legal reasons
|
|
|
|
Patch0: mesa-demos-8.0.1-legal.patch
|
2013-03-27 18:46:32 +00:00
|
|
|
Patch1: mesa-demos-as-needed.patch
|
2010-10-28 11:06:46 +00:00
|
|
|
BuildRequires: pkgconfig autoconf automake libtool
|
2010-07-22 14:36:01 +00:00
|
|
|
BuildRequires: freeglut-devel
|
2015-12-03 17:24:34 +00:00
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
BuildRequires: mesa-libGLES-devel
|
2015-12-18 07:40:15 +00:00
|
|
|
BuildRequires: mesa-libgbm-devel
|
2010-07-22 14:36:01 +00:00
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: glew-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides some demo applications for testing Mesa.
|
|
|
|
|
|
|
|
%package -n glx-utils
|
|
|
|
Summary: GLX utilities
|
|
|
|
Group: Development/Libraries
|
2013-02-27 22:22:06 +00:00
|
|
|
Provides: glxinfo glxinfo%{?__isa_bits}
|
2010-07-22 14:36:01 +00:00
|
|
|
|
|
|
|
%description -n glx-utils
|
|
|
|
The glx-utils package provides the glxinfo and glxgears utilities.
|
|
|
|
|
2015-12-03 17:24:34 +00:00
|
|
|
%package -n egl-utils
|
|
|
|
Summary: EGL utilities
|
|
|
|
Group: Development/Libraries
|
|
|
|
Provides: eglinfo es2_info
|
|
|
|
|
|
|
|
%description -n egl-utils
|
|
|
|
The egl-utils package provides the eglinfo and es2_info utilities.
|
|
|
|
|
2010-07-22 14:36:01 +00:00
|
|
|
%prep
|
2015-12-18 07:40:15 +00:00
|
|
|
%setup -q -n %{name}-%{version} -b1
|
2013-01-08 17:01:10 +00:00
|
|
|
%patch0 -p1 -b .legal
|
2013-03-27 18:46:32 +00:00
|
|
|
%patch1 -p1 -b .asneeded
|
2010-07-22 14:36:01 +00:00
|
|
|
|
2013-01-08 17:01:10 +00:00
|
|
|
# These two files are distributable, but non-free (lack of permission to modify).
|
|
|
|
rm -rf src/demos/pointblast.c
|
|
|
|
rm -rf src/demos/spriteblast.c
|
2010-07-22 14:36:01 +00:00
|
|
|
|
|
|
|
%build
|
2015-12-18 07:40:15 +00:00
|
|
|
autoreconf -vfi
|
2013-01-08 17:01:10 +00:00
|
|
|
%configure --bindir=%{demodir} --with-system-data-files
|
2010-07-22 14:36:01 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
pushd ../%{xdriinfo}
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
2013-01-08 17:01:10 +00:00
|
|
|
make install DESTDIR=%{buildroot}
|
2010-07-22 14:36:01 +00:00
|
|
|
|
|
|
|
pushd ../%{xdriinfo}
|
2013-01-08 17:01:10 +00:00
|
|
|
make %{?_smp_mflags} install DESTDIR=%{buildroot}
|
2010-07-22 14:36:01 +00:00
|
|
|
popd
|
|
|
|
|
2013-01-08 17:01:10 +00:00
|
|
|
install -m 0755 src/xdemos/glxgears %{buildroot}%{_bindir}
|
|
|
|
install -m 0755 src/xdemos/glxinfo %{buildroot}%{_bindir}
|
2013-02-27 22:22:06 +00:00
|
|
|
%if 0%{?__isa_bits} != 0
|
|
|
|
install -m 0755 src/xdemos/glxinfo %{buildroot}%{_bindir}/glxinfo%{?__isa_bits}
|
|
|
|
%endif
|
2010-07-22 14:36:01 +00:00
|
|
|
|
2015-12-03 17:24:34 +00:00
|
|
|
install -m 0755 src/egl/opengl/eglinfo %{buildroot}%{_bindir}
|
|
|
|
install -m 0755 src/egl/opengles2/es2_info %{buildroot}%{_bindir}
|
|
|
|
|
2010-07-22 14:36:01 +00:00
|
|
|
%check
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{demodir}
|
2013-01-08 17:01:10 +00:00
|
|
|
%{_datadir}/%{name}/
|
2010-07-22 14:36:01 +00:00
|
|
|
|
|
|
|
%files -n glx-utils
|
2013-02-27 22:22:06 +00:00
|
|
|
%{_bindir}/glxinfo*
|
2010-10-30 01:16:15 +00:00
|
|
|
%{_bindir}/glxgears
|
2010-07-22 14:36:01 +00:00
|
|
|
%{_bindir}/xdriinfo
|
|
|
|
%{_datadir}/man/man1/xdriinfo.1*
|
|
|
|
|
2015-12-03 17:24:34 +00:00
|
|
|
%files -n egl-utils
|
|
|
|
%{_bindir}/eglinfo
|
|
|
|
%{_bindir}/es2_info
|
|
|
|
|
2010-07-22 14:36:01 +00:00
|
|
|
%changelog
|
2016-01-14 18:09:33 +00:00
|
|
|
* Thu Jan 14 2016 Adam Jackson <ajax@redhat.com> - 8.3.0-2
|
|
|
|
- Rebuild for glew 1.13
|
|
|
|
|
2015-12-18 07:40:15 +00:00
|
|
|
* Fri Dec 18 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 8.3.0-1
|
|
|
|
- 8.3.0
|
|
|
|
|
2015-12-03 17:24:34 +00:00
|
|
|
* Thu Dec 03 2015 Adam Jackson <ajax@redhat.com> 8.2.0-5
|
|
|
|
- New git snap
|
|
|
|
- Add EGL/GLES buildreqs and egl-utils subpackage
|
|
|
|
|
2015-06-17 20:01:06 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-02-21 21:29:25 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 8.2.0-3
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2014-08-17 09:15:59 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-05 09:35:27 +00:00
|
|
|
* Sat Jul 05 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 8.2.0-1
|
|
|
|
- 8.2.0 upstream release
|
|
|
|
|
2014-06-07 09:04:35 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-11-17 10:27:51 +00:00
|
|
|
* Sun Nov 17 2013 Dave Airlie <airlied@redhat.com> - 8.1.0-5
|
|
|
|
- rebuilt for glew 1.10
|
|
|
|
|
2013-08-03 10:08:07 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-27 18:46:32 +00:00
|
|
|
* Wed Mar 27 2013 Adam Jackson <ajax@redhat.com> 8.1.0-3
|
|
|
|
- Build with --as-needed so glxinfo doesn't needlessly drag in GLEW
|
|
|
|
|
2013-02-27 22:22:06 +00:00
|
|
|
* Wed Feb 27 2013 Adam Jackson <ajax@redhat.com> 8.1.0-2
|
|
|
|
- Copy glxinfo to glxinfo%%{__isa_bits}, to allow people to check that their
|
|
|
|
compatibility drivers are working.
|
|
|
|
|
2013-02-24 11:40:28 +00:00
|
|
|
* Sun Feb 24 2013 Dave Airlie <airlied@redhat.com> 8.1.0-1
|
|
|
|
- package upstream demos release 8.1.0 (mainly for new glxinfo)
|
|
|
|
|
2013-02-14 06:48:30 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.0.1-2.20121218git6eef979
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-08 17:01:10 +00:00
|
|
|
* Tue Jan 8 2013 Tom Callaway <spot@fedoraproject.org> - 8.0.1-1.20121218git6eef979
|
|
|
|
- update to 8.0.1 (git checkout from 20121218)
|
|
|
|
- update xdriinfo to 1.0.4
|
|
|
|
- remove non-free files (bz892925)
|
|
|
|
|
2012-12-13 18:40:07 +00:00
|
|
|
* Thu Dec 13 2012 Adam Jackson <ajax@redhat.com> - 7.10-9.20101028
|
|
|
|
- Rebuild for glew 1.9.0
|
|
|
|
|
2012-07-27 17:39:46 +00:00
|
|
|
* Fri Jul 27 2012 Kalev Lember <kalevlember@gmail.com> - 7.10-8.20101028
|
|
|
|
- Rebuilt for GLEW soname bump
|
|
|
|
|
2012-07-20 00:39:35 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.10-7.20101028
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 09:45:20 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.10-6.20101028
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-20 23:00:04 +00:00
|
|
|
* Mon Jun 20 2011 ajax@redhat.com - 7.10-5.20101028
|
|
|
|
- Rebuild for new glew soname
|
|
|
|
|
2011-02-08 17:32:29 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.10-4.20101028
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-01 13:40:39 +00:00
|
|
|
* Mon Nov 01 2010 Adam Jackson <ajax@redhat.com> 7.10-3.20101028
|
|
|
|
- Install rgba images too (#640688)
|
|
|
|
|
2010-10-30 01:16:15 +00:00
|
|
|
* Sat Oct 30 2010 Dave Airlie <airlied@redhat.com> 7.10-2.20101028
|
|
|
|
- fix install of gears/info (#647947)
|
|
|
|
|
2010-10-28 11:06:46 +00:00
|
|
|
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 7.10-1.20101028
|
|
|
|
- Today's git snapshot
|
|
|
|
- Arbitrary EVR bump to be newer than when the mesa source package dropped
|
|
|
|
the demos subpackage.
|
|
|
|
|
2010-07-22 14:36:01 +00:00
|
|
|
* Tue Jun 15 2010 Jerome Glisse <jglisse@redhat.com> 7.7
|
|
|
|
- Initial build.
|