Name: perl-Env-Path Version: 0.18 Release: 1%{?dist} Summary: Advanced operations on path variables License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Env-Path/ Source0: http://www.cpan.org/authors/id/D/DS/DSB/Env-Path-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Env::Path presents an object-oriented interface to path variables, defined as that subclass of environment variables which name an ordered list of filesystem elements separated by a platform-standard separator. %prep %setup -q -n Env-Path-%{version} chmod 0644 examples/Whence sed -i '1s,#!.*,#!%{__perl},' examples/Whence %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README examples/Whence %{perl_vendorlib}/* %{_mandir}/man3/* %{_mandir}/man1/* %{_bindir}/* %changelog * Sat Nov 05 2011 Iain Arnell 0.18-1 - Specfile autogenerated by cpanspec 1.79.