[perl-CatalystX-InjectComponent] initial import (rhbz#742552)
Iain Arnell
iarnell at fedoraproject.org
Mon Oct 3 14:33:12 UTC 2011
commit 72cdc466ebd6470d5ed1d5eff847348eac1b36c4
Author: Iain Arnell <iarnell at gmail.com>
Date: Mon Oct 3 16:32:46 2011 +0200
initial import (rhbz#742552)
.gitignore | 1 +
perl-CatalystX-InjectComponent.spec | 55 +++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..46ceb59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CatalystX-InjectComponent-0.024.tar.gz
diff --git a/perl-CatalystX-InjectComponent.spec b/perl-CatalystX-InjectComponent.spec
new file mode 100644
index 0000000..b4f1152
--- /dev/null
+++ b/perl-CatalystX-InjectComponent.spec
@@ -0,0 +1,55 @@
+Name: perl-CatalystX-InjectComponent
+Version: 0.024
+Release: 1%{?dist}
+Summary: Inject components into your Catalyst application
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/CatalystX-InjectComponent/
+Source0: http://www.cpan.org/authors/id/R/RK/RKRIMEN/CatalystX-InjectComponent-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Carp)
+BuildRequires: perl(Catalyst::Runtime) >= 5.80000
+BuildRequires: perl(Class::Inspector)
+BuildRequires: perl(Devel::InnerPackage)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(parent)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Most)
+Requires: perl(Catalyst::Runtime) >= 5.80000
+Requires: perl(parent)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+CatalystX::InjectComponent will inject Controller, Model, and View components
+into your Catalyst application at setup (run)time. It does this by creating a
+new package on-the-fly, having that package extend the given component, and
+then having Catalyst setup the new component (via ->setup_component).
+
+%prep
+%setup -q -n CatalystX-InjectComponent-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{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
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Sep 30 2011 Iain Arnell <iarnell at gmail.com> 0.024-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d08294e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9e6aa756ed402b9397c6d8023033e36b CatalystX-InjectComponent-0.024.tar.gz
More information about the perl-devel
mailing list