From 44a44e7448740034a1bb13ed2b03993d1818aafb Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 20 Nov 2017 14:54:33 -0500 Subject: [PATCH] initial commit --- .gitignore | 1 + perl-Clone-Choose.spec | 43 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 perl-Clone-Choose.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c0f8b29 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/Clone-Choose-0.008.tar.gz diff --git a/perl-Clone-Choose.spec b/perl-Clone-Choose.spec new file mode 100644 index 0000000..2f1b97f --- /dev/null +++ b/perl-Clone-Choose.spec @@ -0,0 +1,43 @@ +Name: perl-Clone-Choose +Version: 0.008 +Release: 1%{?dist} +Summary: Choose appropriate clone utility +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Clone-Choose/ +Source0: http://search.cpan.org/CPAN/authors/id/H/HE/HERMES/Clone-Choose-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(Test::More), perl(Clone::PP), perl(ExtUtils::MakeMaker), perl(Storable), perl(Clone) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +%{summary}. + +%prep +%setup -q -n Clone-Choose-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -x %{buildroot}%{perl_vendorlib}/Clone/Choose.pm +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README.md +%{perl_vendorlib}/Clone/ +%{_mandir}/man3/*.3* + +%changelog +* Mon Nov 20 2017 Tom Callaway - 0.008-1 +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..fb561a6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Clone-Choose-0.008.tar.gz) = c3165f7698f9790fb1ee60c4fba543807d94e2184bf4d43e7db8b9a5fc6c0dae977231baae4faf9ecef3dd52133b129d10b0c6e9ff0672e5803270d2443ce319