source: projects/specs/branches/6/p/perl-Test-Number-Delta/perl-Test-Number-Delta-vl.spec @ 3174

Revision 3174, 2.0 KB checked in by iwaim, 13 years ago (diff)

perl-Test-Number-Delta-1.03-2

Line 
1Name:           perl-Test-Number-Delta
2Version:        1.03
3Release: 2%{?_dist_release}
4Summary:        Compare the difference between numbers against a given tolerance
5Summary(ja):        Compare the difference between numbers against a given tolerance
6
7Group:          Development/Libraries
8License:        GPL+ or Artistic
9URL:            http://search.cpan.org/dist/Test-Number-Delta/
10Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-%{version}.tar.gz
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13BuildArch:      noarch
14BuildRequires:  perl(Module::Build)
15BuildRequires:  perl(Test::Builder) >= 0.32
16BuildRequires:  perl(Test::Builder::Tester) >= 1.02
17BuildRequires:  perl(Test::Pod)
18BuildRequires:  perl(Test::Pod::Coverage)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25At some point or another, most programmers find they need to compare
26floating-point numbers for equality. The typical idiom is to test if
27the absolute value of the difference of the numbers is within a
28desired tolerance, usually called epsilon. This module provides such
29a function for use with Test::Harness.
30
31
32%prep
33%setup -q -n Test-Number-Delta-%{version}
34
35
36%build
37%{__perl} Build.PL installdirs=vendor
38./Build
39
40
41%install
42rm -rf $RPM_BUILD_ROOT
43./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
44chmod -R u+w $RPM_BUILD_ROOT/*
45
46
47%check
48AUTHOR_TESTING=1 ./Build test
49
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54
55%files
56%defattr(-,root,root,-)
57%doc Changes LICENSE Todo
58%{perl_vendorlib}/Test/
59%{_mandir}/man3/*.3pm*
60
61
62%changelog
63* Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.03-2vl6
64- build with perl 5.12.3
65- add Vendor and Distribution tags
66
67* Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.03-1
68- initial build for Vine Linux
69
70* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.03-2
71- rebuild for new perl
72
73* Sun Jun 24 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
74- First build.
Note: See TracBrowser for help on using the repository browser.