forked from pool/tinyobjloader
Accepting request 913734 from home:mnhauke
- Update to version 2.0.0rc8+git.20210821:
* Add new object oriented API. 1.x API is still provided.
* Support line primitive.
* Support points primitive.
* Support multiple search path for .mtl(v1 API).
* Support vertex weight `vw`(as an tinyobj extension)
* Support escaped whitespece in mtllib
* Add robust triangulation using Mapbox
earcut(TINYOBJLOADER_USE_MAPBOX_EARCUT).
* Fix CVE-2020-28589: tinyobjloader: An improper array index
validation could lead to code execution.
OBS-URL: https://build.opensuse.org/request/show/913734
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyobjloader?expand=0&rev=4
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#
|
||||
# spec file for package tinyobjloader
|
||||
#
|
||||
# Copyright (c) 2018, Martin Hauke <mardnh@gmx.de>
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2018-2021, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,20 +13,20 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define sover 1
|
||||
%define sover 2
|
||||
%define lname libtinyobjloader%{sover}
|
||||
Name: tinyobjloader
|
||||
Version: 1.0.6
|
||||
Version: 2.0.0rc8+git.20210821
|
||||
Release: 0
|
||||
Summary: Wavefront .obj file loader
|
||||
License: MIT
|
||||
Group: Development/Languages/C and C++
|
||||
URL: https://github.com/syoyo/tinyobjloader
|
||||
Source: https://github.com/syoyo/tinyobjloader/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch0: tinyobjloader-fix-cmake-path.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
Reference in New Issue
Block a user