commit f723fad9f28809e11e358b5e5f3a0f3b75a7604399c221e30a79a857f24bbf48 Author: Philipp Thomas Date: Thu Oct 24 09:26:40 2013 +0000 osc copypac from project:KDE:KDE3 package:gts revision:27 OBS-URL: https://build.opensuse.org/package/show/graphics/gts?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gts-0.7.6.tar.bz2 b/gts-0.7.6.tar.bz2 new file mode 100644 index 0000000..c76c8ee --- /dev/null +++ b/gts-0.7.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f9bfe49828cef1fb9bb712cfc3200ad5e4239dfc30bb3088fb294b4754bfb3e +size 727747 diff --git a/gts.changes b/gts.changes new file mode 100644 index 0000000..77a4bd6 --- /dev/null +++ b/gts.changes @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +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. + diff --git a/gts.spec b/gts.spec new file mode 100644 index 0000000..f42594f --- /dev/null +++ b/gts.spec @@ -0,0 +1,119 @@ +# +# spec file for package gts (0.7.6) +# +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. + +%define soname 0_7-5 + +Name: gts +Version: 0.7.6 +Release: 1 +Summary: GNU Triangulated Surface Library (GTS) +#Source: http://optusnet.dl.sourceforge.net/sourceforge/gts/gts-%{version}.tar.gz +Source0: %{name}-%{version}.tar.bz2 +URL: http://gts.sourceforge.net/ +Group: System/Libraries +License: GPL +BuildRequires: autoconf libtool +BuildRequires: automake +BuildRequires: glib2-devel +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libstdc++-devel +BuildRequires: libnetpbm-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: libgts-%{soname} = %{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 libgts-%{soname} +Summary: GTS Libraries +Group: Development/Libraries/C and C++ + + +%description -n libgts-%{soname} +This package provides libgst libraries + + +%package devel +Summary: Development files and documentation for GTS +Group: Development/Libraries/C and C++ +Requires: glib2-devel +Requires: gcc +Requires: gcc-c++ +Requires: %{name} = %{version} + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%prep +%setup -q -n "gts-%{version}" +%{?suse_update_config:%{suse_update_config -f}} + +%build +%{configure} --inc='/usr/include -I/usr/include/netpbm' + +%__make %{?jobs:-j%{jobs}} + +%install +%{makeinstall} + +%__rm %{buildroot}/%{_libdir}/*.a +%__rm -rf '%{buildroot}/usr/include -I' + +%post -n libgts-%{soname} -p /sbin/ldconfig + +%postun -n libgts-%{soname} -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 + +%files -n libgts-%{soname} +%defattr(-,root,root) +%{_libdir}/libgts-0.7.so.5 +%{_libdir}/libgts-0.7.so.5.0.1 + +%files devel +%defattr(-,root,root) +#%{_includedir}/*.h +#%if %suse_version < 1230 +%{_bindir}/happrox +#%endif +%{_libdir}/libgts.la +%{_libdir}/libgts.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/aclocal/*.m4 + +%changelog