|
|
107b022 |
%global commit 2e97840f8ea9854d6ece967745c66cc8f3f48a41
|
|
|
93d0bc3 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
93d0bc3 |
|
|
|
a092671 |
Name: piglit
|
|
|
107b022 |
Version: 1.0.20170221
|
|
|
107b022 |
Release: 4.git%{shortcommit}%{?dist}
|
|
|
a092671 |
Summary: Collection of automated tests for OpenGL implementations
|
|
|
a092671 |
|
|
|
a092671 |
Group: Development/Tools
|
|
|
a092671 |
License: MIT and GPLv2+ and GPLv3 and LGPLv2
|
|
|
a092671 |
URL: http://cgit.freedesktop.org/piglit/
|
|
|
93d0bc3 |
# make archive
|
|
|
93d0bc3 |
Source0: %{name}-%{commit}.tar.xz
|
|
|
107b022 |
ExcludeArch: i686
|
|
|
93d0bc3 |
|
|
|
51e7611 |
BuildRequires: python3 python3-numpy python3-mako python-nose python3-six python3-lxml
|
|
|
849f0b9 |
BuildRequires: bash-completion
|
|
|
48e393e |
BuildRequires: cmake
|
|
|
93d0bc3 |
BuildRequires: gcc
|
|
|
48e393e |
BuildRequires: chrpath
|
|
|
93d0bc3 |
BuildRequires: pkgconfig(dri), pkgconfig(gl)
|
|
|
8d9a015 |
BuildRequires: pkgconfig(glu)
|
|
|
8d9a015 |
BuildRequires: pkgconfig(egl)
|
|
|
8d9a015 |
BuildRequires: pkgconfig(x11)
|
|
|
8d9a015 |
BuildRequires: pkgconfig(libpng)
|
|
|
9577769 |
BuildRequires: waffle-devel
|
|
|
48e393e |
BuildRequires: libtiff-devel
|
|
|
48e393e |
BuildRequires: libXrender-devel
|
|
|
35cf43b |
BuildRequires: ocl-icd-devel opencl-headers
|
|
|
469a261 |
Requires: python3-mako >= 0.7.3
|
|
|
35cf43b |
Requires: /usr/bin/clinfo
|
|
|
48e393e |
|
|
|
a092671 |
%description
|
|
|
a092671 |
Piglit is a collection of automated tests for OpenGL implementations.
|
|
|
a092671 |
|
|
|
a092671 |
The goal of Piglit is to help improve the quality of open source
|
|
|
a092671 |
OpenGL drivers by providing developers with a simple means to
|
|
|
a092671 |
perform regression tests.
|
|
|
a092671 |
|
|
|
a092671 |
%prep
|
|
|
b8e43ad |
%autosetup -n %{name}
|
|
|
a092671 |
|
|
|
93d0bc3 |
rm -rf build
|
|
|
93d0bc3 |
mkdir build
|
|
|
a092671 |
|
|
|
93d0bc3 |
%build
|
|
|
93d0bc3 |
pushd build
|
|
|
4da3b8b |
|
|
|
4da3b8b |
%cmake ../ \
|
|
|
4da3b8b |
%ifarch i686
|
|
|
4da3b8b |
-DCMAKE_C_FLAGS_DEBUG:STRING=-O0 -DCMAKE_CXX_FLAGS_DEBUG:STRING=-O0 \
|
|
|
4da3b8b |
%endif
|
|
|
93d0bc3 |
-DCMAKE_BUILD_TYPE:STRING=Debug \
|
|
|
35cf43b |
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
|
|
35cf43b |
-DPIGLIT_BUILD_CL_TESTS=1
|
|
|
4da3b8b |
|
|
|
93d0bc3 |
make VERBOSE=1 %{?_smp_mflags}
|
|
|
4da3b8b |
|
|
|
93d0bc3 |
popd
|
|
|
a092671 |
|
|
|
a092671 |
%install
|
|
|
93d0bc3 |
pushd build
|
|
|
93d0bc3 |
%make_install
|
|
|
93d0bc3 |
popd
|
|
|
7312bd0 |
|
|
|
9105076 |
# We don't want this in its own doc directory.
|
|
|
93d0bc3 |
rm -rf %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
a092671 |
|
|
|
b8e43ad |
# no idea why make install gets this wrong, and don't care
|
|
|
b8e43ad |
mv %{buildroot}/usr/usr/share/* %{buildroot}/usr/share
|
|
|
b8e43ad |
|
|
|
a092671 |
%files
|
|
|
93d0bc3 |
%license COPYING licences/*
|
|
|
93d0bc3 |
%doc README HACKING RELEASE examples
|
|
|
35cf43b |
%{_bindir}/%{name}
|
|
|
b8e43ad |
%{_datadir}/bash-completion/completions/%{name}
|
|
|
a092671 |
%{_libdir}/%{name}/
|
|
|
a092671 |
|
|
|
a092671 |
%changelog
|
|
|
107b022 |
* Tue Feb 21 2017 Matěj Cepl <mcepl@redhat.com> - 1.0.20170221-4.git2e97840
|
|
|
107b022 |
- Upgrading to the latest checkout.
|
|
|
107b022 |
|
|
|
47094cd |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.20160901-3.git2401e47
|
|
|
47094cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
47094cd |
|
|
|
469a261 |
* Fri Sep 02 2016 Adam Jackson <ajax@redhat.com> - 1.0.20160831-2.git2401e479
|
|
|
469a261 |
- Spell python3-mako correctly
|
|
|
469a261 |
|
|
|
b8e43ad |
* Thu Sep 01 2016 Adam Jackson <ajax@redhat.com> - 1.0.20160831-1.git2401e479
|
|
|
b8e43ad |
- 2401e479
|
|
|
51e7611 |
- Switch to python3
|
|
|
b8e43ad |
|
|
|
e9ba623 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.20151124-2.git72e5518
|
|
|
e9ba623 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e9ba623 |
|
|
|
35cf43b |
* Tue Nov 24 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.20151124-1.git72e5518
|
|
|
35cf43b |
- 72e5518
|
|
|
35cf43b |
- Enable OpenCL
|
|
|
35cf43b |
|
|
|
93d0bc3 |
* Sun Nov 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.20151122-1.gitd095ba0
|
|
|
93d0bc3 |
- d095ba0
|
|
|
93d0bc3 |
|
|
|
8d9a015 |
* Mon Sep 14 2015 Matěj Cepl <mcepl@redhat.com> - 1.0.20150914-1
|
|
|
8d9a015 |
- The latest checkout from the upstream.
|
|
|
8d9a015 |
|
|
|
8d9a015 |
* Thu Jul 30 2015 Matej Cepl <mcepl@redhat.com> - 1-0.26.20150730GITd2e8b17
|
|
|
8d9a015 |
- Upgrade to the latest git checkout.
|
|
|
8d9a015 |
|
|
|
c3eedf0 |
* Thu Jul 30 2015 Matej Cepl <mcepl@redhat.com> - 1-0.25.20150206GITi9c8b329
|
|
|
c3eedf0 |
- Add python-mako Requires (RHBZ# 1247936)
|
|
|
c3eedf0 |
|
|
|
1edfffd |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-0.24.20150206GITi9c8b329
|
|
|
1edfffd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
1edfffd |
|
|
|
be52234 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1-0.23.20150206GITi9c8b329
|
|
|
be52234 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
be52234 |
|
|
|
48e393e |
* Fri Feb 06 2015 Matej Cepl <mcepl@redhat.com> - 1-0.22.20150206GITi9c8b329
|
|
|
48e393e |
- Upgrade to the latest git checkout.
|
|
|
48e393e |
|
|
|
9105076 |
* Tue Jan 6 2015 Matěj Cepl <mcepl@redhat.com> - 1-0.21.20150103GIT4adb082
|
|
|
9105076 |
- Upgrade to the latest upstream release. (RHBZ# 1177151)
|
|
|
9105076 |
|
|
|
c3ee9db |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-0.20.20140414GIT8775223
|
|
|
c3ee9db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
c3ee9db |
|
|
|
aba2b74 |
* Wed Jun 11 2014 Matěj Cepl <mcepl@redhat.com> - 1-0.19.20140414GIT8775223
|
|
|
aba2b74 |
- Add ExcludeArch for EPEL-6 and ppc64 properly (RHBZ# 1093720)
|
|
|
aba2b74 |
|
|
|
803863b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-0.18.20140414GIT8775223
|
|
|
803863b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
803863b |
|
|
|
9f5993f |
* Mon May 19 2014 Matěj Cepl <mcepl@redhat.com> - 1-0.17.20140414GIT8775223
|
|
|
9f5993f |
- Except I have created condition incorrectly.
|
|
|
9f5993f |
|
|
|
d13ea1b |
* Fri May 16 2014 Matěj Cepl <mcepl@redhat.com> - 1-0.16.20140414GIT8775223
|
|
|
d13ea1b |
- importlib is since python 2.7 in the standard library, no need to
|
|
|
d13ea1b |
import it.
|
|
|
d13ea1b |
|
|
|
cee5051 |
* Thu May 15 2014 Matěj Cepl <mcepl@redhat.com> - 1-0.15.20140414GIT8775223
|
|
|
cee5051 |
- Put ExcludeArch back for ppc64.
|
|
|
590af7c |
- Add python-importlib Require
|
|
|
cee5051 |
|
|
|
a092671 |
* Tue Apr 15 2014 Matěj Cepl <mcepl@redhat.com> - 1-0.14.20140414GIT8775223
|
|
|
a092671 |
- Remove ExcludeArch
|
|
|
a092671 |
|
|
|
a092671 |
* Mon Apr 14 2014 Matěj Cepl <mcepl@redhat.com> - 1-0.13.20140414GIT8775223
|
|
|
a092671 |
- New upstream checkout (our patches were upstreamed)
|
|
|
a092671 |
|
|
|
a092671 |
* Thu Mar 20 2014 Matěj Cepl <mcepl@redhat.com> - 1-0.13.20140320GITb561c3c
|
|
|
a092671 |
- New upstream checkout.
|
|
|
a092671 |
|
|
|
a092671 |
* Wed Oct 23 2013 Matěj Cepl <mcepl@redhat.com> - 1-0.13.20131023GITe2db751
|
|
|
a092671 |
- New upstream checkout.
|
|
|
a092671 |
|
|
|
a092671 |
* Sat Aug 24 2013 Matěj Cepl <mcepl@redhat.com> - 1-0.13.20130824GITbccdf6f
|
|
|
a092671 |
- New upstream checkout.
|
|
|
a092671 |
|
|
|
a092671 |
* Fri Jan 13 2012 Matěj Cepl <mcepl@redhat.com> 1-0.12.git20120110Rf26fbd0
|
|
|
a092671 |
- more cleanup to (almost) satisfy formal review.
|
|
|
a092671 |
|
|
|
a092671 |
* Fri Jan 13 2012 Matěj Cepl <mcepl@redhat.com> 1-0.11.git20120110Rf26fbd0
|
|
|
a092671 |
- New patch from http://article.gmane.org/gmane.comp.video.piglit/98/
|
|
|
a092671 |
- Actually really use %%cmake macro
|
|
|
a092671 |
|
|
|
a092671 |
* Thu Jan 12 2012 Matěj Cepl <mcepl@redhat.com> 1-0.10.git20120110Rf26fbd0
|
|
|
a092671 |
- add -DBUILD_SHARED_LIBS:BOOL=OFF to the cmake call to workaround FTBFS
|
|
|
a092671 |
- remove unnecessary executable bits and shebangs
|
|
|
a092671 |
|
|
|
a092671 |
* Tue Jan 10 2012 Matěj Cepl <mcepl@redhat.com> 1-0.9.git20120110Rf26fbd0
|
|
|
a092671 |
- New upstream checkout, preparing for the Fedora submission.
|
|
|
a092671 |
|
|
|
a092671 |
* Mon Dec 19 2011 Matěj Cepl <mcepl@redhat.com> 1-0.8.git20111219R8749563
|
|
|
a092671 |
- Upgrade to the latest upstream checkout
|
|
|
a092671 |
|
|
|
a092671 |
* Tue Nov 29 2011 Matěj Cepl <mcepl@redhat.com> - 1-0.8.git20111129R6a241f7
|
|
|
a092671 |
- Upgrade to the latest upstream checkout
|
|
|
a092671 |
|
|
|
a092671 |
* Mon Nov 28 2011 Matěj Cepl <mcepl@redhat.com> - 1-0.7.git20111107R228aaeb
|
|
|
a092671 |
- Exclude archs, add libXrender-devel as a build requirement.
|
|
|
a092671 |
|
|
|
a092671 |
* Tue Oct 18 2011 'Matěj Cepl <mcepl@redhat.com>' - 1-0.6.git20111018R5078a37
|
|
|
a092671 |
- New upstream checkout
|
|
|
a092671 |
- Copy also piglit*.py files to libdir. *PALMFACE*
|
|
|
a092671 |
|
|
|
a092671 |
* Mon Oct 17 2011 'Matěj Cepl <mcepl@redhat.com>' - 1-0.5.git20111017reaa3617a
|
|
|
a092671 |
- New upstream checkout.
|
|
|
a092671 |
|
|
|
a092671 |
* Mon Oct 17 2011 Matěj Cepl <mcepl@redhat.com> - 1-0.5.git20111017reaa3617a
|
|
|
a092671 |
- Update to the latest upstream checkout.
|
|
|
a092671 |
|
|
|
a092671 |
* Sat Oct 08 2011 Matěj Cepl <mcepl@redhat.com> - 1-0.4.git20111007r7fe681a0
|
|
|
a092671 |
- First package.
|
|
|
a092671 |
|
|
|
a092671 |
|
|
|
a092671 |
# vi:sw=4 ts=8 et
|