source: projects/specs/branches/6/p/perl-File-Which/perl-File-Which-vl.spec @ 3736

Revision 3736, 1.6 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1Summary: Portable implementation of the `which' utility
2Name: perl-File-Which
3Version: 0.05
4Release: 2%{_dist_release}
5Group: Development/Libraries
6URL: http://search.cpan.org/~pereinar/File-Which/
7License: distributable
8Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEREINAR/File-Which-%{version}.tar.gz
9BuildArch: noarch
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildRequires: perl
12Requires: perl
13
14Vendor: Project Vine
15Distribution: Vine Linux
16
17%description
18File::Which is a portable implementation (in Perl) of `which', and can
19be used to get the absolute filename of an executable program
20installed somewhere in your PATH, or just check for its existence. It
21includes the command-line utility `pwhich' which has the same function
22as `which'.
23
24%prep
25%setup -q -n File-Which-%{version}
26
27%build
28perl Makefile.PL INSTALLDIRS=vendor
29make %{?_smp_mflags}
30
31%install
32rm -rf $RPM_BUILD_ROOT
33make install DESTDIR=$RPM_BUILD_ROOT
34find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
35find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
36#chmod -R u+w $RPM_BUILD_ROOT/*
37
38%check
39make test
40
41%clean
42rm -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
56* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.05-2
57- rebuild with perl-5.12.3
58
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.