OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 01-Jan-2007 23:09:53
Branch: HEAD Handle: 2007010122095300
Modified files:
openpkg-src/perl-math perl-math.spec
Log:
add rounding module
Summary:
Revision Changes Path
1.40 +11 -1 openpkg-src/perl-math/perl-math.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-math/perl-math.spec
============================================================================
$ cvs diff -u -r1.39 -r1.40 perl-math.spec
--- openpkg-src/perl-math/perl-math.spec 1 Jan 2007 17:40:49 -0000
1.39
+++ openpkg-src/perl-math/perl-math.spec 1 Jan 2007 22:09:53 -0000
1.40
@@ -38,6 +38,7 @@
%define V_math_interpolate 1.05
%define V_math_derivative 0.01
%define V_math_spline 0.01
+%define V_math_round 0.06
# package information
Name: perl-math
@@ -50,7 +51,7 @@
Group: Perl
License: GPL/Artistic
Version: %{V_perl}
-Release: 20061212
+Release: 20070101
# package options
%option with_gmp no
@@ -71,6 +72,7 @@
Source11:
http://www.cpan.org/modules/by-module/Math/Math-Interpolate-%{V_math_interpolate}.tar.gz
Source12:
http://www.cpan.org/modules/by-module/Math/Math-Derivative-%{V_math_derivative}.tar.gz
Source13:
http://www.cpan.org/modules/by-module/Math/Math-Spline-%{V_math_spline}.tar.gz
+Source14:
http://www.cpan.org/modules/by-module/Math/Math-Round-%{V_math_round}.tar.gz
Patch0: perl-math.patch
# build information
@@ -107,6 +109,7 @@
- Math::Derivative (%{V_math_derivative})
- Math::Interpolate (%{V_math_interpolate})
- Math::Spline (%{V_math_spline})
+ - Math::Round (%{V_math_round})
%track
prog perl-math:Math-GMP = {
@@ -179,6 +182,11 @@
url = http://www.cpan.org/modules/by-module/Math/
regex = Math-Spline-(__VER__)\.tar\.gz
}
+ prog perl-math:Math-Round = {
+ version = %{V_math_round}
+ url = http://www.cpan.org/modules/by-module/Math/
+ regex = Math-Round-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -195,6 +203,7 @@
%setup -q -T -D -a 11
%setup -q -T -D -a 12
%setup -q -T -D -a 13
+ %setup -q -T -D -a 14
%patch -p0
%build
@@ -231,6 +240,7 @@
%{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat
perl-openpkg-files`
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]