Revision 3736,
1.6 KB
checked in by Takemikaduchi, 13 years ago
(diff) |
rebuild with perl-5.12.3
|
Rev | Line | |
---|
[521] | 1 | Summary: Portable implementation of the `which' utility |
---|
| 2 | Name: perl-File-Which |
---|
| 3 | Version: 0.05 |
---|
[3736] | 4 | Release: 2%{_dist_release} |
---|
[521] | 5 | Group: Development/Libraries |
---|
| 6 | URL: http://search.cpan.org/~pereinar/File-Which/ |
---|
| 7 | License: distributable |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEREINAR/File-Which-%{version}.tar.gz |
---|
| 9 | BuildArch: noarch |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: perl |
---|
| 12 | Requires: perl |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | File::Which is a portable implementation (in Perl) of `which', and can |
---|
| 19 | be used to get the absolute filename of an executable program |
---|
| 20 | installed somewhere in your PATH, or just check for its existence. It |
---|
| 21 | includes the command-line utility `pwhich' which has the same function |
---|
| 22 | as `which'. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q -n File-Which-%{version} |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 29 | make %{?_smp_mflags} |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf $RPM_BUILD_ROOT |
---|
| 33 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 34 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 35 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 36 | #chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 37 | |
---|
| 38 | %check |
---|
| 39 | make test |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-,root,root,-) |
---|
| 47 | %doc Changes README |
---|
| 48 | %{_bindir}/pwhich |
---|
| 49 | %dir %{perl_vendorlib}/File |
---|
| 50 | %{perl_vendorlib}/File/* |
---|
| 51 | %{_mandir}/man1/* |
---|
| 52 | %{_mandir}/man3/* |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %changelog |
---|
[3736] | 56 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.05-2 |
---|
| 57 | - rebuild with perl-5.12.3 |
---|
| 58 | |
---|
[521] | 59 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.05-1 |
---|
| 60 | - rebuilt with perl-5.10.0. |
---|
| 61 | |
---|
| 62 | * Tue Dec 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.05-0vl1 |
---|
| 63 | - First build for Vine Linux |
---|
Note: See
TracBrowser
for help on using the repository browser.