From d58f5720ad2a1aea287ec4252daac1a0616a1f7e724e0bf495b25a5bbe6579e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 12:56:16 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main glu revision a1dab57d6cfd16de4ceb9bbb55677f71 --- .gitattributes | 23 ++++++++++ baselibs.conf | 9 ++++ glu-9.0.2.tar.xz | 3 ++ glu.changes | 75 +++++++++++++++++++++++++++++++ glu.spec | 115 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 glu-9.0.2.tar.xz create mode 100644 glu.changes create mode 100644 glu.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..2fcaeed --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,9 @@ +libGLU1 + provides "Mesa-libGLU1- = 8.0.98.25" + obsoletes "Mesa-libGLU1- < 8.0.98.25" + +glu-devel + requires -glu- + requires "libGLU1- = " + provides "Mesa-libGLU-devel- = 8.0.98.25" + obsoletes "Mesa-libGLU-devel- < 8.0.98.25" diff --git a/glu-9.0.2.tar.xz b/glu-9.0.2.tar.xz new file mode 100644 index 0000000..b9bc930 --- /dev/null +++ b/glu-9.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4 +size 436176 diff --git a/glu.changes b/glu.changes new file mode 100644 index 0000000..6045324 --- /dev/null +++ b/glu.changes @@ -0,0 +1,75 @@ +------------------------------------------------------------------- +Sun Jan 8 12:42:47 UTC 2023 - Gordon Leung + +- amend SUSE-SGI-FreeB-2.0 to SPDX's SGI-B-2.0 + +------------------------------------------------------------------- +Fri Jun 25 08:39:44 UTC 2021 - Stefan Dirsch + +- Update to version 9.0.2 + * bugfix release +- supersedes u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch + +------------------------------------------------------------------- +Wed Jul 24 10:42:00 UTC 2019 - Stefan Dirsch + +- Update to version 9.0.1 + * libutils/mipmap.c: Fixed possible memory leak + * pkgconfig: Include -I path for glu itself + * Remove all uses of the register keyword. + * Add -D(N)DEBUG to CFLAGS dependent on --enable-debug + * libutil: Include stddef.h for NULL + * glu: initialize PriorityQ::order field to NULL in pqNewPriorityQ() +- supersedes U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch + +------------------------------------------------------------------- +Mon May 29 14:36:30 UTC 2017 - sndirsch@suse.com + +- includes everything needed for missing sle issue entries: + fate #315643-315645, 319159-319161, 319618 (bsc#1041327) + +------------------------------------------------------------------- +Tue Jul 12 06:17:18 UTC 2016 - eich@suse.com + +- U_Add-D-N-DEBUG-to-CFLAGS-dependent-on-enable-debug.patch + u_autoconf-Don-t-modify-CFLAGS-in-configure-scripts.patch + Avoid debug messages being printed out at runtime (bsc#988411). + +------------------------------------------------------------------- +Mon Oct 27 08:44:08 UTC 2014 - sndirsch@suse.com + +- fixed buildrequires: pkgconfig(dri) -> pkgconfig(gl) +- added baselibs.conf as source to specfile + +------------------------------------------------------------------- +Sun Feb 17 17:21:53 UTC 2013 - jengelh@inai.de + +- Use more robust make install call + +------------------------------------------------------------------- +Sat Oct 20 21:33:12 UTC 2012 - jengelh@inai.de + +- Add Obsoletes/Provides for Mesa-libGLU1 +- Avoid running configure twice + +------------------------------------------------------------------- +Fri Sep 21 09:36:54 UTC 2012 - sndirsch@suse.com + +- fixed and simplified BuildRequires + +------------------------------------------------------------------- +Tue Sep 18 09:10:00 UTC 2012 - cfarrell@suse.com + +- license update: SUSE-SGI-FreeB-2.0 + SGI-FreeB-2.0 is MIT with an advertising clause at the bottom + +------------------------------------------------------------------- +Tue Sep 18 09:02:58 UTC 2012 - coolo@suse.com + +- rename to glu and use "official" git snapshot + +------------------------------------------------------------------- +Mon Sep 3 09:38:51 UTC 2012 - sndirsch@suse.com + +- created package (since GLU has been split out from Mesa) + diff --git a/glu.spec b/glu.spec new file mode 100644 index 0000000..f9cfeeb --- /dev/null +++ b/glu.spec @@ -0,0 +1,115 @@ +# +# spec file for package glu +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: glu +%define lname libGLU1 +Version: 9.0.2 +Release: 0 +Summary: OpenGL utility library +License: SGI-B-2.0 +Group: Development/Libraries/C and C++ +URL: http://cgit.freedesktop.org/mesa/glu/ + +#Git-Clone: git://anongit.freedesktop.org/mesa/glu +#Git-Web: http://cgit.freedesktop.org/mesa/glu/ +Source: https://mesa.freedesktop.org/archive/glu/%{name}-%{version}.tar.xz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gl) + +%description +GLU offers simple interfaces for building mipmaps; checking for the +presence of extensions in the OpenGL (or other libraries which follow +the same conventions for advertising extensions); drawing +piecewise-linear curves, NURBS, quadrics and other primitives +(including, but not limited to, teapots); tesselating surfaces; +setting up projection matrices and unprojecting screen coordinates to +world coordinates. + +%package -n %lname +Summary: OpenGL utility library +# O/P since 12.3. This Obsoletes is special (since glu is in fact Mesa), +# and should not be copy-pasted without review. +Group: System/Libraries +Obsoletes: Mesa-libGLU1 < %version-%release +Provides: Mesa-libGLU1 = %version-%release + +%description -n %lname +GLU offers simple interfaces for building mipmaps; checking for the +presence of extensions in the OpenGL (or other libraries which follow +the same conventions for advertising extensions); drawing +piecewise-linear curves, NURBS, quadrics and other primitives +(including, but not limited to, teapots); tesselating surfaces; +setting up projection matrices and unprojecting screen coordinates to +world coordinates. + +This package provides the SGI implementation of GLU previously shipped +with Mesa, but meanwhile developed separately. + +%package devel +Summary: Development files for the GLU API +Group: Development/Libraries/C and C++ +Requires: %lname = %version +# O/P since 12.3 +Obsoletes: Mesa-libGLU-devel < %version-%release +Provides: Mesa-libGLU-devel = %version-%release + +%description devel +GLU offers simple interfaces for building mipmaps; checking for the +presence of extensions in the OpenGL (or other libraries which follow +the same conventions for advertising extensions); drawing +piecewise-linear curves, NURBS, quadrics and other primitives +(including, but not limited to, teapots); tesselating surfaces; +setting up projection matrices and unprojecting screen coordinates to +world coordinates. + +This package contains includes headers and static libraries for +compiling programs with GLU. + +%prep +%setup -q + +%build +if [ ! -e configure ]; then + NOCONFIGURE=1 ./autogen.sh; +fi; +%configure --disable-static +make %{?_smp_mflags} + +%install +make install DESTDIR="%buildroot" +rm -f "%buildroot/%_libdir"/*.la + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%_libdir/libGLU.so.* + +%files devel +%defattr(-,root,root) +%_includedir/GL +%_libdir/libGLU.so +%_libdir/pkgconfig/glu.pc + +%changelog