rpms/perl-Class-Container/devel perl-Class-Container.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Wed Aug 17 22:43:28 UTC 2005


Author: steve

Update of /cvs/extras/rpms/perl-Class-Container/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18156/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Class-Container.spec 
Log Message:
auto-import perl-Class-Container-0.12-1 on branch devel from perl-Class-Container-0.12-1.src.rpm


--- NEW FILE perl-Class-Container.spec ---
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}

Name:           perl-Class-Container
Version:        0.12
Release:        1%{?dist}
Summary:        Class::Container Perl module
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Class-Container/
Source0:        http://www.cpan.org/modules/by-module/Class/Class-Container-0.12.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Params::Validate) >= 0.23
BuildRequires:  perl(Scalar::Util)
Requires:       perl(Params::Validate) >= 0.23
Requires:       perl(Scalar::Util)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This class facilitates building frameworks of several classes that
inter-operate. It was first designed and built for "HTML::Mason", in
which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, and
several other objects must create each other transparently, passing the
appropriate parameters to the right class, possibly substituting other
subclasses for any of these objects.

The main features of "Class::Container" are:

*   Explicit declaration of containment relationships (aggregation,
    factory creation, etc.)

*   Declaration of constructor parameters accepted by each member in a
    class framework

*   Transparent passing of constructor parameters to the class that
    needs them

*   Ability to create one (automatic) or many (manual) contained objects
    automatically and transparently

%prep
%setup -q -n Class-Container-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
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 -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

%check || :
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Tue Aug 16 2005 Steven Pritchard <steve at kspei.com> 0.12-1
- Specfile autogenerated.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-Container/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Aug 2005 22:42:49 -0000	1.1
+++ .cvsignore	17 Aug 2005 22:43:26 -0000	1.2
@@ -0,0 +1 @@
+Class-Container-0.12.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-Container/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Aug 2005 22:42:49 -0000	1.1
+++ sources	17 Aug 2005 22:43:26 -0000	1.2
@@ -0,0 +1 @@
+6896bdb4464b96ad638e22b0400acbc9  Class-Container-0.12.tar.gz




More information about the scm-commits mailing list