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