/[packages]/cauldron/perl-Test-Kwalitee/current/SPECS/perl-Test-Kwalitee.spec
ViewVC logotype

Annotation of /cauldron/perl-Test-Kwalitee/current/SPECS/perl-Test-Kwalitee.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811298 - (hide annotations) (download)
Mon Mar 21 04:20:52 2022 UTC (2 years, 1 month ago) by umeabot
File size: 2129 byte(s)
Mageia 9 Mass Rebuild
1 jquelin 15103 %define upstream_name Test-Kwalitee
2 tv 1362848 %define upstream_version 1.28
3 jquelin 15103
4 tv 1176187 %{?perl_default_filter}
5    
6 jquelin 15103 Name: perl-%{upstream_name}
7     Version: %perl_convert_version %{upstream_version}
8 umeabot 1811298 Release: %mkrel 3
9 jquelin 15103
10     Summary: Test the Kwalitee of a distribution before you release it
11     License: GPL+ or Artistic
12     Group: Development/Perl
13 ovitters 1576488 Url: https://metacpan.org/release/%{upstream_name}
14     Source0: https://cpan.metacpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz
15 jquelin 15103
16 tv 1176187 BuildRequires: perl(CPAN::Meta::Check) >= 0.11.0
17     BuildRequires: perl(CPAN::Meta::Requirements)
18     BuildRequires: perl(Cwd)
19     BuildRequires: perl(Exporter)
20     BuildRequires: perl(ExtUtils::MakeMaker)
21     BuildRequires: perl(File::Spec)
22     BuildRequires: perl(Module::CPANTS::Analyse) >= 0.920.0
23     BuildRequires: perl(Test::Builder) >= 0.880.0
24     BuildRequires: perl(Test::Deep)
25     BuildRequires: perl(Test::More) >= 0.960.0
26     BuildRequires: perl(Test::Tester) >= 0.108.0
27     BuildRequires: perl(Test::Warnings) >= 0.9.0
28     BuildRequires: perl(if)
29     BuildRequires: perl(parent)
30     BuildRequires: perl(strict)
31     BuildRequires: perl(version)
32     BuildRequires: perl(warnings)
33     BuildArch: noarch
34 jquelin 15103
35     %description
36     Kwalitee is an automatically-measurable gauge of how good your software is.
37     That's very different from quality, which a computer really can't measure in a
38     general sense. (If you can, you've solved a hard problem in computer science.)
39    
40     In the world of the CPAN, the CPANTS project (CPAN Testing Service; also a
41     funny acronym on its own) measures Kwalitee with several metrics. If you plan
42     to release a distribution to the CPAN -- or even within your own organization
43     -- testing its Kwalitee before creating a release can help you improve your
44     quality as well.
45    
46     Test::Kwalitee and a short test file will do this for you automatically.
47    
48     %prep
49     %setup -q -n %{upstream_name}-%{upstream_version}
50    
51     %build
52 tv 1154140 perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
53     %make_build
54 jquelin 15103
55     %check
56 tv 1154140 make test
57 jquelin 15103
58     %install
59 tv 1154140 %make_install
60 jquelin 15103
61     %files
62 tv 1176187 %doc CONTRIBUTING Changes INSTALL LICENSE META.json META.yml MYMETA.yml README
63 sander85 475587 %{_bindir}/kwalitee-metrics
64 jquelin 15103 %{perl_vendorlib}/Test
65 tv 1362848 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30