perl-File-Which-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Summary: Portable implementation of the `which' utility
  2. Name: perl-File-Which
  3. Version: 1.27
  4. Release: 1%{_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL+ or Artistic
  9. URL: https://metacpan.org/pod/File::Which
  10. Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-%{version}.tar.gz
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(File::Spec)
  15. BuildRequires: perl(Test::More)
  16. BuildRequires: perl(Test::Script)
  17. Requires: perl >= 2:5.34.0
  18. %{?perl_default_filter}
  19. %description
  20. File::Which is a portable implementation (in Perl) of `which', and can
  21. be used to get the absolute filename of an executable program
  22. installed somewhere in your PATH, or just check for its existence. It
  23. includes the command-line utility `pwhich' which has the same function
  24. as `which'.
  25. %prep
  26. %setup -q -n File-Which-%{version}
  27. %build
  28. perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  34. %{_fixperms} $RPM_BUILD_ROOT/*
  35. %check
  36. make test
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc Changes README
  42. %dir %{perl_vendorlib}/File
  43. %{perl_vendorlib}/File/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1
  47. - new upstream release.
  48. - built with perl-5.34.0.
  49. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.23-1
  50. - new upstream release.
  51. - rebuilt with perl-5.26.
  52. * Sat Nov 8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.09-1
  53. - updated to 1.09
  54. - built with perl 5.16.3
  55. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.05-2
  56. - rebuild with perl-5.12.3
  57. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.05-1
  58. - rebuilt with perl-5.10.0.
  59. * Tue Dec 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.05-0vl1
  60. - First build for Vine Linux