Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37734787
en ru br
ALT Linux repositórios
S:0.1.0-alt2.1

Group :: Sistema/Bibliotecas
RPM: libpoly2tri-c

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009