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: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires: perl >= 5.6
16 BuildRequires: rpm-perlprov >= 3.0.3-16
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 This module implements the algorithm for the solution of Bezier curves
22 as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple
23 Bezier Curve Drawing".
26 Ten modu³ jest implementacj± algorytmu obliczania krzywych Beziera
27 pokazanego przez Roberta D. Millera w Graphics Gems V "Quick and
28 Simple Bezier Curve Drawing".
31 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{!?_without_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_sitelib}/Math/Bezier.pm