/[packages]/cauldron/perl-Module-Build/releases/1:0.380.0/2.mga2/SPECS/perl-Module-Build.spec
ViewVC logotype

Annotation of /cauldron/perl-Module-Build/releases/1:0.380.0/2.mga2/SPECS/perl-Module-Build.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 109941 - (hide annotations) (download)
Sun Jun 19 18:04:24 2011 UTC (12 years, 9 months ago) by schedbot
File size: 2790 byte(s)
%repsys markrelease
version: 1:0.380.0
release: 2.mga2
revision: 109887

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

  ViewVC Help
Powered by ViewVC 1.1.30