/[packages]/cauldron/perl-Test-Dependencies/current/SPECS/perl-Test-Dependencies.spec
ViewVC logotype

Contents of /cauldron/perl-Test-Dependencies/current/SPECS/perl-Test-Dependencies.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15038 - (show annotations) (download)
Thu Jan 13 15:55:09 2011 UTC (13 years, 6 months ago) by jquelin
File size: 1273 byte(s)
imported package perl-Test-Dependencies
1 %define upstream_name Test-Dependencies
2 %define upstream_version 0.12
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 Summary: Ensure that your Makefile.PL specifies all module dependencies
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(B::PerlReq)
15 BuildRequires: perl(File::Find::Rule)
16 BuildRequires: perl(IPC::Cmd)
17 BuildRequires: perl(Module::CoreList)
18 BuildRequires: perl(PerlReq::Utils)
19 BuildRequires: perl(Pod::Strip)
20 BuildRequires: perl(Test::Builder::Module)
21 BuildRequires: perl(Test::Builder::Tester)
22 BuildRequires: perl(YAML)
23 BuildArch: noarch
24 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
25
26 %description
27 Makes sure that all of the modules that are 'use'd are listed in the
28 Makefile.PL as dependencies.
29
30 %prep
31 %setup -q -n %{upstream_name}-%{upstream_version}
32
33 %build
34 %{__perl} Makefile.PL INSTALLDIRS=vendor
35 %make
36
37 %check
38 make test
39
40 %install
41 rm -rf %{buildroot}
42 %makeinstall_std
43
44 %clean
45 rm -rf %{buildroot}
46
47 %files
48 %defattr(-,root,root)
49 %doc README Changes
50 %{_mandir}/man3/*
51 %{perl_vendorlib}/Test
52
53

  ViewVC Help
Powered by ViewVC 1.1.30