]> git.pld-linux.org Git - packages/perl-Math-Geometry-Planar.git/blame - perl-Math-Geometry-Planar.spec
- updated to 1.17
[packages/perl-Math-Geometry-Planar.git] / perl-Math-Geometry-Planar.spec
CommitLineData
d9786302
JB
1#
2# Conditional build:
6bbf9ce4 3%bcond_with tests # do not perform "make test"
d9786302
JB
4#
5%include /usr/lib/rpm/macros.perl
db2e1e5a 6%define pdir Math
7%define pnam Geometry-Planar
36c1014a 8Summary: Math::Geometry::Planar - a collection of planar geometry functions
2557a638 9Summary(pl.UTF-8): Math::Geometry::Planar - zestaw funkcji do geometrii na płaszczyźnie
d9786302 10Name: perl-Math-Geometry-Planar
c17908bd 11Version: 1.17
12Release: 1
d9786302
JB
13License: Artistic
14Group: Development/Languages/Perl
b4b0c27c 15Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
c17908bd 16# Source0-md5: 9b5c6bbe59e578ac14c975f6d3758666
b4b0c27c 17URL: http://search.cpan.org/dist/Math-Geometry-Planar/
8c373aa1 18BuildRequires: perl-devel >= 1:5.8.0
eab7a84b 19%if %{with tests}
b534e3f3
JB
20BuildRequires: perl-Math-Geometry-Planar-GPC >= 1.04
21BuildRequires: perl-Math-Geometry-Planar-Offset >= 1.00
eab7a84b 22%endif
e095f422 23BuildRequires: rpm-perlprov >= 4.1-13
b534e3f3 24Requires: perl-Math-Geometry-Planar-GPC >= 1.04
6bbf9ce4
ER
25# loop
26#Requires: perl-Math-Geometry-Planar-Offset >= 1.00
d9786302
JB
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This module provides a set of 2D polygon, line and line segment
32operations. The module also uses the GPC module for polygon clipping
33operaions.
34
7642c4fd
JR
35%description -l pl.UTF-8
36Ten moduł udostępnia zestaw operacji na wielokątach 2D, liniach i
37odcinkach. Używa modułu GPC do obcinania wielokątów.
d9786302
JB
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
e095f422 43%{__perl} Makefile.PL \
299130bf 44 INSTALLDIRS=vendor
d9786302
JB
45%{__make}
46
6389d6b8 47%{?with_tests:%{__make} test}
d9786302
JB
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
e095f422 61%dir %{perl_vendorlib}/Math/Geometry
62%{perl_vendorlib}/Math/Geometry/Planar.pm
d9786302 63%{_mandir}/man3/*
This page took 0.07314 seconds and 4 git commands to generate.