source: projects/specs/trunk/p/perl-Test-MockModule/perl-Test-MockModule-vl.spec @ 9109

Revision 9109, 2.5 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-Class-ErrorHander?, perl-Glib, perl-Package-Generator, perl-Test-Test-Without-Module: updated
  • perl-Crypt-DSA: changed Group
  • perl-File-Flat, perl-Test-{ClassAPI, MockModule?, Perl-Critic}, perl-prefork: rebuilt
Line 
1%define pkgname Test-MockModule
2
3Name:           perl-%{pkgname}
4Version:        0.05
5Release:        3%{?_dist_release}
6Group:          Development/Libraries
7License:        Artistic or GPL+
8URL:            http://search.cpan.org/dist/Test-MockModule/
9Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12BuildArch:      noarch
13BuildRequires:  perl(Test::More)
14BuildRequires:  perl(Test::Pod)
15BuildRequires:  perl(Test::Pod::Coverage)
16Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20Packager:       shaolin
21
22Summary:        Override subroutines in a module for unit testing
23
24%description
25%{summary}.
26
27%prep
28%setup -q -n Test-MockModule-%{version}
29
30%build
31%{__perl} Makefile.PL INSTALLDIRS=vendor
32make
33
34%install
35rm -rf ${RPM_BUILD_ROOT}
36make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
37find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';'
38find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';'
39chmod -R u+w ${RPM_BUILD_ROOT}/*
40
41%check
42make test
43
44%clean
45rm -rf ${RPM_BUILD_ROOT}
46
47%files
48%defattr(-,root,root,-)
49%doc Changes README
50%{perl_vendorlib}/Test/MockModule.pm
51%{_mandir}/man3/*.3*
52
53
54%changelog
55* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.05-3
56- rebuilt with perl 5.16.3
57
58* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-2
59- rebuild
60
61* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-1
62- initial build for Vine Linux
63
64* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-9
65- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
66
67* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
68- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
69
70* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-7
71- Rebuild for perl 5.10 (again)
72
73* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-6
74- rebuild for new perl
75
76* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-5
77- license tag fix
78
79* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-4
80- bump for fc6
81
82* Wed Jul 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-3
83- add missing BuildRequires
84
85* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2
86- cleanups
87
88* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-1
89- Initial package for Fedora Extras
Note: See TracBrowser for help on using the repository browser.