Blame SPECS/perl-Config-AutoConf.spec

5e01c2
# Use File::Slurper for reading file content
5e01c2
%bcond_without perl_Config_AutoConf_enables_File_Slurper
5e01c2
# Use Scalar::Util for detecting numbers
5e01c2
%bcond_without perl_Config_AutoConf_enables_Scalar_Util
5e01c2
5e01c2
Name:           perl-Config-AutoConf
5e01c2
Version:        0.319
5e01c2
Release:        2%{?dist}
5e01c2
Summary:        A module to implement some of AutoConf macros in pure Perl
5e01c2
License:        GPL+ or Artistic
5e01c2
URL:            https://metacpan.org/release/Config-AutoConf
5e01c2
Source0:        https://cpan.metacpan.org/authors/id/R/RE/REHSACK/Config-AutoConf-%{version}.tar.gz
5e01c2
BuildArch:      noarch
5e01c2
# Build
5e01c2
BuildRequires:  gcc
5e01c2
BuildRequires:  make
5e01c2
BuildRequires:  perl-interpreter
5e01c2
BuildRequires:  perl-generators
5e01c2
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
5e01c2
BuildRequires:  perl(strict)
5e01c2
BuildRequires:  perl(warnings)
5e01c2
# Runtime
5e01c2
BuildRequires:  perl(base)
5e01c2
BuildRequires:  perl(Capture::Tiny)
5e01c2
BuildRequires:  perl(Carp)
5e01c2
BuildRequires:  perl(Config)
5e01c2
BuildRequires:  perl(constant)
5e01c2
BuildRequires:  perl(Exporter)
5e01c2
BuildRequires:  perl(File::Basename)
5e01c2
%if %{with perl_Config_AutoConf_enables_File_Slurper}
5e01c2
BuildRequires:  perl(File::Slurper)
5e01c2
%endif
5e01c2
BuildRequires:  perl(File::Spec)
5e01c2
BuildRequires:  perl(File::Temp)
5e01c2
%if %{with perl_Config_AutoConf_enables_Scalar_Util}
5e01c2
BuildRequires:  perl(Scalar::Util) >= 1.18
5e01c2
%endif
5e01c2
BuildRequires:  perl(Text::ParseWords)
5e01c2
# Tests only
5e01c2
BuildRequires:  perl(Cwd)
5e01c2
BuildRequires:  perl(ExtUtils::CBuilder)
5e01c2
# Unused BuildRequires:  perl(IO::String)
5e01c2
BuildRequires:  perl(Test::More)
5e01c2
Requires:       perl(:MODULE_COMPAT_%(eval "$(/usr/bin/perl -V:version)"; echo $version))
5e01c2
%if %{with perl_Config_AutoConf_enables_File_Slurper}
5e01c2
Suggests:       perl(File::Slurper)
5e01c2
%endif
5e01c2
%if %{with perl_Config_AutoConf_enables_Scalar_Util}
5e01c2
Suggests:       perl(Scalar::Util) >= 1.18
5e01c2
%endif
5e01c2
5e01c2
%description
5e01c2
This module simulates some of the tasks autoconf macros do.  To detect
5e01c2
a command, a library and similar.
5e01c2
5e01c2
%prep
5e01c2
%setup -q -n Config-AutoConf-%{version}
5e01c2
5e01c2
%build
5e01c2
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
5e01c2
%{make_build}
5e01c2
5e01c2
%install
5e01c2
%{make_install}
5e01c2
%{_fixperms} %{buildroot}/*
5e01c2
5e01c2
%check
5e01c2
%{make_build} test
5e01c2
5e01c2
%files
5e01c2
%doc Changes README.md
5e01c2
%{perl_vendorlib}/*
5e01c2
%{_mandir}/man3/*
5e01c2
5e01c2
%changelog
5e01c2
* Tue Jan 12 2021 Petr Pisar <ppisar@redhat.com> - 0.319-2
5e01c2
- Suggest File::Slurper for reading file content
5e01c2
- Suggest Scalar::Util for detecting numbers
5e01c2
5e01c2
* Sun Oct 04 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 0.319-1
5e01c2
- Update to 0.319
5e01c2
5e01c2
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.318-4
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5e01c2
5e01c2
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.318-3
5e01c2
- Perl 5.32 rebuild
5e01c2
5e01c2
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.318-2
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5e01c2
5e01c2
* Sun Jan 05 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 0.318-1
5e01c2
- Update to 0.318
5e01c2
- Add perl(File::Slurper) as a dependency
5e01c2
- Use /usr/bin/perl instead of perl
5e01c2
- Use %%{make_install} instead of make pure_install
5e01c2
- Use %%{make_build} instead of make
5e01c2
5e01c2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.317-6
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5e01c2
5e01c2
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.317-5
5e01c2
- Perl 5.30 rebuild
5e01c2
5e01c2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.317-4
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5e01c2
5e01c2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.317-3
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5e01c2
5e01c2
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.317-2
5e01c2
- Perl 5.28 rebuild
5e01c2
5e01c2
* Sun Jun 10 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.317-1
5e01c2
- Update to 0.317
5e01c2
5e01c2
* Sun Apr 22 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.316-1
5e01c2
- Update to 0.316
5e01c2
5e01c2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.315-2
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5e01c2
5e01c2
* Sun Aug 06 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.315-1
5e01c2
- Update to 0.315
5e01c2
5e01c2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.314-3
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5e01c2
5e01c2
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.314-2
5e01c2
- Perl 5.26 rebuild
5e01c2
5e01c2
* Sun Apr 02 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.314-1
5e01c2
- Update to 0.314
5e01c2
5e01c2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.313-2
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5e01c2
5e01c2
* Tue May 31 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.313-1
5e01c2
- Update to 0.313
5e01c2
5e01c2
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.311-6
5e01c2
- Perl 5.24 rebuild
5e01c2
5e01c2
* Sun Mar 20 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.311-5
5e01c2
- Replace glibc-headers as a glibc-headers with gcc (#1230486)
5e01c2
5e01c2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.311-4
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5e01c2
5e01c2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.311-3
5e01c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5e01c2
5e01c2
* Thu Jun 11 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.311-2
5e01c2
- Perl 5.22 rebuild
5e01c2
5e01c2
* Wed Jun 10 2015 Petr Šabata <contyk@redhat.com> - 0.311-1
5e01c2
- 0.311 bump
5e01c2
5e01c2
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.309-2
5e01c2
- Perl 5.22 rebuild
5e01c2
5e01c2
* Wed Feb 18 2015 Petr Šabata <contyk@redhat.com> - 0.309-1
5e01c2
- 0.309 bump
5e01c2
5e01c2
* Thu Nov 06 2014 Petr Šabata <contyk@redhat.com> 0.305-1
5e01c2
- Initial packaging