Name: perl-Math-ConvexHull Version: 1.04 Release: 3%{?dist} Summary: Calculate convex hulls using Graham's scan (n*log(n)) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Math-ConvexHull/ Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Math-ConvexHull-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(List::Util) BuildRequires: perl(Test::More) BuildRequires: dos2unix Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Math::ConvexHull is a simple module that calculates convex hulls from a set of points in 2D space. It is a straightforward implementation of the algorithm known as Graham's scan which, with complexity of O(n*log(n)), is the fastest known method of finding the convex hull of an arbitrary set of points. There are some methods of eliminating points that cannot be part of the convex hull. These may or may not be implemented in a future version. %prep %setup -q -n Math-ConvexHull-%{version} dos2unix Changes %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Dec 30 2012 Miro Hrončok - 1.04-3 - PERL_INSTALL_ROOT changed to DESTDIR - Using dos2unix instead of sed - Added some remvoed BRs back - Do not filter shared C libs (noarch) * Fri Nov 16 2012 Miro Hrončok - 1.04-2 - Removed BRs provided by perl package * Fri Sep 21 2012 Miro Hrončok 1.04-1 - Specfile autogenerated by cpanspec 1.78 and revision made.