Initial import

This commit is contained in:
Jitka Plesnikova 2012-06-28 16:33:28 +02:00
parent b5a71e0c31
commit 6ca157bb4a
3 changed files with 62 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Module-Install-AutoLicense-0.08.tar.gz

View File

@ -0,0 +1,60 @@
Name: perl-Module-Install-AutoLicense
Version: 0.08
Release: 1%{?dist}
Summary: Module::Install extension to automatically generate LICENSE files
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Install-AutoLicense/
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-AutoLicense-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl >= 1:5.6.0
BuildRequires: perl(inc::Module::Install) >= 0.85
BuildRequires: perl(base)
BuildRequires: perl(Capture::Tiny) >= 0.05
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Module::Install) >= 0.85
BuildRequires: perl(Module::Install::Base)
BuildRequires: perl(Module::Install::GithubMeta)
BuildRequires: perl(Software::License) >= 0.01
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
Requires: perl(Module::Install) >= 0.85
Requires: perl(Software::License) >= 0.01
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Module::Install::AutoLicense is a Module::Install extension that generates
a LICENSE file automatically whenever the author runs Makefile.PL. On the
user side it does nothing.
%prep
%setup -q -n Module-Install-AutoLicense-%{version}
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
find -type f -exec chmod -x {} +
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$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
%files
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Jun 25 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.08-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
1bdc939ddf41388ee6893f1339726d09 Module-Install-AutoLicense-0.08.tar.gz