From 7870b6f192205f211c02844b8356401f30cbb279 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 17:29:43 +0300 Subject: [PATCH] import mesa-libGLU-9.0.3-6.el10 --- .gitignore | 1 + .mesa-libGLU.metadata | 1 + SOURCES/make-git-snapshot.sh | 22 +++++ SPECS/mesa-libGLU.spec | 155 +++++++++++++++++++++++++++++++++++ 4 files changed, 179 insertions(+) create mode 100644 .gitignore create mode 100644 .mesa-libGLU.metadata create mode 100755 SOURCES/make-git-snapshot.sh create mode 100644 SPECS/mesa-libGLU.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96dee8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/glu-9.0.3.tar.xz diff --git a/.mesa-libGLU.metadata b/.mesa-libGLU.metadata new file mode 100644 index 0000000..6c4ee0b --- /dev/null +++ b/.mesa-libGLU.metadata @@ -0,0 +1 @@ +974bda7f4cdc6b2742ab7e85b83ba10c47fb8afa SOURCES/glu-9.0.3.tar.xz diff --git a/SOURCES/make-git-snapshot.sh b/SOURCES/make-git-snapshot.sh new file mode 100755 index 0000000..bfdfc6f --- /dev/null +++ b/SOURCES/make-git-snapshot.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# Usage: ./make-git-snapshot.sh [COMMIT] +# +# to make a snapshot of the given tag/branch. Defaults to HEAD. +# Point env var REF to a local mesa repo to reduce clone time. + +DIRNAME=glu-$( date +%Y%m%d ) + +echo REF ${REF:+--reference $REF} +echo DIRNAME $DIRNAME +echo HEAD ${1:-HEAD} + +rm -rf $DIRNAME + +git clone ${REF:+--reference $REF} \ + git://git.freedesktop.org/git/mesa/glu $DIRNAME + +GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \ + | xz > $DIRNAME.tar.xz + +# rm -rf $DIRNAME diff --git a/SPECS/mesa-libGLU.spec b/SPECS/mesa-libGLU.spec new file mode 100644 index 0000000..bbcbf90 --- /dev/null +++ b/SPECS/mesa-libGLU.spec @@ -0,0 +1,155 @@ +Name: mesa-libGLU +Version: 9.0.3 +Release: 6%{?dist} +Summary: Mesa libGLU library + +License: X11 +URL: http://mesa3d.org/ +Source0: https://ftp.freedesktop.org/pub/mesa/glu/glu-%{version}.tar.xz +Source2: make-git-snapshot.sh + +BuildRequires: gcc-c++ +BuildRequires: libglvnd-devel +BuildRequires: mesa-libGL-devel +BuildRequires: meson +Provides: libGLU + +%description +Mesa implementation of the standard GLU OpenGL utility API. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Provides: libGLU-devel + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -p1 -n glu-%{version} + +%build +%meson -Dgl_provider=glvnd +%meson_build + +%install +%meson_install +find $RPM_BUILD_ROOT -name '*.a' -delete + +%ldconfig_scriptlets + +%files +%{_libdir}/libGLU.so.1 +%{_libdir}/libGLU.so.1.3.* + +%files devel +%{_includedir}/GL/glu*.h +%{_libdir}/libGLU.so +%{_libdir}/pkgconfig/glu.pc + +%changelog +* Mon Jun 24 2024 Troy Dawson - 9.0.3-6 +- Bump release for June 2024 mass rebuild + +* Tue May 21 2024 José Expósito - 9.0.3-5 +- Rebuilt without gl-manpages + +* Thu Jan 25 2024 Fedora Release Engineering - 9.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 9.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Sep 07 2023 José Expósito - 9.0.3-2 +- SPDX Migration + +* Sun Jul 23 2023 Peter Robinson - 9.0.3-1 +- Update to 9.0.3 +- Move to meson build +- Set gl_provider to libglvnd + +* Thu Jul 20 2023 Fedora Release Engineering - 9.0.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 9.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 9.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 9.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 9.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 9.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 9.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 9.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Peter Robinson 9.0.1-1 +- libGLU 9.0.1 + +* Fri Feb 01 2019 Fedora Release Engineering - 9.0.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 9.0.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 29 2018 Adam Jackson - 9.0.0-15 +- Use ldconfig scriptlet macros + +* Thu Feb 08 2018 Fedora Release Engineering - 9.0.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 9.0.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 9.0.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 9.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 9.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 9.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 9.0.0-8 +- Rebuilt for GCC 5 C++11 ABI change + +* Sun Aug 17 2014 Fedora Release Engineering - 9.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 9.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 21 2014 Adam Jackson 9.0.0-5 +- Always autoreconf to pick up patch changes (#1070602) + +* Mon Dec 09 2013 Adam Jackson 9.0.0-4 +- Sync with git (#1011823) + +* Sat Aug 03 2013 Fedora Release Engineering - 9.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 9.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Sep 18 2012 Adam Jackson 9.0.0-1 +- libGLU 9.0 + +* Mon Sep 10 2012 Dave Airlie 9.0-0.2 +- add back libGLU provides for now + +* Tue Sep 04 2012 Adam Jackson 9.0-0.1 +- Initial packaging for split libGLU +