]> git.pld-linux.org Git - packages/perl-Math-Geometry-Planar-GPC.git/blame - perl-Math-Geometry-Planar-GPC.spec
- rebuild with perl 5.26
[packages/perl-Math-Geometry-Planar-GPC.git] / perl-Math-Geometry-Planar-GPC.spec
CommitLineData
ebb3a22e
JB
1#
2# Conditional build:
b07c7b06 3%bcond_without tests # do not perform "make test"
ebb3a22e
JB
4#
5%include /usr/lib/rpm/macros.perl
495b029c 6%define pdir Math
7%define pnam Geometry-Planar-GPC
ebb3a22e 8Summary: Math::Geometry::Planar::GPC - Perl wrapper for Alan Murta's gpc library
60baeda4 9Summary(pl.UTF-8): Math::Geometry::Planar::GPC - interfejs perlowy do biblioteki gpc Alana Murty
ebb3a22e
JB
10Name: perl-Math-Geometry-Planar-GPC
11Version: 1.04
3ce00f60 12Release: 10
ebb3a22e
JB
13# perl interface is under "Artistic" license, but gpc itself is non-commercial
14License: non-commercial use, freely distributable
15Group: Development/Languages/Perl
a5a7d513 16Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
ebb3a22e 17# Source0-md5: 0f059f596abba73eee7f0ffcee134567
a5a7d513 18URL: http://search.cpan.org/dist/Math-Geometry-Planar-GPC/
d549218c 19BuildRequires: perl-devel >= 1:5.8.0
ebb3a22e
JB
20BuildRequires: rpm-perlprov >= 4.1-13
21Obsoletes: perl-Math-Geometry-GPC
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This module is just a wrapper around the gpc (Generic Polygon
26Clipping) C library written by Alan Murta.
27
211f8c4f
JR
28%description -l pl.UTF-8
29Ten moduł jest interfejsem do biblioteki C gpc (Generic Polygon
a5a7d513 30Clipping - ogólnego obcinania wielokątów) autorstwa Alana Murty.
ebb3a22e
JB
31
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38%{__make} \
e9b2360c 39 CC="%{__cc}" \
ebb3a22e
JB
40 OPTIMIZE="%{rpmcflags}"
41
b07c7b06 42%{?with_tests:%{__make} test}
ebb3a22e
JB
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changes README
56%dir %{perl_vendorarch}/Math/Geometry
57%dir %{perl_vendorarch}/Math/Geometry/Planar
58%{perl_vendorarch}/Math/Geometry/Planar/GPC.pm
59%dir %{perl_vendorarch}/auto/Math/Geometry
60%dir %{perl_vendorarch}/auto/Math/Geometry/Planar
61%dir %{perl_vendorarch}/auto/Math/Geometry/Planar/GPC
ebb3a22e
JB
62%attr(755,root,root) %{perl_vendorarch}/auto/Math/Geometry/Planar/GPC/GPC.so
63%{_mandir}/man3/*
This page took 0.078361 seconds and 4 git commands to generate.