From f68ae0c178b268987876325c5985276b0819511bd3b9d4cfcc60516086e76149 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 24 Jul 2023 09:33:56 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/glu?expand=0&rev=26 --- glu-9.0.2.tar.xz | 3 --- glu-9.0.3.tar.xz | 3 +++ glu.changes | 13 +++++++++++++ glu.spec | 14 +++++--------- 4 files changed, 21 insertions(+), 12 deletions(-) delete mode 100644 glu-9.0.2.tar.xz create mode 100644 glu-9.0.3.tar.xz diff --git a/glu-9.0.2.tar.xz b/glu-9.0.2.tar.xz deleted file mode 100644 index b9bc930..0000000 --- a/glu-9.0.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4 -size 436176 diff --git a/glu-9.0.3.tar.xz b/glu-9.0.3.tar.xz new file mode 100644 index 0000000..f6daed9 --- /dev/null +++ b/glu-9.0.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f +size 218968 diff --git a/glu.changes b/glu.changes index 6045324..f3e8147 100644 --- a/glu.changes +++ b/glu.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jul 24 09:17:26 UTC 2023 - Stefan Dirsch + +- 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 diff --git a/glu.spec b/glu.spec index f9cfeeb..192cdf1 100644 --- a/glu.spec +++ b/glu.spec @@ -18,7 +18,7 @@ Name: glu %define lname libGLU1 -Version: 9.0.2 +Version: 9.0.3 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: libtool +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(gl) @@ -88,15 +88,11 @@ compiling programs with GLU. %setup -q %build -if [ ! -e configure ]; then - NOCONFIGURE=1 ./autogen.sh; -fi; -%configure --disable-static -make %{?_smp_mflags} +%meson -Ddefault_library=shared +%meson_build %install -make install DESTDIR="%buildroot" -rm -f "%buildroot/%_libdir"/*.la +%meson_install %post -n %lname -p /sbin/ldconfig