|
|
c053f9a |
%if 0%{?fedora} >= 20 && 0%{?rhel} > 7
|
|
|
e03b840 |
%bcond_with wayland
|
|
|
c053f9a |
%else
|
|
|
c053f9a |
%bcond_without wayland
|
|
|
e03b840 |
%endif
|
|
|
e03b840 |
|
|
|
1c6a061 |
Name: waffle
|
|
|
22c57b1 |
Version: 1.5.2
|
|
|
90c2967 |
Release: 11%{?dist}
|
|
|
1c6a061 |
Summary: Platform independent GL API layer
|
|
|
1c6a061 |
|
|
|
1c6a061 |
License: MIT
|
|
|
22c57b1 |
URL: http://www.waffle-gl.org/releases.html
|
|
|
22c57b1 |
Source0: http://www.waffle-gl.org/files/release/%{name}-%{version}/%{name}-%{version}.tar.xz
|
|
|
1c6a061 |
|
|
|
9c8427e |
BuildRequires: cmake libxslt docbook-style-xsl libxcb-devel gcc
|
|
|
1c6a061 |
BuildRequires: libX11-devel mesa-libGL-devel mesa-libGLU-devel
|
|
|
1c6a061 |
BuildRequires: chrpath
|
|
|
99e08ab |
BuildRequires: mesa-libEGL-devel
|
|
|
99e08ab |
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
|
|
|
99e08ab |
BuildRequires: mesa-libGLES-devel
|
|
|
e03b840 |
BuildRequires: systemd-devel
|
|
|
99e08ab |
%endif
|
|
|
99e08ab |
BuildRequires: mesa-libgbm-devel
|
|
|
e03b840 |
%if %{with wayland}
|
|
|
5f97a1f |
BuildRequires: wayland-devel
|
|
|
e03b840 |
%endif
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%description
|
|
|
1c6a061 |
Waffle is a cross-platform C library that allows one to defer
|
|
|
1c6a061 |
selection of GL API and of window system until runtime.
|
|
|
1c6a061 |
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%package devel
|
|
|
1c6a061 |
Summary: Development headers and libraries for %{name}
|
|
|
1c6a061 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%description devel
|
|
|
1c6a061 |
Contains the header files, and libraries required for development of
|
|
|
1c6a061 |
%{name}-related software.
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%package doc
|
|
|
1c6a061 |
Summary: Documentation for %{name}
|
|
|
1c6a061 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%description doc
|
|
|
1c6a061 |
Contains HTML version of the developer documentation for development of
|
|
|
1c6a061 |
%{name}-related software (manpages are in the -devel package).
|
|
|
1c6a061 |
|
|
|
1c6a061 |
|
|
|
160f58a |
%package examples
|
|
|
160f58a |
Summary: Example programs using %{name}
|
|
|
160f58a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
160f58a |
|
|
|
160f58a |
%description examples
|
|
|
160f58a |
Example programs using %{name}.
|
|
|
160f58a |
|
|
|
160f58a |
|
|
|
1c6a061 |
%prep
|
|
|
1c6a061 |
%setup -q
|
|
|
1c6a061 |
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%build
|
|
|
1c6a061 |
%cmake \
|
|
|
1c6a061 |
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name}-%{version} \
|
|
|
1c6a061 |
-DCMAKE_BUILD_STRIP=FALSE \
|
|
|
e03b840 |
-Dwaffle_has_glx=1 -Dwaffle_has_gbm=1 \
|
|
|
e03b840 |
%if %{with wayland}
|
|
|
e03b840 |
-Dwaffle_has_wayland=1 \
|
|
|
e03b840 |
%endif
|
|
|
1c6a061 |
-Dwaffle_build_manpages=1 -Dwaffle_build_htmldocs=1 .
|
|
|
1c6a061 |
|
|
|
1c6a061 |
make VERBOSE=1 %{?_smp_mflags}
|
|
|
1c6a061 |
|
|
|
99e08ab |
# We don’t want to install binary files in %%docdir
|
|
|
99e08ab |
rm -rf examples/CMakeFiles
|
|
|
99e08ab |
|
|
|
1c6a061 |
%install
|
|
|
1c6a061 |
make install DESTDIR=%{buildroot}
|
|
|
1c6a061 |
# Fedora now uses unversioned doc dirs, make install shouldn’t try to
|
|
|
1c6a061 |
# install there anyway.
|
|
|
1c6a061 |
rm -rf %{buildroot}%{_docdir}/%{name}*
|
|
|
1c6a061 |
|
|
|
033e33c |
%ldconfig_scriptlets
|
|
|
1c6a061 |
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%files
|
|
|
1c6a061 |
%doc README.txt LICENSE.txt
|
|
|
1c6a061 |
%{_libdir}/lib%{name}*.so.*
|
|
|
cd2a9cf |
%{_bindir}/wflinfo
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%files doc
|
|
|
1c6a061 |
%doc doc/html/
|
|
|
1c6a061 |
|
|
|
1c6a061 |
%files devel
|
|
|
1c6a061 |
%doc doc/release-notes/
|
|
|
1c6a061 |
%{_includedir}/waffle*
|
|
|
1c6a061 |
%{_libdir}/lib%{name}*.so
|
|
|
1c6a061 |
%{_libdir}/pkgconfig/%{name}*
|
|
|
1c6a061 |
%{_datadir}/cmake/Modules/FindWaffle.cmake
|
|
|
22c57b1 |
%{_libdir}/cmake/Waffle/*
|
|
|
1c6a061 |
%{_mandir}/man*/*
|
|
|
1c6a061 |
|
|
|
1c6a061 |
|
|
|
160f58a |
%files examples
|
|
|
160f58a |
%doc examples/
|
|
|
160f58a |
|
|
|
160f58a |
|
|
|
1c6a061 |
%changelog
|
|
|
90c2967 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-11
|
|
|
90c2967 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
90c2967 |
|
|
|
07cbc13 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-10
|
|
|
07cbc13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
07cbc13 |
|
|
|
75b3d5a |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-9
|
|
|
75b3d5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
75b3d5a |
|
|
|
9c8427e |
* Tue Feb 20 2018 Matěj Cepl <mcepl@redhat.com> - 1.5.2-8
|
|
|
9c8427e |
- Add BuildRequires gcc per new PG.
|
|
|
9c8427e |
|
|
|
a3191c3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-7
|
|
|
a3191c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a3191c3 |
|
|
|
f00f0d2 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-6
|
|
|
f00f0d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
f00f0d2 |
|
|
|
51d115e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
|
|
|
51d115e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
51d115e |
|
|
|
6124a9c |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-4
|
|
|
6124a9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6124a9c |
|
|
|
c053f9a |
* Mon Feb 29 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.2-3
|
|
|
c053f9a |
- Fix Wayland conditionals so it's enabled in Fedora
|
|
|
c053f9a |
|
|
|
0e239a9 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
|
|
|
0e239a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0e239a9 |
|
|
|
22c57b1 |
* Wed Sep 09 2015 Dave Airlie <airlied@redhat.com> 1.5.2-1
|
|
|
22c57b1 |
- 1.5.2 release
|
|
|
22c57b1 |
|
|
|
cff4148 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-4
|
|
|
cff4148 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
cff4148 |
|
|
|
99e08ab |
* Mon Jan 5 2015 Matěj Cepl <mcepl@redhat.com> - 1.5.0-3
|
|
|
99e08ab |
- Make package building on RHEL-6.
|
|
|
99e08ab |
|
|
|
160f58a |
* Mon Jan 05 2015 Matej Cepl <mcepl@redhat.com> - 1.5.0-2
|
|
|
160f58a |
- Package examples again.
|
|
|
160f58a |
|
|
|
7de1099 |
* Tue Dec 16 2014 Dave Airlie <airlied@redhat.com> 1.5.0-1
|
|
|
7de1099 |
- 1.5.0 release
|
|
|
7de1099 |
|
|
|
a4f65b8 |
* Thu Dec 04 2014 Matej Cepl <mcepl@redhat.com> - 1.4.2-2
|
|
|
a4f65b8 |
- Merge with master.
|
|
|
04b04dd |
- Patch out commit 92116dae to make building possible on cmake < 2.8.12.
|
|
|
a4f65b8 |
|
|
|
c62fb23 |
* Thu Dec 04 2014 Matej Cepl <mcepl@redhat.com> - 1.4.2-1
|
|
|
68d343f |
- Upstream release (#1161826)
|
|
|
c62fb23 |
|
|
|
cd2a9cf |
* Tue Sep 23 2014 Matěj Cepl <mcepl@redhat.com> - 1.4.0-1
|
|
|
cd2a9cf |
- Upgreade to the latest upstream release (RHBZ# 1145481)
|
|
|
cd2a9cf |
|
|
|
a4f65b8 |
* Tue Sep 23 2014 Matej Cepl <mcepl@redhat.com> - 1.3.0-5
|
|
|
ed03acd |
- Apply patch to make GBM work on f21 as well.
|
|
|
ed03acd |
|
|
|
e03b840 |
* Tue Sep 23 2014 Matěj Cepl <mcepl@redhat.com> - 1.3.0-4
|
|
|
e03b840 |
- Enable GBM and Wayland options as well.
|
|
|
e03b840 |
|
|
|
297de1c |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
|
|
|
297de1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
297de1c |
|
|
|
bb90c8e |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
|
|
bb90c8e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
bb90c8e |
|
|
|
5e6b135 |
* Tue Oct 01 2013 Matěj Cepl <mcepl@redhat.com> - 1.3.0-1
|
|
|
5e6b135 |
- Upstream release.
|
|
|
5e6b135 |
|
|
|
1c6a061 |
* Fri Sep 27 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-4
|
|
|
1c6a061 |
- And even more fixes (switch on man and HTML doc generation).
|
|
|
1c6a061 |
|
|
|
1c6a061 |
* Thu Sep 26 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-3
|
|
|
1c6a061 |
- Fix even more errors indicated by the package review.
|
|
|
1c6a061 |
|
|
|
1c6a061 |
* Mon Aug 26 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-2
|
|
|
1c6a061 |
- Fix errors indicated by the package review.
|
|
|
1c6a061 |
|
|
|
1c6a061 |
* Sat Aug 24 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-1
|
|
|
1c6a061 |
- New upstream release.
|
|
|
1c6a061 |
|
|
|
1c6a061 |
* Thu Nov 15 2012 Matěj Cepl <mcepl@redhat.com> - 1.2.0-1
|
|
|
1c6a061 |
- Upstream upgrade.
|
|
|
1c6a061 |
|
|
|
1c6a061 |
* Fri Oct 19 2012 Matěj Cepl <mcepl@redhat.com> - 1.1.1-1
|
|
|
1c6a061 |
- First experimental build.
|