Sync from SUSE:SLFO:Main gts revision 28ddadc9a6ffb1a2e69d14eb3ebd7833

This commit is contained in:
Adrian Schröter 2024-05-03 13:28:29 +02:00
commit b44b76245b
4 changed files with 222 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
gts-snapshot-121130.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

60
gts.changes Normal file
View File

@ -0,0 +1,60 @@
-------------------------------------------------------------------
Wed May 27 09:38:23 UTC 2015 - aj@ajaissle.de
- Uppercase rpm group
-------------------------------------------------------------------
Thu Nov 7 13:55:48 CET 2013 - pth@suse.de
- Remove bogus requirement of gcc-c++ and libstdc++. Use a macro for the
- snapshot date. modify the Description of the devel package.
-------------------------------------------------------------------
Tue Oct 29 18:16:50 UTC 2013 - cdenicolo@suse.com
- license update: LGPL-2.0+
license is LGPL-2.0 or later
-------------------------------------------------------------------
Fri Oct 25 15:59:22 UTC 2013 - mrdocs@opensuse.org
- fix build on SLES
-------------------------------------------------------------------
Fri Oct 25 14:20:37 UTC 2013 - tchvatal@suse.com
- Use snapshot with latest VCS version rather than release that
was from 2007.
* Fixes various build issues
* Provides manpages for most binaries
-------------------------------------------------------------------
Thu Oct 24 11:18:48 CEST 2013 - pth@suse.de
- Clone package from KDE:KDE3.
- Submit to Factory as it's needed for graphviz-smyrna.
- Pass include direrctories in AM_CPPFLAGS instead of by
--includedir.
- Add the gts headers to the devel package.
- Add copyright to spec file.
-------------------------------------------------------------------
Thu Nov 4 20:09:36 UTC 2010 - malcolmlewis@opensuse.org
- Fix broken Requires
-------------------------------------------------------------------
Thu Nov 4 18:08:11 UTC 2010 - malcolmlewis@opensuse.org
- Clean up spec file for OBS
-------------------------------------------------------------------
Sun Sep 28 00:00:00 CDT 2008 - andrea@links2linux.de
- complete spec rewrite
-------------------------------------------------------------------
Sat Jan 13 00:00:00 CST 2007 - dsbhayangkara@gmail.com
- initial package.

136
gts.spec Normal file
View File

@ -0,0 +1,136 @@
#
# spec file for package gts
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
%define libname libgts-0_7-5
%define snapshot_date 121130
Name: gts
Version: 0.7.6_p20%{snapshot_date}
Release: 0
Summary: GNU Triangulated Surface Library (GTS)
License: LGPL-2.0+
Group: Development/Libraries/C and C++
Source0: http://%{name}.sourceforge.net/tarballs/%{name}-snapshot-%{snapshot_date}.tar.gz
Url: http://gts.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: glib2-devel
BuildRequires: libnetpbm-devel
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{libname} = %{version}
%description
GTS stands for the GNU Triangulated Surface Library. It is an Open
Source Free Software Library intended to provide a set of useful
functions to deal with 3D surfaces meshed with interconnected
triangles.
A brief summary of its main features:
* Simple object-oriented structure giving easy access to topological
properties.
* 2D dynamic Delaunay and constrained Delaunay triangulations.
* Robust geometric predicates (orientation, in circle) using fast
adaptive floating point arithmetic (adapted from the fine work of
Jonathan R. Shewchuk).
* Robust set operations on surfaces (union, intersection, difference).
* Surface refinement and coarsening (multiresolution models).
* Dynamic view-independent continuous level-of-detail.
* Preliminary support for view-dependent level-of-detail.
* Bounding-boxes trees and Kd-trees for efficient point location and
collision/intersection detection.
* Graph operations: traversal, graph partitioning.
* Metric operations (area, volume, curvature ...).
* Triangle strips generation for fast rendering.
%package -n %{libname}
Summary: GTS Runtime Library
Group: System/Libraries
%description -n %{libname}
This package provides the GTS runtime library.
%package devel
Summary: Development files and documentation for GTS
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: %{name} = %{version}
Requires: gcc
Requires: gcc-c++
Requires: glib2-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that use GTS.
%prep
%setup -q -n %{name}-snapshot-%{snapshot_date}
%{?suse_update_config:%{suse_update_config -f}}
%build
%configure \
--disable-static
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}/%{_libdir}/*.la
# Seems to fail randomly
#%%check
#chmod +x test/*/*.sh
#make check
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/delaunay
%{_bindir}/gts2dxf
%{_bindir}/gts2oogl
%{_bindir}/gts2stl
%{_bindir}/gtscheck
%{_bindir}/gts-config
%{_bindir}/gtscompare
%{_bindir}/gtstemplate
%{_bindir}/stl2gts
%{_bindir}/transform
%{_bindir}/gts2xyz
%{_mandir}/man1/*
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libgts-0.7.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/gts.h
%{_includedir}/gtsconfig.h
%{_bindir}/happrox
%{_libdir}/libgts.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/aclocal/*.m4
%changelog