- Fix build with Octave 9, add

* fix-octave9-line-continuation.patch
- Spec file cleanup

OBS-URL: https://build.opensuse.org/package/show/science/octave-forge-vrml?expand=0&rev=3
This commit is contained in:
Stefan Brüns 2025-01-05 17:22:45 +00:00 committed by Git OBS Bridge
parent 9b912bf90a
commit 0c8cc5d969
3 changed files with 1240 additions and 8 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 1 17:22:32 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix build with Octave 9, add
* fix-octave9-line-continuation.patch
- Spec file cleanup
-------------------------------------------------------------------
Thu Feb 26 16:06:43 UTC 2015 - dmitry_r@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package octave-forge-vrml
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# 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)
# 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/
#
@ -21,23 +21,28 @@ Name: octave-forge-%{octpkg}
Version: 1.0.13
Release: 0
Summary: 3D graphics using VRML for Octave
License: GPL-3.0+
License: GPL-3.0-or-later
Group: Productivity/Scientific/Math
Url: http://octave.sourceforge.net
Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
URL: https://gnu-octave.github.io/packages/vrml/
Source0: https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/%{octpkg}-%{version}.tar.gz
Patch0: https://file.savannah.gnu.org/file/octave-9.patch?file_id=55689#/fix-octave9-line-continuation.patch
BuildRequires: octave-devel
Requires: octave-cli >= 2.9.7
Requires: octave-forge-linear-algebra
Requires: octave-forge-miscellaneous
Requires: octave-forge-struct
Requires: octave-forge-statistics
Requires: octave-forge-struct
BuildArch: noarch
%description
3D graphics using VRML.
This is part of Octave-Forge project.
%prep
%setup -q -c %{name}-%{version}
%setup -c %{name}-%{version}
(cd vrml
%patch -P0 -p1
)
%octave_pkg_src
%build
@ -45,6 +50,7 @@ This is part of Octave-Forge project.
%install
%octave_pkg_install
find %{buildroot} -iname \*.svnignore -ls -delete
%check
%octave_pkg_test
@ -56,7 +62,6 @@ This is part of Octave-Forge project.
%octave --eval "pkg rebuild"
%files
%defattr(-,root,root)
%{octpackages_dir}/%{octpkg}-%{version}
%changelog