Name: perl-MooseX-SimpleConfig Version: 0.03 Release: 1%{?dist} Summary: Moose role for setting attributes from a simple configfile License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-SimpleConfig/ Source0: http://www.cpan.org/authors/id/B/BL/BLBLACK/MooseX-SimpleConfig-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Config::Any) >= 0.10 BuildRequires: perl(Moose) >= 0.35 BuildRequires: perl(MooseX::ConfigFromFile) >= 0.02 Requires: perl(Config::Any) >= 0.10 Requires: perl(Moose) >= 0.35 Requires: perl(MooseX::ConfigFromFile) >= 0.02 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This role loads simple configfiles to set object attributes. It is based on the abstract role MooseX::ConfigFromFile, and uses Config::Any to load your configfile. Config::Any will in turn support any of a variety of different config formats, detected by the file extension. See Config::Any for more details about supported formats. %prep %setup -q -n MooseX-SimpleConfig-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun May 17 2009 Dave Cross 0.03-1 - Specfile autogenerated by cpanspec 1.77.