Name: perl-Shell-Guess Version: 0.06 Release: 1%{?dist} Summary: Make an educated guess about the shell in use License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Shell-Guess/ Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/Shell-Guess-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) >= 0.94 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Shell::Guess makes a reasonably aggressive attempt to determine the shell being employed by the user, either the shell that executed the perl script directly (the "running" shell), or the users' login shell (the "login" shell). It does this by a variety of means available to it, depending on the platform that it is running on. %prep %setup -q -n Shell-Guess-%{version} %build %{__perl} Build.PL --installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jul 22 2017 Dave Cross 0.06-1 - Specfile autogenerated by cpanspec 1.78.