source: projects/specs/trunk/p/perl-Test-Number-Delta/perl-Test-Number-Delta-vl.spec @ 521

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           perl-Test-Number-Delta
2Version:        1.03
3Release: 1%{?_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
21%description
22At some point or another, most programmers find they need to compare
23floating-point numbers for equality. The typical idiom is to test if
24the absolute value of the difference of the numbers is within a
25desired tolerance, usually called epsilon. This module provides such
26a function for use with Test::Harness.
27
28
29%prep
30%setup -q -n Test-Number-Delta-%{version}
31
32
33%build
34%{__perl} Build.PL installdirs=vendor
35./Build
36
37
38%install
39rm -rf $RPM_BUILD_ROOT
40./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
41chmod -R u+w $RPM_BUILD_ROOT/*
42
43
44%check
45AUTHOR_TESTING=1 ./Build test
46
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51
52%files
53%defattr(-,root,root,-)
54%doc Changes LICENSE Todo
55%{perl_vendorlib}/Test/
56%{_mandir}/man3/*.3pm*
57
58
59%changelog
60* Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.03-1
61- initial build for Vine Linux
62
63* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.03-2
64- rebuild for new perl
65
66* Sun Jun 24 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
67- First build.
Note: See TracBrowser for help on using the repository browser.