Package Init
This commit is contained in:
commit
29f100566c
BIN
Config-AutoConf-0.317.tar.gz
Normal file
BIN
Config-AutoConf-0.317.tar.gz
Normal file
Binary file not shown.
52
perl-Config-AutoConf.spec
Normal file
52
perl-Config-AutoConf.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: perl-Config-AutoConf
|
||||
Version: 0.317
|
||||
Release: 4
|
||||
Summary: A module to implement some of AutoConf macros in pure Perl
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Config-AutoConf
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/Config-AutoConf-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl-interpreter perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(strict) perl(warnings)
|
||||
BuildRequires: perl(base) perl(Capture::Tiny) perl(Carp) perl(Config) perl(constant)
|
||||
BuildRequires: perl(Exporter) perl(File::Basename) perl(File::Spec) perl(File::Temp) perl(Text::ParseWords)
|
||||
BuildRequires: perl(Cwd) perl(ExtUtils::CBuilder) perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||
|
||||
%description
|
||||
This module simulates some of the tasks autoconf macros do. To detect
|
||||
a command, a library and similar.
|
||||
|
||||
%package help
|
||||
Summary: Help document for the perl-Config-AutoConf package
|
||||
|
||||
%description help
|
||||
Help document for the perl-Config-AutoConf package
|
||||
|
||||
%prep
|
||||
%autosetup -n Config-AutoConf-%{version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%{__make} pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
%if %{?_with_check:1}%{!?_with_check:0}
|
||||
%{__make} test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%doc Changes README.md
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 18 2019 wanjiankang <wanjiankang@huawei.com> - 0.317-4
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user