3 %bcond_without tests # do not perform "make test"
7 Summary: Math::Geometry - geometry related functions
8 Summary(pl.UTF-8): Math::Geometry - funkcje związane z geometrią
9 Name: perl-Math-Geometry
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: bc05acfb1b8ddcc3bb869f0df13ea15b
16 URL: http://search.cpan.org/dist/Math-Geometry/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Math-Matrix
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This package implements classic geometry methods.
28 %description -l pl.UTF-8
29 Ten pakiet zawiera implementacje klasycznych metod geometrycznych.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} -pi -e '$.==1&&s|/usr/local/|/usr/|' Geometry.pm
36 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/Math/Geometry.pm