# # spec file for package perl-Perl-PrereqScanner # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Perl-PrereqScanner Version: 1.008 Release: 1 License: GPL-1.0+ or Artistic-1.0 %define cpan_name Perl-PrereqScanner Summary: Scan your Perl code for its prerequisites Url: http://search.cpan.org/dist/Perl-PrereqScanner/ Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/J/JQ/JQUELIN/Perl-PrereqScanner-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Role) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Params::Util) BuildRequires: perl(PPI) >= 1.205 BuildRequires: perl(PPI::Document) BuildRequires: perl(String::RewritePrefix) >= 0.005 BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Try::Tiny) BuildRequires: perl(Version::Requirements) >= 0.100630 Requires: perl(List::MoreUtils) Requires: perl(Moose) Requires: perl(Moose::Role) Requires: perl(namespace::autoclean) Requires: perl(Params::Util) Requires: perl(PPI) >= 1.205 Requires: perl(String::RewritePrefix) >= 0.005 Requires: perl(Version::Requirements) >= 0.100630 %{perl_requires} %description The scanner will extract loosely your distribution prerequisites from your files. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE README %changelog