/[packages]/cauldron/magpie/current/SPECS/magpie.spec
ViewVC logotype

Annotation of /cauldron/magpie/current/SPECS/magpie.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49017 - (hide annotations) (download)
Tue Feb 8 14:51:29 2011 UTC (13 years, 2 months ago) by jquelin
File size: 1759 byte(s)
update buildrequires:
1 jquelin 37411 %define upstream_name App-Magpie
2 jquelin 49012 %define upstream_version 1.110390
3 jquelin 37411
4     Name: magpie
5     Version: %perl_convert_version %{upstream_version}
6     Release: %mkrel 1
7    
8     Summary: Pause according to build-system recommendations
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/App/%{upstream_name}-%{upstream_version}.tar.gz
13    
14     BuildRequires: perl(App::Cmd::Setup)
15     BuildRequires: perl(File::Find)
16     BuildRequires: perl(File::Temp)
17     BuildRequires: perl(FindBin)
18     BuildRequires: perl(LWP::UserAgent)
19     BuildRequires: perl(Module::Build)
20 jquelin 49017 BuildRequires: perl(Parse::CPAN::Meta)
21 jquelin 37411 BuildRequires: perl(Path::Class)
22     BuildRequires: perl(Test::More)
23     BuildRequires: perl(Module::Build)
24    
25     BuildArch: noarch
26    
27     %description
28     CPAN holds a lot of great modules - but it can be difficult for the user to
29     install if she's not familiar with the process. Therefore, Linux
30     distribution usually package quite a lot of them, for them to be easily
31     installable.
32    
33     Mageia Linux is no exception, and ships more than 2500 packages holding
34     Perl distributions (at the time of writing). Maintaining those packages is
35     a daunting task - and cannot be done only by hand.
36    
37     This distribution is therefore a set of scripts helping maintaining Perl
38     packages within Mageia. They can be somehow coupled or used independently.
39    
40     %prep
41     %setup -q -n %{upstream_name}-%{upstream_version}
42    
43     %build
44     %{__perl} Build.PL installdirs=vendor
45     ./Build
46    
47     %check
48     ./Build test
49    
50     %install
51     rm -rf %buildroot
52     ./Build install destdir=%{buildroot}
53    
54     %clean
55     rm -rf %buildroot
56    
57     %files
58     %defattr(-,root,root)
59     %doc README Changes LICENSE META.yml META.json
60     %{_bindir}/magpie
61     %{_mandir}/man1/*
62     %{_mandir}/man3/*
63     %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.30