3 # _without_tests - do not perform "make test"
4 %include /usr/lib/rpm/macros.perl
7 Summary: Math::Bezier Perl module - solution of Bezier curves
8 Summary(pl): Modu³ Perla Math::Bezier - obliczaj±cy krzywe Beziera
12 License: Artistic or GPL
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: ba6874d8754e2d64ab9c7d15e0eb56c2
16 BuildRequires: perl-devel >= 5.6
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This module implements the algorithm for the solution of Bezier curves
23 as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple
24 Bezier Curve Drawing".
27 Ten modu³ jest implementacj± algorytmu obliczania krzywych Beziera
28 pokazanego przez Roberta D. Millera w Graphics Gems V "Quick and
29 Simple Bezier Curve Drawing".
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{!?_without_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Math/Bezier.pm