Name: perl-Math-Round
Summary: Perl extension for rounding numbers
Version: 0.06
Release: 1
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Math-Round/
Description: Math::Round is a Perl module. It supplies functions to round numbers,
both positive and negative, in various ways. This may seem like an
odd thing to write a whole module for, but rounding can sometimes be
a little tricky, so I thought some people might find this useful.
The build was succesful. The following RPMs were generated:
The build was succesful. The following RPMs were generated:
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dries # Upstream: Geoffrey Rommel <grommel$sears,com> %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name Math-Round Summary: Perl extension for rounding numbers Name: perl-Math-Round Version: 0.06 Release: 1%{?dist} License: Artistic Group: Applications/CPAN URL: http://search.cpan.org/dist/Math-Round/ Source: http://www.cpan.org/modules/by-module/Math/Math-Round-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) %description Math::Round is a Perl module. It supplies functions to round numbers, both positive and negative, in various ways. This may seem like an odd thing to write a whole module for, but rounding can sometimes be a little tricky, so I thought some people might find this useful. %prep %setup -n %{real_name}-%{version} %build CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} %{__make} pure_install ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes README %doc %{_mandir}/man3/*.3pm* %dir %{perl_vendorlib}/Math/ %{perl_vendorlib}/Math/Round.pm %dir %{perl_vendorlib}/auto/Math/ %{perl_vendorlib}/auto/Math/Round/ %changelog * Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.06-1 - Updated to release 0.06. * Mon Dec 06 2004 Dries Verachtert <dries@ulyssis.org> - 0.05-1 - Initial package.