Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 84d5a295be5b8548c98700995a2a8447 > files > 2

perl-V-0.13-3.fc13.src.rpm

Name:		perl-V
Version:	0.13
Release:	3%{?dist}
Summary:	Print version of the specified Perl modules

Group:		Development/Libraries
License:	GPL+ or Artistic
URL:		http://search.cpan.org/dist/V
Source0:	http://search.cpan.org/CPAN/authors/id/A/AB/ABELTJE/V-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

BuildArch:	noarch

BuildRequires:	perl(ExtUtils::MakeMaker)
BuildRequires:	perl(Test::More)

%description
A light-weight module for getting versions of Perl modules without
loading them.

%prep
%setup -q -n V-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test TEST_VERBOSE=1

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*


%changelog
* Sat Apr  3 2010 Johan Vromans <jvromans@squirrel.nl> - 0.13-3
- Solve the dist puzzle.

* Thu Oct 22 2009 Johan Vromans <jvromans@squirrel.nl> 0.13-1
- Initial Fedora RPM version