diff --git a/.gitignore b/.gitignore index e69de29..756dc05 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Shell-Config-Generate-0.26.tar.gz diff --git a/perl-Shell-Config-Generate.spec b/perl-Shell-Config-Generate.spec new file mode 100644 index 0000000..8c2c025 --- /dev/null +++ b/perl-Shell-Config-Generate.spec @@ -0,0 +1,61 @@ +Name: perl-Shell-Config-Generate +Version: 0.26 +Release: 1%{?dist} +Summary: Portably generate configuration for any shell +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Shell-Config-Generate/ +Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/Shell-Config-Generate-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= 5.8.1 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Shell::Guess) >= 0.02 +# Tests: +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +# IPC::Open3 not used +BuildRequires: perl(Test::More) >= 0.94 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Shell::Guess) >= 0.02 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Shell::Guess\\)$ + +%description +This Perl module provides an interface for specifying shell configurations for +different shell environments without having to worry about the arcane +differences between shells such as csh, sh, cmd.exe and command.com. + +%prep +%setup -q -n Shell-Config-Generate-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jul 21 2017 Petr Pisar 0.26-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..99f6efb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (Shell-Config-Generate-0.26.tar.gz) = 8b37e8054ca3af8670a61672364e9fda397a2d2eeb85bf5ccdd3266714e9fecb8fd7a16812d8990ce676e526c8e76224d5ab1c5aaa8ddeec5e14f551b8cc7f70