/[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 45212 - (show annotations) (download)
Mon Jan 31 14:41:21 2011 UTC (10 years, 4 months ago) by jquelin
File size: 2698 byte(s)
adding missing buildrequires:
1 %define upstream_name Module-Build
2 %define upstream_version 0.3624
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
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
16 Buildrequires: perl(Archive::Tar)
17 BuildRequires: perl(Cwd)
18 BuildRequires: perl(CPAN::Meta::YAML)
19 BuildRequires: perl(Data::Dumper)
20 BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
21 BuildRequires: perl(ExtUtils::Install)
22 BuildRequires: perl(ExtUtils::Manifest)
23 BuildRequires: perl(ExtUtils::Mkbootstrap)
24 BuildRequires: perl(ExtUtils::ParseXS)
25 BuildRequires: perl(File::Basename)
26 BuildRequires: perl(File::Compare)
27 BuildRequires: perl(File::Copy)
28 BuildRequires: perl(File::Find)
29 BuildRequires: perl(File::Path)
30 BuildRequires: perl(File::Spec) >= 0.82
31 BuildRequires: perl(Getopt::Long)
32 BuildRequires: perl(IO::File)
33 BuildRequires: perl(Module::Metadata)
34 BuildRequires: perl(Perl::OSType)
35 BuildRequires: perl(Test::Harness)
36 BuildRequires: perl(Text::Abbrev)
37 BuildRequires: perl(Text::ParseWords)
38 Buildrequires: perl(YAML)
39 Buildrequires: perl(version) >= 1:0.870.0
40 # for %%check
41 BuildRequires: perl-devel
42
43 # (tv) this is a soft dep (require instead of use); w/o it some builds failed with
44 # "Module::Build is not configured with C_support":
45 Buildarch: noarch
46
47 Suggests: perl-ExtUtils-CBuilder
48
49 %description
50 Module::Build is a system for building, testing, and installing Perl modules.
51 It is meant to be a replacement for ExtUtils::MakeMaker. Developers may alter
52 the behavior of the module through subclassing in a much more straightforward
53 way than with MakeMaker. It also does not require a make on your system - most
54 of the Module::Build code is pure-perl and written in a very cross-platform
55 way. In fact, you don't even need a shell, so even platforms like MacOS
56 (traditional) can use it fairly easily. Its only prerequisites are modules that
57 are included with perl 5.6.0, and it works fine on perl 5.005 if you can
58 install a few additional modules.
59
60 %prep
61 %setup -q -n %{upstream_name}-%{upstream_version}
62
63 %build
64 %{__perl} Makefile.PL INSTALLDIRS=vendor
65 perl Build.PL installdirs=vendor
66 ./Build
67
68 %install
69 rm -rf %{buildroot}
70 ./Build install destdir=%{buildroot}
71
72 %check
73 ./Build test
74
75 %clean
76 rm -rf %{buildroot}
77
78 %files
79 %defattr(-,root,root)
80 %doc Changes INSTALL README META.yml
81 %{_bindir}/config_data
82 %{perl_vendorlib}/inc
83 %{perl_vendorlib}/Module
84 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.28