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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30