e8107fa
Name:           perl-Class-Container
e8107fa
Version:        0.12
f0ec5fb
Release:        11%{?dist}
e8107fa
Summary:        Class::Container Perl module
34207af
License:        GPL+ or Artistic
e8107fa
Group:          Development/Libraries
e8107fa
URL:            http://search.cpan.org/dist/Class-Container/
2760104
Source0:        http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Class-Container-%{version}.tar.gz
e8107fa
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e8107fa
BuildArch:      noarch
84c62e5
BuildRequires:  perl(ExtUtils::MakeMaker)
e8107fa
BuildRequires:  perl(Params::Validate) >= 0.23
e8107fa
Requires:       perl(Params::Validate) >= 0.23
e8107fa
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e8107fa
e8107fa
%description
e8107fa
This class facilitates building frameworks of several classes that
e8107fa
inter-operate. It was first designed and built for "HTML::Mason", in
e8107fa
which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, and
e8107fa
several other objects must create each other transparently, passing the
e8107fa
appropriate parameters to the right class, possibly substituting other
e8107fa
subclasses for any of these objects.
e8107fa
e8107fa
The main features of "Class::Container" are:
e8107fa
e8107fa
*   Explicit declaration of containment relationships (aggregation,
e8107fa
    factory creation, etc.)
e8107fa
e8107fa
*   Declaration of constructor parameters accepted by each member in a
e8107fa
    class framework
e8107fa
e8107fa
*   Transparent passing of constructor parameters to the class that
e8107fa
    needs them
e8107fa
e8107fa
*   Ability to create one (automatic) or many (manual) contained objects
e8107fa
    automatically and transparently
e8107fa
e8107fa
%prep
e8107fa
%setup -q -n Class-Container-%{version}
e8107fa
e8107fa
%build
e8107fa
%{__perl} Makefile.PL INSTALLDIRS=vendor
e8107fa
make %{?_smp_mflags}
e8107fa
e8107fa
%install
e8107fa
rm -rf $RPM_BUILD_ROOT
e8107fa
e8107fa
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
e8107fa
e8107fa
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
2760104
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
e8107fa
84c62e5
%{_fixperms} $RPM_BUILD_ROOT/*
e8107fa
6f43997
perldoc -t perlgpl > COPYING
6f43997
perldoc -t perlartistic > Artistic
6f43997
e63ed01
%check
e8107fa
make test
e8107fa
e8107fa
%clean
e8107fa
rm -rf $RPM_BUILD_ROOT
e8107fa
e8107fa
%files
e8107fa
%defattr(-,root,root,-)
6f43997
%doc Changes README COPYING Artistic
e8107fa
%{perl_vendorlib}/*
e8107fa
%{_mandir}/man3/*
e8107fa
e8107fa
%changelog
f0ec5fb
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-11
f0ec5fb
- Mass rebuild with perl-5.12.0
f0ec5fb
489f4e3
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.12-10
489f4e3
- rebuild against perl 5.10.1
489f4e3
085bad2
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-9
085bad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
085bad2
6129036
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-8
6129036
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6129036
b7ddf23
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.12-7
b7ddf23
- Rebuild for perl 5.10 (again)
b7ddf23
34207af
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.12-6
34207af
- rebuild for new perl
34207af
84c62e5
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.12-5
84c62e5
- Use fixperms macro instead of our own chmod incantation.
84c62e5
- BR ExtUtils::MakeMaker.
84c62e5
2760104
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.12-4
2760104
- Canonicalize Source0 URL.
2760104
- Fix find option order.
2760104
6f43997
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.12-3
6f43997
- Remove explicit core module dependencies
6f43997
- Add COPYING and Artistic
6f43997
e63ed01
* Wed Aug 17 2005 Steven Pritchard <steve@kspei.com> 0.12-2
e63ed01
- Minor spec cleanup
e63ed01
e8107fa
* Tue Aug 16 2005 Steven Pritchard <steve@kspei.com> 0.12-1
e8107fa
- Specfile autogenerated.