source: projects/specs/trunk/p/perl-Test-Object/perl-Test-Object-vl.spec @ 5744

Revision 5744, 3.3 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Test-Object
2Version:        0.07
3Release:        1%{?_dist_release}
4Summary:        Thoroughly testing objects via registered handlers
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/Test-Object/
9Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Object-%{version}.tar.gz
10Patch0:         Test-Object-0.07-Makefile.PL.patch
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13BuildArch:      noarch
14BuildRequires:  perl(Scalar::Util) >= 1.16
15BuildRequires:  perl(Test::Builder) >= 0.32
16BuildRequires:  perl(Test::Builder::Tester) >= 1.02
17BuildRequires:  perl(Test::Pod) >= 1.00
18Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       shaolin
23
24%description
25Test::Object is a testing package designed to allow you to easily test
26what you believe is a valid object against the expected behaviour of
27all of the classes in its inheritance tree in one single call.
28
29
30%prep
31%setup -q -n Test-Object-%{version}
32%patch0 -p1
33
34%build
35%{__perl} Makefile.PL INSTALLDIRS=vendor
36make %{?_smp_mflags}
37
38
39%install
40rm -rf $RPM_BUILD_ROOT
41make pure_install DESTDIR=$RPM_BUILD_ROOT
42find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
44chmod -R u+w $RPM_BUILD_ROOT/*
45
46
47%check
48make test AUTOMATED_TESTING=1
49
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54
55%files
56%defattr(-,root,root,-)
57%doc Changes LICENSE README
58%{perl_vendorlib}/Test/
59%{_mandir}/man3/*.3pm*
60
61
62%changelog
63* Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-1
64- initial build for Vine Linux
65
66* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-13
67- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
68
69* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-12
70- Perl mass rebuild
71
72* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-11
73- Perl mass rebuild
74
75* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-10
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
77
78* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-9
79- 661697 rebuild for fixing problems with vendorach/lib
80
81* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-8
82- Mass rebuild with perl-5.12.0
83
84* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-7
85- add readme
86
87* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.07-6
88- rebuild against perl 5.10.1
89
90* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5
91- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
92
93* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-4
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
95
96* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-3
97- Rebuild for perl 5.10 (again)
98
99* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-2
100- rebuild for new perl
101
102* Thu Sep  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.07-1
103- Update to 0.07.
104- Test::Builder version problem (see #205537).
105- Removed the README file (copy of the manpage).
106
107* Wed Sep 06 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-1
108- First build.
Note: See TracBrowser for help on using the repository browser.