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

Revision 8821, 2.1 KB checked in by iwaim, 10 years ago (diff)

perl-Test-Number-Delta 1.04-1

Line 
1Name:           perl-Test-Number-Delta
2Version:        1.04
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:        ASL 2.0
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} Makefile.PL installdirs=vendor
38make
39
40
41%install
42rm -rf $RPM_BUILD_ROOT
43make install DESTDIR=$RPM_BUILD_ROOT
44chmod -R u+w $RPM_BUILD_ROOT/*
45
46
47%check
48AUTHOR_TESTING=1 make 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* Wed Jul 16 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.04-1
64- build with Perl 5.16
65- update to 1.04
66- update License
67
68* Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.03-2vl6
69- build with perl 5.12.3
70- add Vendor and Distribution tags
71
72* Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.03-1
73- initial build for Vine Linux
74
75* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.03-2
76- rebuild for new perl
77
78* Sun Jun 24 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
79- First build.
Note: See TracBrowser for help on using the repository browser.