source: projects/specs/trunk/p/perl-Module-CPANfile/perl-Module-CPANfile-vl.spec @ 9142

Revision 9142, 2.8 KB checked in by inagaki, 9 years ago (diff)

2014-12-09 Ryoichi INAGAKI <ryo1@…>

  • perl-Config-{Any, General, IniFiles?}, perl-Log-Dispatch-{Config, Configurator-Any}, perl-Log-Dump, perl-Path-Extended, perl-Sort-Naturally perl-Test-{Output, Spelling}: updated
  • perl-ExtUtils?-MakeMaker?-CPANfile, perl-IO-Capture, perl-Module-CPANfile: NEW


Line 
1Name:           perl-Module-CPANfile
2Version:        0.9021
3Release:        1%{?_dist_release}
4Summary:        Parse cpanfile
5
6License:        GPL+ or Artistic
7Group:          Development/Libraries
8URL:            http://search.cpan.org/dist/Module-CPANfile/
9
10Source0:        http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Module-CPANfile-%{version}.tar.gz
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildArch:      noarch
14BuildRequires:  perl
15BuildRequires:  perl(base)
16BuildRequires:  perl(Carp)
17BuildRequires:  perl(Cwd)
18#BuildRequires:  perl(CPAN::Meta) >= 2.12091
19#BuildRequires:  perl(CPAN::Meta::Feature) >= 2.12091
20#BuildRequires:  perl(CPAN::Meta::Prereqs) >= 2.12091
21#BuildRequires:  perl(CPAN::Meta::Requirements)
22#BuildRequires:  perl(Data::Dumper)
23BuildRequires:  perl(ExtUtils::MakeMaker)
24BuildRequires:  perl(parent)
25BuildRequires:  perl(strict)
26BuildRequires:  perl(warnings)
27# tests
28BuildRequires:  perl(Exporter)
29BuildRequires:  perl(POSIX)
30BuildRequires:  perl(Test::More) >= 0.88
31
32#Requires:       perl(CPAN::Meta) >= 2.12091
33#Requires:       perl(CPAN::Meta::Prereqs) >= 2.12091
34#Requires:       perl(CPAN::Meta::Feature) >= 2.12091
35Requires:       perl(Data::Dumper)
36Requires:       perl(Pod::Usage)
37Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
38
39%?perl_default_filter
40%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(CPAN::Meta\\)$
41
42%description
43Module::CPANfile is a tool to handle cpanfile format to load application
44specific dependencies, not just for CPAN distributions.
45
46%prep
47%setup -q -n Module-CPANfile-%{version}
48
49%build
50perl Makefile.PL INSTALLDIRS=vendor
51make %{?_smp_mflags}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55make pure_install DESTDIR=$RPM_BUILD_ROOT
56find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
57%{_fixperms} $RPM_BUILD_ROOT/*
58
59%check
60make test
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%doc Changes README.md
67%{_bindir}/mymeta-cpanfile
68#{_bindir}/cpanfile-dump
69%{perl_vendorlib}/*
70%{_mandir}/man1/mymeta-cpanfile*
71#{_mandir}/man1/cpanfile-dump*
72%{_mandir}/man3/*
73
74%changelog
75* Sun Dec  7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9021-1
76- Initial package for Vine Linux
77
78* Fri Sep 19 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1000-1
79- 1.1000 bump
80
81* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.0001-5
82- Perl 5.20 rebuild
83
84* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0001-4
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
86
87* Fri Aug 30 2013 Marcela Mašláňová <mmaslano@redhat.com> 1.0001-3
88- fix all problems found in review rhbz#929254
89
90* Tue Aug 27 2013 Marcela Mašláňová <mmaslano@redhat.com> 1.0001-2
91- fix all problems found in review rhbz#929254
92
93* Tue Aug 27 2013 Marcela Mašláňová <mmaslano@redhat.com> 1.0001-1
94- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.