source: projects/specs/trunk/p/perl-Test-Classy/perl-Test-Classy-vl.spec @ 9118

Revision 9118, 2.2 KB checked in by inagaki, 6 years ago (diff)

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

  • perl-Math-{Base85, Round}, perl-PHP-Session, perl-Params-Coerce, perl-Term-Encoding: rebuilt
  • perl-Path-Class, perl-Test-Classy, perl-Test-UseAllModules?: updated


Line 
1%define pkgname Test-Classy
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.10
6Release:        1%{?_dist_release}
7Summary:        write your unit tests in other modules than *.t
8Summary(ja):    *.t 以外のモジュールで単体テストを書く
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12URL:            http://search.cpan.org/~ishigaki/Test-Classy/
13
14Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18BuildRequires:  perl(Class::Data::Inheritable)
19BuildRequires:  perl(Class::Inspector)
20BuildRequires:  perl(Data::Dump)
21BuildRequires:  perl(ExtUtils::MakeMaker)
22BuildRequires:  perl(Module::Find)
23BuildRequires:  perl(Term::Encoding)
24BuildRequires:  perl(Test::UseAllModules)
25BuildRequires:  perl(Sub::Install)
26Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
27
28Vendor:         Project Vine
29Distribution:   Vine Linux
30Packager:       yasumichi
31
32
33%description
34This is yet another Test::Class-like unit testing framework. As stated in
35Test::Class pod, you don't need to care if your tests are small and working
36correctly. If not, this may be one of your options.
37
38Unlike Test::Class, Test::Classy (actually Test::Classy::Base) is based on
39Test::More and exports everything Test::More exports. Test::Classy doesn't
40control test flow as fully as Test::Class, but it may be easier to skip and
41limit tests.
42
43#%%description -l ja
44
45%prep
46%setup -q -n Test-Classy-%{version}
47
48%build
49perl Makefile.PL INSTALLDIRS=vendor
50make %{?_smp_mflags}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54make pure_install DESTDIR=$RPM_BUILD_ROOT
55find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
56find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
57%{_fixperms} $RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%check
63make 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
Note: See TracBrowser for help on using the repository browser.