Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37570172
en ru br
ALT Linux repos
S:0.1.0-alt2.1

Group :: System/Libraries
RPM: libpoly2tri-c

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _name poly2tri-c
%define ver_major 0.1
%define api_ver %ver_major

Name: lib%_name
Version: %ver_major.0
Release: alt2

Summary: A 2D constrained Delaunay triangulation library
Group: System/Libraries
License: BSD
Url: http://code.google.com/p/%_name/
#VCS: https://code.google.com/p/poly2tri-c/
Source: %_name-%version.tar

BuildRequires: glib2-devel >= 2.28

%description
Poly2Tri-C: A library for generating, refining and rendering
2-Dimensional Constrained Delaunay Triangulations

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

%description devel
Development files for %name.

%prep
%setup -n %_name-%version

%build
# with gcc5 produce error: ISO C does not support '__FUNCTION__' predefined identifier
sed -i 's/-pedantic//' configure.ac
%autoreconf
%configure --disable-static
%make

%install
%makeinstall_std

%files
%_bindir/p2tc
%_libdir/%name-%api_ver.so.*
%doc LICENSE* README

%files devel
%_includedir/%_name-%api_ver/
%_libdir/%name-%api_ver.so
%_pkgconfigdir/%_name.pc

%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