Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 115b03ca6aed03db1150e61e19ca96fd > files > 2

perl-Module-Extract-Use-1.10.0-1.mga1.src.rpm

%define upstream_name    Module-Extract-Use
%define upstream_version 1.01

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Pull out the modules a module uses
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Module/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(PPI)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Output)
BuildArch:  noarch

%description
Extract the names of the modules used in a file using a static analysis.
Since this module does not run code, it cannot find dynamic uses of
modules, such as 'eval "require $class"'.

* new

  Makes an object. The object doesn't do anything just yet, but you need it
  to call the methods.

%prep
%setup -q -n %{upstream_name}-%{upstream_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 Changes LICENSE META.yml README examples
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog
* Mon Apr 04 2011 jquelin <jquelin> 1.10.0-1.mga1
+ Revision: 80374
- update to 1.01

* Thu Mar 24 2011 jquelin <jquelin> 0.180.0-1.mga1
+ Revision: 76651
- update to 0.18

* Sun Jan 23 2011 jquelin <jquelin> 0.170.0-1.mga1
+ Revision: 33956
- mageia rebuild
- cleaning spec file
- imported package perl-Module-Extract-Use