From b4197da99bb5c1dc54f4f17b7ed2bca72deecf22 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Jul 05 2013 12:22:43 +0000 Subject: Initial SETUP. --- diff --git a/.gitignore b/.gitignore index e69de29..b3806a9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CPAN-FindDependencies-2.42.tar.gz diff --git a/perl-CPAN-FindDependencies.spec b/perl-CPAN-FindDependencies.spec new file mode 100644 index 0000000..2f05d0a --- /dev/null +++ b/perl-CPAN-FindDependencies.spec @@ -0,0 +1,56 @@ +%global pkgname CPAN-FindDependencies + +Name: perl-CPAN-FindDependencies +Version: 2.42 +Release: 2%{?dist} +Summary: Find dependencies for modules on CPAN +License: GPLv2+ or Artistic +URL: http://search.cpan.org/dist/CPAN-FindDependencies/ +Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/%{pkgname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(Devel::CheckOS) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Temp) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(Module::CoreList) +BuildRequires: perl(Parse::CPAN::Packages) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(URI::file) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(YAML::Tiny) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides tools to find a module's dependencies (and their +dependencies, and so on) without having to download the modules in +their entirety. + +%prep +%setup -qn %{pkgname}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc ARTISTIC.txt CHANGELOG GPL2.txt README TODO +%{_bindir}/cpandeps +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Wed Jul 03 2013 Christopher Meng - 2.42-2 +- Fix the license. + +* Thu May 30 2013 Christopher Meng - 2.42-1 +- Initial Package. diff --git a/sources b/sources index e69de29..3f70292 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +789705fdf4811dffe5cb5175e5ab40a2 CPAN-FindDependencies-2.42.tar.gz