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