%define real_name File-SearchPath Summary: Search for a file in an environment variable path Name: perl-%{real_name} Version: 0.03 Release: %mkrel 2 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: http://search.cpan.org/CPAN/authors/id/T/TJ/TJENNESS/%{real_name}-%{version}.tar.gz BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This module provides the ability to search a path-like environment variable for a file (that does not necessarily have to be an executable). %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{perl_vendorlib}/File/SearchPath.pm %attr(0644,root,root) %{_mandir}/man3/File::SearchPath.3pm* %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.03-2mdv2009.0 + Revision: 268510 - rebuild early 2009.0 package (before pixel changes) * Wed Apr 16 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.03-1mdv2009.0 + Revision: 194852 - update to new version 0.03 - update to new version 0.03 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Nov 01 2007 Oden Eriksson <oeriksson@mandriva.com> 0.02-1mdv2008.1 + Revision: 104410 - import perl-File-SearchPath * Thu Nov 01 2007 Oden Eriksson <oeriksson@mandriva.com> 0.02-1mdv2008.1 - initial Mandriva package