Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-12-18 08:40:15 +01:00
parent c9ad26ce95
commit c707c50beb
3 changed files with 12 additions and 9 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ xdriinfo-1.0.3.tar.bz2
/mesa-demos-8.1.0.tar.bz2
/mesa-demos-8.2.0.tar.bz2
/mesa-demos-20151203.tar.bz2
/mesa-demos-8.3.0.tar.bz2

View File

@ -1,19 +1,18 @@
%global gitdate 20151203
%global gitcommit f941f6b60dea9bb446b97985a9afb6b1b839e81f
%global shortcommit %(c=%{gitcommit}; echo ${c:0:7})
%global tarball mesa-demos
%global xdriinfo xdriinfo-1.0.4
%global demodir %{_libdir}/mesa
Summary: Mesa demos
Name: mesa-demos
Version: 8.2.0
Release: 5%{?dist}
Version: 8.3.0
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
#Source0: ftp://ftp.freedesktop.org/pub/mesa/demos/8.2.0/%{tarball}-%{version}.tar.bz2
Source0: mesa-demos-%{gitdate}.tar.bz2
Source0: ftp://ftp.freedesktop.org/pub/mesa/demos/%{version}/%{name}-%{version}.tar.bz2
#Source0: mesa-demos-%{gitdate}.tar.bz2
Source1: http://www.x.org/pub/individual/app/%{xdriinfo}.tar.bz2
Source2: mesad-git-snapshot.sh
# Patch pointblast/spriteblast out of the Makefile for legal reasons
@ -24,6 +23,7 @@ BuildRequires: freeglut-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libGLES-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: libGLU-devel
BuildRequires: glew-devel
@ -47,7 +47,7 @@ Provides: eglinfo es2_info
The egl-utils package provides the eglinfo and es2_info utilities.
%prep
%setup -q -n %{tarball}-%{gitdate} -b1
%setup -q -n %{name}-%{version} -b1
%patch0 -p1 -b .legal
%patch1 -p1 -b .asneeded
@ -56,7 +56,7 @@ rm -rf src/demos/pointblast.c
rm -rf src/demos/spriteblast.c
%build
autoreconf -i
autoreconf -vfi
%configure --bindir=%{demodir} --with-system-data-files
make %{?_smp_mflags}
@ -98,6 +98,9 @@ install -m 0755 src/egl/opengles2/es2_info %{buildroot}%{_bindir}
%{_bindir}/es2_info
%changelog
* Fri Dec 18 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 8.3.0-1
- 8.3.0
* Thu Dec 03 2015 Adam Jackson <ajax@redhat.com> 8.2.0-5
- New git snap
- Add EGL/GLES buildreqs and egl-utils subpackage

View File

@ -1,2 +1 @@
3d3cad4d754e10e325438193433d59fd xdriinfo-1.0.4.tar.bz2
f1c9b557602f9e4a62a06cbf85a43485 mesa-demos-20151203.tar.bz2
628e75c23c17394f11a316c36f8e4164 mesa-demos-8.3.0.tar.bz2