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

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

import VineSeed package specs

Line 
1Name:           perl-Test-Exception
2Version:        0.27
3Release:        3%{?_dist_release}
4Summary:        Library of test functions for exception based Perl code
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Test-Exception/
8Source0:        http://www.cpan.org/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12# BuildRequires: perl, perl-Pod-Coverage, perl-Sub-Uplevel, perl-Test-Tester
13BuildRequires:  perl(Module::Build)
14BuildRequires:  perl(Pod::Coverage)
15BuildRequires:  perl(Sub::Uplevel) >= 0.18
16BuildRequires:  perl(Test::Pod)
17BuildRequires:  perl(Test::Builder)
18BuildRequires:  perl(Test::Builder::Tester)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21%description
22This module provides a few convenience methods for testing exception
23based code. It is built with Test::Builder and plays happily with
24Test::More and friends.
25
26%prep
27%setup -q -n Test-Exception-%{version}
28
29find . -type f -perm +100 -exec chmod a-x {} \;
30
31%build
32%{__perl} Build.PL installdirs=vendor
33./Build
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
38./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
39find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
40
41%{_fixperms} $RPM_BUILD_ROOT/*
42
43%check
44./Build test
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(-,root,root,-)
51%doc Changes README
52%{perl_vendorlib}/*
53%{_mandir}/man3/*
54
55%changelog
56* Sat Nov  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.27-3
57- Initial build for Vine Linux
58
59* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2
60- Rebuild for perl 5.10 (again)
61
62* Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.27-1
63- Update to 0.27.
64
65* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.26-2
66- rebuild for new perl
67
68* Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.26-1
69- Update to 0.26.
70- Update License tag.
71- Use fixperms macro instead of our own chmod incantation.
72- Reformat to match cpanspec output.
73- Drop executable bits.
74
75* Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
76- Rebuild for FC6.
77
78* Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
79- Rebuild for FC5 (perl 5.8.8).
80
81* Tue Jun  7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
82- Update to 0.21.
83
84* Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
85- Add dist tag.
86
87* Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.20-3
88- Avoid .packlist creation with Module::Build >= 0.2609.
89- Trust that %%{perl_vendorlib} is defined.
90
91* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.20-2
92- rebuilt
93
94* Fri Nov  5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
95- Update to 0.20.
96
97* Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1
98- First build.
Note: See TracBrowser for help on using the repository browser.