2012-06-28 14:33:28 +00:00
|
|
|
Name: perl-Module-Install-AutoLicense
|
2017-02-20 11:50:20 +00:00
|
|
|
Version: 0.10
|
2017-07-27 04:59:13 +00:00
|
|
|
Release: 3%{?dist}
|
2012-06-28 14:33:28 +00:00
|
|
|
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
|
2017-02-20 11:50:20 +00:00
|
|
|
Patch0: Use-Module-Install-AutoLicense-for-tarball.patch
|
2012-06-28 14:33:28 +00:00
|
|
|
BuildArch: noarch
|
2017-02-20 11:50:20 +00:00
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
2017-07-12 12:41:43 +00:00
|
|
|
BuildRequires: perl-interpreter >= 1:5.6.0
|
2016-06-24 08:27:16 +00:00
|
|
|
BuildRequires: perl-generators
|
2012-06-28 14:33:28 +00:00
|
|
|
BuildRequires: perl(base)
|
2017-02-20 11:50:20 +00:00
|
|
|
BuildRequires: perl(Config)
|
2012-06-28 14:33:28 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.05
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Temp)
|
2017-02-20 11:50:20 +00:00
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(inc::Module::Install) >= 0.85
|
2012-06-28 14:33:28 +00:00
|
|
|
BuildRequires: perl(Module::Install) >= 0.85
|
|
|
|
BuildRequires: perl(Module::Install::Base)
|
2017-02-20 11:50:20 +00:00
|
|
|
BuildRequires: perl(Module::Install::Can)
|
2012-06-28 14:33:28 +00:00
|
|
|
BuildRequires: perl(Module::Install::GithubMeta)
|
2017-02-20 11:50:20 +00:00
|
|
|
BuildRequires: perl(Module::Install::Makefile)
|
|
|
|
BuildRequires: perl(Module::Install::Metadata)
|
|
|
|
BuildRequires: perl(Module::Install::WriteAll)
|
2012-06-28 14:33:28 +00:00
|
|
|
BuildRequires: perl(Software::License) >= 0.01
|
2017-02-20 11:50:20 +00:00
|
|
|
BuildRequires: perl(strict)
|
2012-06-28 14:33:28 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
2017-02-20 11:50:20 +00:00
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: sed
|
2012-06-28 14:33:28 +00: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}
|
2017-02-20 11:50:20 +00:00
|
|
|
%patch0 -p1
|
2012-06-28 14:33:28 +00:00
|
|
|
rm -r inc
|
|
|
|
sed -i -e '/^inc\// d' MANIFEST
|
|
|
|
find -type f -exec chmod -x {} +
|
|
|
|
|
|
|
|
%build
|
2017-02-20 11:50:20 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2012-06-28 14:33:28 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2017-02-20 11:50:20 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
2012-06-28 14:33:28 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2017-07-27 04:59:13 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-05 10:46:59 +00:00
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-2
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-20 11:50:20 +00:00
|
|
|
* Mon Feb 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-1
|
|
|
|
- 0.10 bump
|
|
|
|
|
2017-02-11 04:09:25 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-15 22:07:32 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-12
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 14:39:37 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 04:30:16 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-06 08:40:31 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-9
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-08-29 07:21:47 +00:00
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-8
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 07:07:02 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 02:21:36 +00:00
|
|
|
* Sun Aug 04 2013 Petr Pisar <ppisar@redhat.com> - 0.08-6
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-08-03 23:25:24 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 13:38:37 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 17:06:17 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-29 11:41:03 +00:00
|
|
|
* Fri Jun 29 2012 Petr Pisar <ppisar@redhat.com> - 0.08-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-28 14:33:28 +00:00
|
|
|
* Mon Jun 25 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.08-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|