1 | %define pkgname Test-Classy |
---|
2 | |
---|
3 | # Basic Information |
---|
4 | Name: perl-%{pkgname} |
---|
5 | Version: 0.10 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Summary: write your unit tests in other modules than *.t |
---|
8 | Summary(ja): *.t 以外のモジュールで単体テストを書く |
---|
9 | |
---|
10 | License: Artistic or GPL |
---|
11 | Group: Development/Libraries |
---|
12 | URL: http://search.cpan.org/~ishigaki/Test-Classy/ |
---|
13 | |
---|
14 | Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | BuildRequires: perl(Class::Data::Inheritable) |
---|
19 | BuildRequires: perl(Class::Inspector) |
---|
20 | BuildRequires: perl(Data::Dump) |
---|
21 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
22 | BuildRequires: perl(Module::Find) |
---|
23 | BuildRequires: perl(Term::Encoding) |
---|
24 | BuildRequires: perl(Test::UseAllModules) |
---|
25 | BuildRequires: perl(Sub::Install) |
---|
26 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | Packager: yasumichi |
---|
31 | |
---|
32 | |
---|
33 | %description |
---|
34 | This is yet another Test::Class-like unit testing framework. As stated in |
---|
35 | Test::Class pod, you don't need to care if your tests are small and working |
---|
36 | correctly. If not, this may be one of your options. |
---|
37 | |
---|
38 | Unlike Test::Class, Test::Classy (actually Test::Classy::Base) is based on |
---|
39 | Test::More and exports everything Test::More exports. Test::Classy doesn't |
---|
40 | control test flow as fully as Test::Class, but it may be easier to skip and |
---|
41 | limit tests. |
---|
42 | |
---|
43 | #%%description -l ja |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q -n Test-Classy-%{version} |
---|
47 | |
---|
48 | %build |
---|
49 | perl Makefile.PL INSTALLDIRS=vendor |
---|
50 | make %{?_smp_mflags} |
---|
51 | |
---|
52 | %install |
---|
53 | rm -rf $RPM_BUILD_ROOT |
---|
54 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
55 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
56 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
57 | %{_fixperms} $RPM_BUILD_ROOT |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %check |
---|
63 | make test |
---|
64 | |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-,root,root) |
---|
68 | %doc Changes README |
---|
69 | %{perl_vendorlib}/Test/* |
---|
70 | %{_mandir}/man3/* |
---|
71 | |
---|
72 | |
---|
73 | %changelog |
---|
74 | * Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.10-1 |
---|
75 | - updated to 0.10 |
---|
76 | - built with perl 5.16.3 |
---|
77 | - installed module to vendor_perl |
---|
78 | - added BuildArch: noarch |
---|
79 | - added BuildRequires: perl modules |
---|
80 | - added URL tag |
---|
81 | |
---|
82 | * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.09-1 |
---|
83 | - initial build for Vine Linux |
---|