diff --git a/OpenGL-0.70.tar.gz b/OpenGL-0.70.tar.gz deleted file mode 100644 index 99a3063..0000000 --- a/OpenGL-0.70.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f0c01f5116717a17477224c763bce734e259f200eebd66d44249ab0541c658f -size 779414 diff --git a/OpenGL-0.7006.tar.gz b/OpenGL-0.7006.tar.gz new file mode 100644 index 0000000..a51a63d --- /dev/null +++ b/OpenGL-0.7006.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69a1587213b7f414e5a2a7c2899f31b91fd681c055a2cee23ac4db932d67d557 +size 778332 diff --git a/perl-OpenGL.changes b/perl-OpenGL.changes index ccbac24..1ac6cea 100644 --- a/perl-OpenGL.changes +++ b/perl-OpenGL.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 14 11:47:47 UTC 2025 - Tina Müller + +- updated to 0.700.600 (0.7006) + see /usr/share/doc/packages/perl-OpenGL/Changes + ------------------------------------------------------------------- Thu Mar 20 17:22:31 UTC 2025 - Tina Müller diff --git a/perl-OpenGL.spec b/perl-OpenGL.spec index ce6ad6c..eddfb11 100644 --- a/perl-OpenGL.spec +++ b/perl-OpenGL.spec @@ -1,7 +1,7 @@ # # spec file for package perl-OpenGL # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,40 @@ # -Name: perl-OpenGL -Version: 0.70 -Release: 0 -#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name OpenGL -Summary: Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT +Name: perl-OpenGL +Version: 0.700.600 +Release: 0 +# 0.7006 -> normalize -> 0.700.600 +%define cpan_version 0.7006 +#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -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: OpenGL-0.70.tar.gz +Summary: Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/E/ET/ETJ/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md Patch0: 0001-Don-t-check-current-display-for-extensions.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Test::More) >= 0.88 +Provides: perl(OpenGL) = %{version} +Provides: perl(OpenGL::Array) = 0.710.100 +Provides: perl(OpenGL::Const) = 0.700.300 +Provides: perl(OpenGL::GLU) = 0.700.300 +Provides: perl(OpenGL::GLUT) = 0.720.200 +Provides: perl(OpenGL::GLX) = 0.700.300 +Provides: perl(OpenGL::Matrix) = 0.700.300 +Provides: perl(OpenGL::Shader) = 1.20.0 +Provides: perl(OpenGL::Shader::ARB) = 1.20.0 +Provides: perl(OpenGL::Shader::CG) = 1.20.0 +Provides: perl(OpenGL::Shader::Common) = 1.20.0 +Provides: perl(OpenGL::Shader::GLSL) = 1.20.0 +Provides: perl(OpenGL::Shader::Objects) = 1.20.0 +Provides: perl(OpenGL::V1) = 0.700.300 +Provides: perl(OpenGL::V2) = 0.700.300 +Provides: perl(OpenGL::V3) = 0.700.300 +%undefine __perllib_provides %{perl_requires} # MANUAL BEGIN %if 0%{suse_version} >= 1500 @@ -49,8 +66,9 @@ BuildRequires: pkgconfig(xmu) Perl bindings to the OpenGL API, GLU, and GLUT/FreeGLUT %prep -%autosetup -p1 -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 # MANUAL BEGIN find include -type f \! -name glprocs.h -exec rm {} + # MANUAL END @@ -71,7 +89,6 @@ xvfb-run -a -s "+extension GLX -screen 0 1280x1024x24" %{__make} test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc CHANGES COPYRIGHT examples fragment.arb fragment.cg fragment.glsl isosurf.bin KNOWN_PROBLEMS README Release_Notes SUPPORTS test.jpg test.tga TODO vertex.arb vertex.cg vertex.glsl +%doc Changes COPYRIGHT examples isosurf.bin KNOWN_PROBLEMS README SUPPORTS test.jpg test.tga TODO %changelog