Initial import (#1127720).
This commit is contained in:
parent
6f9af93b87
commit
43d9d31675
|
@ -0,0 +1 @@
|
|||
/MooX-ConfigFromFile-0.002.tar.gz
|
|
@ -0,0 +1,60 @@
|
|||
Name: perl-MooX-ConfigFromFile
|
||||
Version: 0.002
|
||||
Release: 1%{?dist}
|
||||
Summary: Moo eXtension for initializing objects from config file
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/MooX-ConfigFromFile/
|
||||
Source0: http://www.cpan.org/modules/by-module/MooX/MooX-ConfigFromFile-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Config::Any)
|
||||
BuildRequires: perl(File::Find::Rule) >= 0.30
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Moo) >= 1.003
|
||||
BuildRequires: perl(Moo::Role)
|
||||
BuildRequires: perl(MooX::File::ConfigDir) >= 0.002
|
||||
BuildRequires: perl(Moose)
|
||||
BuildRequires: perl(Moose::Role)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
Requires: perl(File::Find::Rule) >= 0.30
|
||||
Requires: perl(Moo) >= 1.003
|
||||
Requires: perl(MooX::File::ConfigDir) >= 0.002
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Find::Rule\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MooX::File::ConfigDir\\)$
|
||||
%description
|
||||
This module is intended to easy load initialization values for attributes
|
||||
on object construction from an appropriate config file. The building is
|
||||
done in MooX::ConfigFromFile::Rule - using MooX::ConfigFromFile ensures the
|
||||
role is applied.
|
||||
|
||||
%prep
|
||||
%setup -q -n MooX-ConfigFromFile-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 22 2014 David Dick <ddick@cpan.org> - 0.002-1
|
||||
- Initial release
|
Loading…
Reference in New Issue