Sync from SUSE:SLFO:Main glu revision a1dab57d6cfd16de4ceb9bbb55677f71

This commit is contained in:
Adrian Schröter 2024-05-03 12:56:16 +02:00
commit d58f5720ad
5 changed files with 225 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

9
baselibs.conf Normal file
View File

@ -0,0 +1,9 @@
libGLU1
provides "Mesa-libGLU1-<targettype> = 8.0.98.25"
obsoletes "Mesa-libGLU1-<targettype> < 8.0.98.25"
glu-devel
requires -glu-<targettype>
requires "libGLU1-<targettype> = <version>"
provides "Mesa-libGLU-devel-<targettype> = 8.0.98.25"
obsoletes "Mesa-libGLU-devel-<targettype> < 8.0.98.25"

BIN
glu-9.0.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

75
glu.changes Normal file
View File

@ -0,0 +1,75 @@
-------------------------------------------------------------------
Sun Jan 8 12:42:47 UTC 2023 - Gordon Leung <pirateclip@protonmail.com>
- amend SUSE-SGI-FreeB-2.0 to SPDX's SGI-B-2.0
-------------------------------------------------------------------
Fri Jun 25 08:39:44 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- 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 <sndirsch@suse.com>
- 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)

115
glu.spec Normal file
View File

@ -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