123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- Summary: Portable implementation of the `which' utility
- Name: perl-File-Which
- Version: 0.05
- Release: 1%{_dist_release}
- Group: Development/Libraries
- URL: http://search.cpan.org/~pereinar/File-Which/
- License: distributable
- Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEREINAR/File-Which-%{version}.tar.gz
- BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: perl
- Requires: perl
- Vendor: Project Vine
- Distribution: Vine Linux
- %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
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
- find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
- #chmod -R u+w $RPM_BUILD_ROOT/*
- %check
- make test
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %doc Changes README
- %{_bindir}/pwhich
- %dir %{perl_vendorlib}/File
- %{perl_vendorlib}/File/*
- %{_mandir}/man1/*
- %{_mandir}/man3/*
- %changelog
- * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.05-1
- - rebuilt with perl-5.10.0.
- * Tue Dec 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.05-0vl1
- - First build for Vine Linux
|