]> git.pld-linux.org Git - packages/perl-Math-Bezier.git/blame - perl-Math-Bezier.spec
use generic url
[packages/perl-Math-Bezier.git] / perl-Math-Bezier.spec
CommitLineData
9382f799
JB
1#
2# Conditional build:
8a8a00a2 3%bcond_without tests # do not perform "make test"
33a7296b 4
debc201e 5%define pdir Math
6%define pnam Bezier
33a7296b 7%include /usr/lib/rpm/macros.perl
9382f799 8Summary: Math::Bezier Perl module - solution of Bezier curves
1e6c7e5a 9Summary(pl.UTF-8): Moduł Perla Math::Bezier - obliczający krzywe Beziera
9382f799
JB
10Name: perl-Math-Bezier
11Version: 0.01
df61d7ac 12Release: 4
5eea9e5f 13# same as perl
14License: GPL v1+ or Artistic
9382f799 15Group: Development/Languages/Perl
54cf004d 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
7cf29ed1 17# Source0-md5: ba6874d8754e2d64ab9c7d15e0eb56c2
33a7296b 18URL: http://search.cpan.org/dist/Math-Bezier/
d9c8fb76 19BuildRequires: perl-devel >= 1:5.8.0
b98f0c18 20BuildRequires: rpm-perlprov >= 4.1-13
9382f799
JB
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This module implements the algorithm for the solution of Bezier curves
26as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple
27Bezier Curve Drawing".
28
09fa6b2e
JR
29%description -l pl.UTF-8
30Ten moduł jest implementacją algorytmu obliczania krzywych Beziera
9382f799
JB
31pokazanego przez Roberta D. Millera w Graphics Gems V "Quick and
32Simple Bezier Curve Drawing".
33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
b98f0c18 38%{__perl} Makefile.PL \
3b3fd264 39 INSTALLDIRS=vendor
9382f799
JB
40%{__make}
41
8a8a00a2 42%{?with_tests:%{__make} test}
9382f799
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
b98f0c18 56%{perl_vendorlib}/Math/Bezier.pm
9382f799 57%{_mandir}/man3/*
This page took 0.208228 seconds and 4 git commands to generate.