Summary: Portable implementation of the `which' utility Name: perl-File-Which Version: 1.27 Release: 1%{_dist_release} Group: programming Vendor: Project Vine Distribution: Vine Linux License: GPL+ or Artistic URL: https://metacpan.org/pod/File::Which Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Script) Requires: perl >= 2:5.34.0 %{?perl_default_filter} %description File::Which is a portable implementation (in Perl) of `which', and can be used to get the absolute filename of an executable program installed somewhere in your PATH, or just check for its existence. It includes the command-line utility `pwhich' which has the same function as `which'. %prep %setup -q -n File-Which-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %dir %{perl_vendorlib}/File %{perl_vendorlib}/File/* %{_mandir}/man3/* %changelog * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO 1.27-1 - new upstream release. - built with perl-5.34.0. * Sat May 18 2019 Tomohiro "Tomo-p" KATO 1.23-1 - new upstream release. - rebuilt with perl-5.26. * Sat Nov 8 2014 Ryoichi INAGAKI 1.09-1 - updated to 1.09 - built with perl 5.16.3 * Sat Apr 30 2011 Yoji TOYODA 0.05-2 - rebuild with perl-5.12.3 * Thu May 1 2008 Tomohiro 'Tomo-p' KATO 0.05-1 - rebuilt with perl-5.10.0. * Tue Dec 5 2006 Ryoichi INAGAKI 0.05-0vl1 - First build for Vine Linux