%define module Math-Bezier %define name perl-%{module} %define version 0.01 %define release %mkrel 10 Name: %{name} Version: %{version} Release: %{release} Summary: Solution of Bezier Curves License: GPL or Artistic Group: Development/Perl Source: ftp.perl.org/pub/CPAN/modules/by-module/Math/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildArch: noarch %description This module implements the algorithm for the solution of Bezier curves as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple Bezier Curve Drawing". %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Math %{_mandir}/*/* %changelog * Wed Dec 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-10mdv2008.1 + Revision: 133638 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-9mdv2008.0 + Revision: 86575 - rebuild * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-8mdv2007.0 - Rebuild * Thu May 04 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.01-7mdk - Fix According to perl Policy - Source URL * Tue Dec 27 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-6mdk - better summary - %%mkrel - spec cleanup - enable tests * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.01-5mdk - fix buildrequires in a backward compatible way * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.01-4mdk - rpmbuildupdate aware * Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.01-3mdk - fixed dir ownership (distlint) - %%makeinstall_std macro