[perl-Catalyst-Model-Adaptor] initial import (rhbz#742538)
Iain Arnell
iarnell at fedoraproject.org
Mon Oct 3 14:44:44 UTC 2011
commit 6bb4deebc91dd7292c049ddbfbc67f986f80ca67
Author: Iain Arnell <iarnell at gmail.com>
Date: Mon Oct 3 16:44:23 2011 +0200
initial import (rhbz#742538)
.gitignore | 1 +
perl-Catalyst-Model-Adaptor.spec | 51 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..aa91cb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Catalyst-Model-Adaptor-0.10.tar.gz
diff --git a/perl-Catalyst-Model-Adaptor.spec b/perl-Catalyst-Model-Adaptor.spec
new file mode 100644
index 0000000..df37b07
--- /dev/null
+++ b/perl-Catalyst-Model-Adaptor.spec
@@ -0,0 +1,51 @@
+Name: perl-Catalyst-Model-Adaptor
+Version: 0.10
+Release: 1%{?dist}
+Summary: Use a plain class as a Catalyst model
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Catalyst-Model-Adaptor/
+Source0: http://www.cpan.org/authors/id/B/BO/BOBTFISH/Catalyst-Model-Adaptor-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Catalyst::Runtime)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(MRO::Compat)
+BuildRequires: perl(ok)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::WWW::Mechanize::Catalyst)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The idea is that you don't want your Catalyst model to be anything other
+than a line or two of glue. Using this module ensures that your Model
+classes are separate from your application and therefore are well-
+abstracted, reusable, and easily testable.
+
+%prep
+%setup -q -n Catalyst-Model-Adaptor-%{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.10-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..6dfbf11 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+06756b1c13ebe84d3f2538975cfea978 Catalyst-Model-Adaptor-0.10.tar.gz
More information about the scm-commits
mailing list