Compare commits

1 Commits
main ... 1.1

4 changed files with 12 additions and 28 deletions

BIN
glu-9.0.2.tar.xz LFS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,22 +1,3 @@
-------------------------------------------------------------------
Fri Aug 4 09:25:19 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- devel package: added missing dep to Mesa GL devel package
(boo#1213976)
-------------------------------------------------------------------
Mon Jul 24 09:17:26 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 9.0.3
* drop autotools
* apple: Fix compatibility version and current version of meson
build to be compatible with autotools build
* pkgconfig: Depend on opengl when built with libglvnd
* pkgconfig: Drop unneeded lines from autotools build
* pkgconfig: meson build should match autotools requires
* Remove deprecated register in C++17
- switch to meson build
-------------------------------------------------------------------
Sun Jan 8 12:42:47 UTC 2023 - Gordon Leung <pirateclip@protonmail.com>

View File

@@ -18,7 +18,7 @@
Name: glu
%define lname libGLU1
Version: 9.0.3
Version: 9.0.2
Release: 0
Summary: OpenGL utility library
License: SGI-B-2.0
@@ -31,7 +31,7 @@ Source: https://mesa.freedesktop.org/archive/glu/%{name}-%{version}.tar.
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gl)
@@ -68,7 +68,6 @@ with Mesa, but meanwhile developed separately.
Summary: Development files for the GLU API
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: pkgconfig(gl)
# O/P since 12.3
Obsoletes: Mesa-libGLU-devel < %version-%release
Provides: Mesa-libGLU-devel = %version-%release
@@ -89,11 +88,15 @@ compiling programs with GLU.
%setup -q
%build
%meson -Ddefault_library=shared
%meson_build
if [ ! -e configure ]; then
NOCONFIGURE=1 ./autogen.sh;
fi;
%configure --disable-static
make %{?_smp_mflags}
%install
%meson_install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig