/[packages]/cauldron/perl-Module-Build/current/SPECS/perl-Module-Build.spec
ViewVC logotype

Contents of /cauldron/perl-Module-Build/current/SPECS/perl-Module-Build.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 315487 - (show annotations) (download)
Wed Nov 7 08:26:41 2012 UTC (7 years, 9 months ago) by jquelin
File size: 2898 byte(s)
perl 5.16.2 rebuild
1 %define upstream_name Module-Build
2 %define upstream_version 0.4003
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 3
7 Epoch: 1
8
9 Summary: Build and install Perl modules
10 License: GPL+ or Artistic
11 Group: Development/Perl
12 Summary: Curses interface for Config::Model
13 Url: http://search.cpan.org/dist/%{upstream_name}
14 Source0: http://www.cpan.org/modules/by-module/Module/%{upstream_name}-%{upstream_version}.tar.gz
15 Patch0: Module-Build-fix-shebang.diff
16
17 BuildRequires: perl(CPAN::Meta) >= 2.110.420
18 BuildRequires: perl(CPAN::Meta::YAML) >= 0.3.0
19 BuildRequires: perl(Cwd)
20 BuildRequires: perl(Data::Dumper)
21 BuildRequires: perl(ExtUtils::CBuilder) >= 0.270.0
22 BuildRequires: perl(ExtUtils::Install)
23 BuildRequires: perl(ExtUtils::Manifest)
24 BuildRequires: perl(ExtUtils::Mkbootstrap)
25 BuildRequires: perl(ExtUtils::ParseXS) >= 2.210.0
26 BuildRequires: perl(File::Basename)
27 BuildRequires: perl(File::Compare)
28 BuildRequires: perl(File::Copy)
29 BuildRequires: perl(File::Find)
30 BuildRequires: perl(File::Path)
31 BuildRequires: perl(File::Spec) >= 0.820.0
32 BuildRequires: perl(File::Temp) >= 0.150.0
33 BuildRequires: perl(Getopt::Long)
34 BuildRequires: perl(IO::File)
35 BuildRequires: perl(Module::Metadata) >= 1.0.2
36 BuildRequires: perl(Parse::CPAN::Meta) >= 1.440.100
37 BuildRequires: perl(Perl::OSType) >= 1.0.0
38 BuildRequires: perl(Test::Harness)
39 BuildRequires: perl(Test::More) >= 0.490.0
40 BuildRequires: perl(Text::Abbrev)
41 BuildRequires: perl(Text::ParseWords)
42 BuildRequires: perl(version) >= 0.870.0
43 BuildRequires: perl-devel
44 # (tv) this is a soft dep (require instead of use); w/o it some builds failed with
45 # "Module::Build is not configured with C_support":
46 BuildArch: noarch
47
48 Suggests: perl-ExtUtils-CBuilder
49
50 %description
51 Module::Build is a system for building, testing, and installing Perl modules.
52 It is meant to be a replacement for ExtUtils::MakeMaker. Developers may alter
53 the behavior of the module through subclassing in a much more straightforward
54 way than with MakeMaker. It also does not require a make on your system - most
55 of the Module::Build code is pure-perl and written in a very cross-platform
56 way. In fact, you don't even need a shell, so even platforms like MacOS
57 (traditional) can use it fairly easily. Its only prerequisites are modules that
58 are included with perl 5.6.0, and it works fine on perl 5.005 if you can
59 install a few additional modules.
60
61 %prep
62 %setup -q -n %{upstream_name}-%{upstream_version}
63 %apply_patches
64
65 %build
66 %{__perl} Makefile.PL INSTALLDIRS=vendor
67 perl Build.PL installdirs=vendor
68 ./Build
69
70 %check
71 ./Build test
72
73 %install
74 ./Build install destdir=%{buildroot}
75 for i in %{buildroot}/%{_bindir}/*; do mv $i $i-%{upstream_version}; done
76
77 %files
78 %doc Changes INSTALL LICENSE META.json META.yml MYMETA.yml README
79 %{_bindir}/*
80 %{perl_vendorlib}/inc
81 %{perl_vendorlib}/Module
82 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.28