Projects
Eulaceura:Factory
perl-Math-ConvexHull-MonotoneChain
_service:obs_scm:perl-Math-ConvexHull-MonotoneC...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Math-ConvexHull-MonotoneChain.spec of Package perl-Math-ConvexHull-MonotoneChain
%global _empty_manifest_terminate_build 0 Name: perl-Math-ConvexHull-MonotoneChain Version: 0.01 Release: 1 Summary: Andrew's monotone chain algorithm for finding a convex hull in 2D License: GPL-1.0-only or Artistic-1.0-Perl Group: Development/Libraries URL: https://metacpan.org/dist/Math-ConvexHull-MonotoneChain Source0: https://cpan.csail.mit.edu/modules/by-module/Math/Math-ConvexHull-MonotoneChain-%{version}.tar.gz BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test::More) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This (XS) module optionally exports a single function convex_hull which calculates the convex hull of the input points and returns it. The algorithm is O(n log n) due to having to sort the input list, but should be somewhat faster than a plain Graham's scan (also O(n log n)) in practice since it avoids polar coordinates. %package help Summary: Andrew's monotone chain algorithm for finding a convex hull in 2D Provides: perl-Math-ConvexHull-MonotoneChain %description help This (XS) module optionally exports a single function convex_hull which calculates the convex hull of the input points and returns it. The algorithm is O(n log n) due to having to sort the input list, but should be somewhat faster than a plain Graham's scan (also O(n log n)) in practice since it avoids polar coordinates. %prep %setup -q -n Math-ConvexHull-MonotoneChain-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes META.yml %{perl_vendorarch}/* %{_mandir}/man3/* %changelog * Tue Feb 20 2024 woody2918 <wudi1@uniontech.com> - 0.01-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2