|
|
|
@ -1,17 +1,21 @@
|
|
|
|
|
%global __cmake_in_source_build 1
|
|
|
|
|
Summary: A freely licensed alternative to the GLUT library
|
|
|
|
|
Name: freeglut
|
|
|
|
|
Version: 3.0.0
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 3.2.1
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
URL: http://freeglut.sourceforge.net
|
|
|
|
|
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
# For the manpages
|
|
|
|
|
Source1: https://downloads.sourceforge.net/openglut/openglut-0.6.3-doc.tar.gz
|
|
|
|
|
Patch0: common.patch
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: pkgconfig libGLU-devel libXext-devel libXxf86vm-devel
|
|
|
|
|
BuildRequires: libXi-devel libICE-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
# The virtual Provides below is present so that this freeglut package is a
|
|
|
|
|
# drop in binary replacement for "glut" which will satisfy rpm dependancies
|
|
|
|
|
# properly. The Obsoletes tag is required in order for any pre-existing
|
|
|
|
@ -34,7 +38,6 @@ joystick functions.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Freeglut developmental libraries and header files
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: libGL-devel libGLU-devel
|
|
|
|
|
Provides: glut-devel = 3.7
|
|
|
|
@ -49,6 +52,7 @@ license.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -a 1
|
|
|
|
|
%patch0 -p0
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{cmake} -DFREEGLUT_BUILD_STATIC_LIBS=OFF .
|
|
|
|
@ -62,25 +66,63 @@ mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3
|
|
|
|
|
install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc AUTHORS ChangeLog COPYING README doc/*.png doc/*.html
|
|
|
|
|
# don't include contents of doc/ directory as it is mostly obsolete
|
|
|
|
|
%{_libdir}/libglut.so.3*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_includedir}/GL/*.h
|
|
|
|
|
%{_libdir}/libglut.so
|
|
|
|
|
%{_libdir}/pkgconfig/freeglut.pc
|
|
|
|
|
%{_libdir}/pkgconfig/glut.pc
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%{_libdir}/cmake/FreeGLUT/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.2.1-9
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.2.1-8
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 04 2020 Gwyn Ciesla <gwync@protonmail.com> - 3.2.1-6
|
|
|
|
|
- Fix FTBFS.
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-5
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Gwyn Ciesla <gwync@protonmail.com> - 3.2.1-3
|
|
|
|
|
- Fix FTBFS
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Sep 30 2019 Gwyn Ciesla <gwync@protonmail.com> - 3.2.1-1
|
|
|
|
|
- 3.2.1
|
|
|
|
|
|
|
|
|
|
* Tue Sep 17 2019 Gwyn Ciesla <gwync@protonmail.com> - 3.2.0-1
|
|
|
|
|
- 3.2.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 01 2018 Adam Jackson <ajax@redhat.com> - 3.0.0-8
|
|
|
|
|
- HTTPS URLs
|
|
|
|
|
- Pin soname to libglut.so.3 in the %%files glob
|
|
|
|
|