Initial import (#1161126)
This commit is contained in:
parent
c7f8103104
commit
268610046d
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Config-AutoConf-0.305.tar.gz
|
||||
60
perl-Config-AutoConf.spec
Normal file
60
perl-Config-AutoConf.spec
Normal file
@ -0,0 +1,60 @@
|
||||
Name: perl-Config-AutoConf
|
||||
Version: 0.305
|
||||
Release: 1%{?dist}
|
||||
Summary: A module to implement some of AutoConf macros in pure perl
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Config-AutoConf/
|
||||
Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/Config-AutoConf-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{_bindir}/iconv
|
||||
# Build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Capture::Tiny)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
# Tests only
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: 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.
|
||||
|
||||
%prep
|
||||
%setup -q -n Config-AutoConf-%{version}
|
||||
iconv -f latin1 -t utf8 README > README.utf8 && \
|
||||
touch README.utf8 -r README && \
|
||||
mv -f README.utf8 README
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Nov 06 2014 Petr Šabata <contyk@redhat.com> 0.305-1
|
||||
- Initial packaging
|
||||
Loading…
Reference in New Issue
Block a user