rpms/perl-CPAN-Meta/F-12 perl-CPAN-Meta.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Iain Arnell iarnell at fedoraproject.org
Tue Jun 1 03:17:25 UTC 2010


Author: iarnell

Update of /cvs/pkgs/rpms/perl-CPAN-Meta/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv826/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	perl-CPAN-Meta.spec 
Log Message:
initial import


--- NEW FILE perl-CPAN-Meta.spec ---
Name:           perl-CPAN-Meta
Version:        2.101461
Release:        1%{?dist}
Summary:        Distribution metadata for a CPAN dist
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/CPAN-Meta/
Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(JSON) >= 2
BuildRequires:  perl(Parse::CPAN::Meta)
BuildRequires:  perl(Test::More) >= 0.88
BuildRequires:  perl(Version::Requirements) >= 0.101020
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
Software distributions released to the CPAN include a META.json or, for
older distributions, META.yml, which describes the distribution, its
contents, and the requirements for building and installing the
distribution. The data structure stored in the META.json file is described
in CPAN::Meta::Spec.

%prep
%setup -q -n CPAN-Meta-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes dist.ini history LICENSE META.json README Todo
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri May 28 2010 Iain Arnell <iarnell at gmail.com> 2.101461-1
- Specfile autogenerated by cpanspec 1.78.
- drop explicit requirements


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-CPAN-Meta/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	31 May 2010 19:34:07 -0000	1.1
+++ .cvsignore	1 Jun 2010 03:17:24 -0000	1.2
@@ -0,0 +1 @@
+CPAN-Meta-2.101461.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-CPAN-Meta/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	31 May 2010 19:34:08 -0000	1.1
+++ sources	1 Jun 2010 03:17:24 -0000	1.2
@@ -0,0 +1 @@
+cb52286aaf8c2743c2707f3947b3b584  CPAN-Meta-2.101461.tar.gz




More information about the perl-devel mailing list