9.0.3, move to meson, Set gl_provider to libglvnd, cleanups

This commit is contained in:
Peter Robinson 2023-07-23 21:33:18 +01:00
parent 2ff09346f9
commit 4af9382934
3 changed files with 17 additions and 22 deletions

4
.gitignore vendored
View File

@ -1,3 +1 @@
/libGLU-20120904.tar.xz
/glu-9.0.0.tar.bz2
/glu-9.0.1.tar.xz
/glu-9*.tar.xz

View File

@ -1,8 +1,6 @@
#define gitdate 20120904
Name: mesa-libGLU
Version: 9.0.1
Release: 9%{?dist}
Version: 9.0.3
Release: 1%{?dist}
Summary: Mesa libGLU library
License: MIT
@ -10,11 +8,10 @@ URL: http://mesa3d.org/
Source0: https://ftp.freedesktop.org/pub/mesa/glu/glu-%{version}.tar.xz
Source2: make-git-snapshot.sh
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: autoconf automake libtool
BuildRequires: libglvnd-devel
BuildRequires: mesa-libGL-devel
#Requires:
BuildRequires: meson
Provides: libGLU
%description
@ -31,22 +28,17 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n glu-%{?gitdate:%{gitdate}}%{?!gitdate:%{version}}
%autosetup -p1 -n glu-%{version}
%build
autoreconf -v -i -f
%configure --disable-static
%make_build
make %{?_smp_mflags}
%meson -Dgl_provider=glvnd
%meson_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -delete
rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
%meson_install
find $RPM_BUILD_ROOT -name '*.a' -delete
%ldconfig_post
%ldconfig_postun
%ldconfig_scriptlets
%files
%{_libdir}/libGLU.so.1
@ -58,6 +50,11 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
%{_libdir}/pkgconfig/glu.pc
%changelog
* Sun Jul 23 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 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 <releng@fedoraproject.org> - 9.0.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (glu-9.0.1.tar.xz) = 8a6dae5b4bd63efb96d15f23ccda4ad9c2ffaa964897e5fa63d1e58360d8d4e6732c5efd2109dba04155d5fc457ab1718a65cf9b544ce0d452679ba988d04018
SHA512 (glu-9.0.3.tar.xz) = b2781059c0e176192c3fc0d7244645020937a463311171efddb9f35fb94ee43faabcf627fa7f429d48fceaf6dd9c5adb69c86c7a21ec4ea490f4ab143d52e3ba