Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563522
en ru br
ALT Linux repos
S:1.6-alt7
5.0: 1.6-alt1.M50.1

Group :: Sciences/Mathematics
RPM: triangle

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: triangle
Version: 1.6
Release: alt7
Summary: A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator

License: MIT
Group: Sciences/Mathematics
Url: http://www.netlib.org/voronoi/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: http://www.netlib.org/voronoi/triangle.zip

BuildPreReq: libX11-devel glibc-devel /usr/bin/unzip

%description
Triangle generates exact Delaunay triangulations, constrained Delaunay
triangulations, conforming Delaunay triangulations, Voronoi diagrams, and
high-quality triangular meshes.  The latter can be generated with no small
or large angles, and are thus suitable for finite element analysis.
Show Me graphically displays the contents of the geometric files used by
Triangle.  Show Me can also write images in PostScript form.

Information on the algorithms used by Triangle, including complete
references, can be found in the comments at the beginning of the triangle.c
source file.  Another listing of these references, with PostScript copies
of some of the papers, is available from the Web page

   http://www.cs.cmu.edu/~quake/triangle.research.html

%package -n lib%name
Summary: Triangle shared library
Group: System/Libraries

%description -n lib%name
Triangle generates exact Delaunay triangulations, constrained Delaunay
triangulations, conforming Delaunay triangulations, Voronoi diagrams, and
high-quality triangular meshes.  The latter can be generated with no small
or large angles, and are thus suitable for finite element analysis.
Show Me graphically displays the contents of the geometric files used by
Triangle.  Show Me can also write images in PostScript form.

This package contains Triangle shared library.

%package -n lib%name-devel
Summary: Development files for Triangle library
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
Triangle generates exact Delaunay triangulations, constrained Delaunay
triangulations, conforming Delaunay triangulations, Voronoi diagrams, and
high-quality triangular meshes.  The latter can be generated with no small
or large angles, and are thus suitable for finite element analysis.
Show Me graphically displays the contents of the geometric files used by
Triangle.  Show Me can also write images in PostScript form.

This package contains development files for Triangle library.

%package -n lib%name-devel-static
Summary: Static Triangle library
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
Triangle generates exact Delaunay triangulations, constrained Delaunay
triangulations, conforming Delaunay triangulations, Voronoi diagrams, and
high-quality triangular meshes.  The latter can be generated with no small
or large angles, and are thus suitable for finite element analysis.
Show Me graphically displays the contents of the geometric files used by
Triangle.  Show Me can also write images in PostScript form.

This package contains static Triangle library.

%prep
%setup

%build
%make_build

%install
install -d %buildroot%_bindir
install -d %buildroot%_libdir
install -d %buildroot%_includedir/%name
install -m755 %name showme tricall %buildroot%_bindir
install -m644 *.so* *.a %buildroot%_libdir
install -m644 %name.h %buildroot%_includedir/%name
ln -s lib%name.so.0.0.0 %buildroot%_libdir/lib%name.so.0
ln -s lib%name.so.0 %buildroot%_libdir/lib%name.so

%files
%doc README triangle.c A.poly
%_bindir/*

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/*

#files -n lib%name-devel-static

#_libdir/*.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin