rpms/perl-MooseX-ConfigFromFile/F-9 import.log, NONE, 1.1 perl-MooseX-ConfigFromFile.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Tue Dec 2 01:21:50 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-MooseX-ConfigFromFile/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2559/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-MooseX-ConfigFromFile.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-MooseX-ConfigFromFile-0_02-1_fc9:F-9:perl-MooseX-ConfigFromFile-0.02-1.fc9.src.rpm:1228180870


--- NEW FILE perl-MooseX-ConfigFromFile.spec ---

Name:       perl-MooseX-ConfigFromFile 
Version:    0.02 
Release:    1%{?dist}
# see lib/MooseX/ConfigFromFile.pm
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    An abstract Moose role for setting attributes from a configfile 
Source:     http://search.cpan.org/CPAN/authors/id/B/BL/BLBLACK/MooseX-ConfigFromFile-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/MooseX-ConfigFromFile
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(Moose) >= 0.35
BuildRequires: perl(MooseX::Types::Path::Class) >= 0.04
BuildRequires: perl(Test::More) >= 0.42


%description
This is an abstract role which provides an alternate constructor for
creating objects using parameters passed in from a configuration file. The
actual implementation of reading the configuration file is left to concrete
subroles.

It declares an attribute 'configfile' and a class method 'new_with_config',
and requires that concrete roles derived from it implement the class method
'get_config_from_file'.

Attributes specified directly as arguments to 'new_with_config' supercede
those in the configfile.

%prep
%setup -q -n MooseX-ConfigFromFile-%{version}

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

%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 ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

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

%changelog
* Wed Nov 05 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.02-1
- brush up for submission

* Mon Oct 27 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.02-0.1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-ConfigFromFile/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Dec 2008 21:24:00 -0000	1.1
+++ .cvsignore	2 Dec 2008 01:21:19 -0000	1.2
@@ -0,0 +1 @@
+MooseX-ConfigFromFile-0.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-ConfigFromFile/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Dec 2008 21:24:00 -0000	1.1
+++ sources	2 Dec 2008 01:21:19 -0000	1.2
@@ -0,0 +1 @@
+823a370058ef4b900341334b7fd06c51  MooseX-ConfigFromFile-0.02.tar.gz




More information about the fedora-extras-commits mailing list