Package perl-Test-CPAN-Meta-JSON: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl-podlators # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: perl-Test-CPAN-Meta-JSON Version: 0.16 Release: alt2_10 Summary: Validate a META.json file within a CPAN distribution Group: Development/Other License: Artistic 2.0 Url: http://search.cpan.org/dist/Test-CPAN-Meta-JSON/ Source0: https://cpan.metacpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-%{version}.tar.gz Patch0: Test-CPAN-Meta-JSON-0.16-utf8.patch BuildArch: noarch # Module Build BuildRequires: perl-devel BuildRequires: rpm-build-perl BuildRequires: perl(ExtUtils/MakeMaker.pm) # Module Runtime BuildRequires: perl(IO/File.pm) BuildRequires: perl(JSON.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(Test/Builder.pm) BuildRequires: perl(vars.pm) BuildRequires: perl(warnings.pm) # Test Suite BuildRequires: perl(Test/Builder/Tester.pm) BuildRequires: perl(Test/More.pm) # Optional Tests BuildRequires: perl(Test/CPAN/Meta.pm) BuildRequires: perl(Test/Pod.pm) BuildRequires: perl(Test/Pod/Coverage.pm) Source44: import.info # Runtime %description This module was written to ensure that a META.json file, provided with a standard distribution uploaded to CPAN, meets the specifications that are slowly being introduced to module uploads, via the use of ExtUtils::MakeMaker, Module::Build and Module::Install. See CPAN::Meta for further details of the CPAN Meta Specification. %prep %setup -q -n Test-CPAN-Meta-JSON-%{version} # Recode LICENSE as UTF-8 %patch0 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; # %{_fixperms} %{buildroot} %check make test AUTOMATED_TESTING=1 %files %if 0%{?_licensedir:1} %doc --no-dereference LICENSE %else %doc LICENSE %endif %doc Changes README examples/ %{perl_vendor_privlib}/Test/ %changelog * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.16-alt2_10 - update to new release by fcimport * Thu Mar 29 2018 Igor Vlasenko <viy@altlinux.ru> 0.16-alt2_8 - fixed Url * Mon Oct 02 2017 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1_8 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1_7 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1_6 - update to new release by fcimport * Mon Dec 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1_5 - update to new release by fcimport * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1_4 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1_3 - update to new release by fcimport * Tue Apr 07 2015 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1_1 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.15-alt2_4 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.15-alt2_3 - update to new release by fcimport * Thu Nov 14 2013 Igor Vlasenko <viy@altlinux.ru> 0.15-alt2_2 - Sisyphus build * Mon Sep 02 2013 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_2 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_1 - update to new release by fcimport * Mon Mar 04 2013 Igor Vlasenko <viy@altlinux.ru> 0.14-alt1_2 - update to new release by fcimport * Mon Aug 27 2012 Igor Vlasenko <viy@altlinux.ru> 0.14-alt1_1 - update to new release by fcimport * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.13-alt2_3 - update to new release by fcimport * Fri May 25 2012 Igor Vlasenko <viy@altlinux.ru> 0.13-alt2_1 - fc import * Thu May 24 2012 Igor Vlasenko <viy@altlinux.ru> 0.13-alt1_1 - fc import |