From 268610046d4dffc69a5283d5e2e7a66ebd2645d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 6 Nov 2014 17:37:26 +0100 Subject: [PATCH] Initial import (#1161126) --- .gitignore | 1 + perl-Config-AutoConf.spec | 60 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+) create mode 100644 perl-Config-AutoConf.spec diff --git a/.gitignore b/.gitignore index e69de29..870a39c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Config-AutoConf-0.305.tar.gz diff --git a/perl-Config-AutoConf.spec b/perl-Config-AutoConf.spec new file mode 100644 index 0000000..970689b --- /dev/null +++ b/perl-Config-AutoConf.spec @@ -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 0.305-1 +- Initial packaging diff --git a/sources b/sources index e69de29..cc27fa4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c0e85943cbdc0c5853b04d0319a38975 Config-AutoConf-0.305.tar.gz