rpms/perl-MooseX-Role-Parameterized/devel import.log, NONE, 1.1 perl-MooseX-Role-Parameterized.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: cweyl

Update of /cvs/extras/rpms/perl-MooseX-Role-Parameterized/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22194/devel

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


--- NEW FILE import.log ---
perl-MooseX-Role-Parameterized-0_02-1_fc10:HEAD:perl-MooseX-Role-Parameterized-0.02-1.fc10.src.rpm:1231973975


--- NEW FILE perl-MooseX-Role-Parameterized.spec ---
Name:       perl-MooseX-Role-Parameterized 
Version:    0.02 
Release:    1%{?dist}
# see LICENSE 
License:    GPL+ or Artistic
Group:      Development/Libraries
Summary:    Make your roles flexible through parameterization
Source:     http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/MooseX-Role-Parameterized-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/MooseX-Role-Parameterized
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(Moose) >= 0.63
# tests
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Storable)
BuildRequires: perl(Data::Dumper)

%description
Roles are composable units of behavior. They are useful for factoring out
functionality common to many classes from any part of your class hierarchy.
(See Moose::Cookbook::Roles::Recipe1 for an introduction to Moose::Role.)

While combining roles affords you a great deal of flexibility, individual
roles have very little in the way of configurability. Core Moose provides
alias for renaming methods to avoid conflicts, and excludes for ignoring
methods you don't want or need (see Moose::Cookbook::Roles::Recipe2 for more
about alias and excludes).

Because roles serve many different masters, they usually provide only the
least common denominator of functionality. To empower roles further, more
configurability than alias and excludes is required. Perhaps your role needs
to know which method to call when it is done. Or what default value to use for
its url attribute.

Parameterized roles offer exactly this solution.

%prep
%setup -q -n MooseX-Role-Parameterized-%{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 Changes LICENSE README 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Mon Jan 12 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.02-1
- update for submission

* Sun Jan 11 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.02-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.7)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-Role-Parameterized/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Jan 2009 21:20:19 -0000	1.1
+++ .cvsignore	14 Jan 2009 22:59:46 -0000	1.2
@@ -0,0 +1 @@
+MooseX-Role-Parameterized-0.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-Role-Parameterized/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Jan 2009 21:20:19 -0000	1.1
+++ sources	14 Jan 2009 22:59:46 -0000	1.2
@@ -0,0 +1 @@
+2adcf2c7225c34768d80efb018d877ab  MooseX-Role-Parameterized-0.02.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux