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

Revision 9118, 2.2 KB checked in by inagaki, 9 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


RevLine 
[4920]1%define pkgname Test-Classy
2
3# Basic Information
4Name:           perl-%{pkgname}
[9118]5Version:        0.10
[4920]6Release:        1%{?_dist_release}
[9118]7Summary:        write your unit tests in other modules than *.t
8Summary(ja):    *.t 以外のモジュールで単体テストを書く
9
[4920]10License:        Artistic or GPL
11Group:          Development/Libraries
[9118]12URL:            http://search.cpan.org/~ishigaki/Test-Classy/
13
[4920]14Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
[9118]15
[4920]16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[9118]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))
[4920]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
[9118]46%setup -q -n Test-Classy-%{version}
[4920]47
48%build
[9118]49perl Makefile.PL INSTALLDIRS=vendor
50make %{?_smp_mflags}
[4920]51
52%install
[9118]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
[4920]58
[9118]59%clean
60rm -rf $RPM_BUILD_ROOT
[4920]61
[9118]62%check
63make test
[4920]64
65
[9118]66%files
[4920]67%defattr(-,root,root)
68%doc Changes README
[9118]69%{perl_vendorlib}/Test/*
70%{_mandir}/man3/*
[4920]71
72
73%changelog
[9118]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
[4920]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.