source: projects/specs/trunk/p/perl-Test-MockObject/perl-Test-MockObject-vl.spec @ 9004

Revision 9004, 4.7 KB checked in by inagaki, 10 years ago (diff)

2014-10-11 Ryoichi INAGAKI <ryo1@…>

  • perl-Net-SMTP-SSL, perl-Thread-Tie, perl-Test-MockDBI: rebuild
  • perl-Thread-Serialize, perl-Test-MockObject?, perl-UNIERSAL-can, perl-UNIVERSAL-isa, perl-load: update


Line 
1%define pkgname Test-MockObject
2
3Name:           perl-%{pkgname}
4Version:        1.20140408
5Release:        1%{?_dist_release}
6Summary:        Perl extension for emulating troublesome interfaces
7
8Group:          Development/Libraries
9License:        Artistic or GPL+
10URL:            http://search.cpan.org/dist/Test-MockObject/
11Source0:        http://www.cpan.org/authors/id/C/CH/CHROMATIC/Test-MockObject-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
13
14BuildArch:      noarch
15BuildRequires:  perl(CGI)
16BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
17BuildRequires:  perl(Test::Exception)
18BuildRequires:  perl(Test::More) >= 0.98
19BuildRequires:  perl(Test::Warn) >= 0.23
20BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
21BuildRequires:  perl(UNIVERSAL::can) >= 1.20110617
22BuildRequires:  perl(UNIVERSAL::isa) >= 1.20110614
23Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       shaolin
28
29%description
30Test::MockObject is a highly polymorphic testing object, capable of
31looking like all sorts of objects.  This makes white-box testing much
32easier, as you can concentrate on what the code being tested sends to
33and receives from the mocked object, instead of worrying about faking
34up your own data.  (Another option is not to test difficult things.
35Now you have no excuse.)
36
37
38%prep
39%setup -q -n Test-MockObject-%{version}
40
41
42%build
43perl Makefile.PL INSTALLDIRS=vendor
44make %{?_smp_mflags}
45
46
47%install
48make pure_install DESTDIR=%{buildroot}
49find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
50find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
51%{_fixperms} %{buildroot}/*
52
53
54%check
55PERL_RUN_ALL_TESTS=1 make test
56
57%clean
58rm -rf %{buildroot}
59
60
61%files
62%defattr(-,root,root,-)
63%doc Changes README
64%{perl_vendorlib}/Test/*.pm
65%dir %{perl_vendorlib}/Test/MockObject
66%{perl_vendorlib}/Test/MockObject/*.pm
67%{_mandir}/man3/*.3pm*
68
69
70%changelog
71* Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.20140408-1
72- updated to 1.20140408
73- build with perl 5.16.3
74
75* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2
76- rebuild
77
78* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-1
79- initial package for Vine Linux
80
81* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-9
82- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
83
84* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-8
85- 661697 rebuild for fixing problems with vendorach/lib
86
87* Thu Dec 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-7
88- Add BR: perl(CGI) (Fix FTBFS: BZ 660972).
89
90* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-6
91- Mass rebuild with perl-5.12.0
92
93* Thu Feb  4 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-5
94- 552253 merge review
95
96* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.09-4
97- rebuild against perl 5.10.1
98
99* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-3
100- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
101
102* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-2
103- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
104
105* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.09-1
106- update to 1.09
107
108* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.08-2
109- rebuild for new perl
110
111* Fri Jun 29 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-1
112- Update to 1.08.
113
114* Thu Oct  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-1
115- Update to 1.07.
116
117* Fri Apr 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
118- Update to 1.06.
119
120* Tue Apr 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-1
121- Update to 1.05.
122
123* Thu Mar 30 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-1
124- Update to 1.04.
125- Makefile.PL -> Build.PL.
126
127* Mon Mar 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
128- Update to 1.03.
129
130* Tue Feb 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
131- Update to 1.02.
132
133* Fri Jul 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-1
134- Update to 1.00.
135
136* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.15-3
137- rebuilt
138
139* Tue Dec 28 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-2
140- Build requires Test::Simple >= 0.44 (bug 2324).
141
142* Wed Dec 01 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1
143- Update to 0.15.
144
145* Tue May 25 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.14-0.fdr.1
146- Update to 0.14.
147- Require perl >= 1:5.6.1 for vendor install dir support.
148- Use pure_install to avoid perllocal.pod workarounds.
149- Moved make test to section %%check.
150
151* Wed Nov 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.12-0.fdr.1
152- First build.
Note: See TracBrowser for help on using the repository browser.