forked from pool/perl-OpenGL
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
824fa7c270 | |||
4e65dedf0c |
@@ -1,13 +1,12 @@
|
|||||||
# http://pkgs.fedoraproject.org/cgit/perl-OpenGL.git/tree/
|
# http://pkgs.fedoraproject.org/cgit/perl-OpenGL.git/tree/
|
||||||
patches:
|
patches:
|
||||||
0001-Don-t-check-current-display-for-extensions.patch: -p1
|
0001-Don-t-check-current-display-for-extensions.patch: -p1
|
||||||
OpenGL-0.6704-Prefer-system-GL-gl.h-on-non-Win32.patch: -p1
|
|
||||||
OpenGL-0.6704-Delete-functions-removed-from-Mesa.patch: -p1
|
|
||||||
preamble: |-
|
preamble: |-
|
||||||
%if 0%{suse_version} >= 1500
|
%if 0%{suse_version} >= 1500
|
||||||
BuildRequires: Mesa-dri
|
BuildRequires: Mesa-dri
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: freeglut-devel
|
BuildRequires: freeglut-devel
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: xvfb-run
|
BuildRequires: xvfb-run
|
||||||
BuildRequires: pkgconfig(xi)
|
BuildRequires: pkgconfig(xi)
|
||||||
BuildRequires: pkgconfig(xmu)
|
BuildRequires: pkgconfig(xmu)
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 20 17:22:31 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Fix cpanspec.yaml (it had entries that weren't used in the spec, and
|
||||||
|
entries were missing that were used in the spec)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 4 13:57:05 UTC 2024 - pgajdos@suse.com
|
Mon Mar 4 13:57:05 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-OpenGL
|
# spec file for package perl-OpenGL
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -22,9 +22,9 @@ Release: 0
|
|||||||
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||||
%define cpan_name OpenGL
|
%define cpan_name OpenGL
|
||||||
Summary: Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT
|
Summary: Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/OpenGL/
|
URL: http://search.cpan.org/dist/OpenGL/
|
||||||
#Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.70.tar.gz # modified by pre_checkin.sh
|
#Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.70.tar.gz # modified by pre_checkin.sh
|
||||||
Source0: OpenGL-0.70.tar.gz
|
Source0: OpenGL-0.70.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
@@ -60,6 +60,7 @@ find include -type f \! -name glprocs.h -exec rm {} +
|
|||||||
# implementation, let us just ignore them.
|
# implementation, let us just ignore them.
|
||||||
sed 's/PERL_DL_NONLAZY=1//' -i Makefile
|
sed 's/PERL_DL_NONLAZY=1//' -i Makefile
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
xvfb-run -a -s "+extension GLX -screen 0 1280x1024x24" %{__make} test
|
xvfb-run -a -s "+extension GLX -screen 0 1280x1024x24" %{__make} test
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user