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

Revision 9118, 1.9 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-UseAllModules
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.17
6Release:        1%{?_dist_release}
7Summary:        do use_ok() for all the MANIFESTed modules
8#Summary(ja):   ここに日本語で概要を記述してください
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/%{pkgname}-%{version}.tar.gz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildArch:      noarch
16BuildRequires:  perl(ExtUtils::MakeMaker)
17BuildRequires:  perl(Test::Builder)
18BuildRequires:  perl(Test::More)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       yasumichi
24
25
26%description
27I'm sick of writing 00_load.t (or something like that) that'll do use_ok()
28for every module I write. I'm sicker of updating 00_load.t when I add
29another file to the distro. This module reads MANIFEST to find modules to be
30tested and does use_ok() for each of them. Now all you have to do is update
31MANIFEST. You don't have to modify the test any more (hopefully).
32
33#%%description -l ja
34#ここに日本語で詳細を記述してください。
35
36%prep
37%setup -q -n Test-UseAllModules-%{version}
38
39%build
40perl Makefile.PL INSTALLDIRS=vendor
41make %{?_smp_mflags}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45make pure_install DESTDIR=$RPM_BUILD_ROOT
46find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
47find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
48%{_fixperms} $RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%check
54make test
55
56
57%files
58%defattr(-,root,root)
59%doc Changes README
60%dir %{perl_vendorlib}/Test
61%{perl_vendorlib}/Test/*
62%{_mandir}/*/*
63
64
65%changelog
66* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.17-1
67- updated to 0.17
68- built with perl 5.16.3
69- installed module to vendor_perl
70- added BuildArch: noarch
71- added BR
72
73* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.13-1
74- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.