[perl-Storm/f18] Initial SETUP.

Christopher Meng cicku at fedoraproject.org
Tue Jul 23 02:08:47 UTC 2013


commit 51a34a42b1f1afd7034af08895e6b01bcd4496e8
Author: Christopher Meng <rpm at cicku.me>
Date:   Tue Jul 23 10:08:10 2013 +0800

    Initial SETUP.

 .gitignore      |    1 +
 perl-Storm.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..72bf7d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Storm-0.240.tar.gz
diff --git a/perl-Storm.spec b/perl-Storm.spec
new file mode 100644
index 0000000..82ec245
--- /dev/null
+++ b/perl-Storm.spec
@@ -0,0 +1,49 @@
+%global pkgname Storm
+
+Name:           perl-Storm
+Version:        0.240
+Release:        1%{?dist}
+Summary:        Object-relational mapping
+License:        Artistic 2.0
+URL:            http://search.cpan.org/dist/Storm/
+Source0:        http://www.cpan.org/authors/id/J/JH/JHALLOCK/%{pkgname}-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(DateTime)
+BuildRequires:  perl(DateTime::Format::MySQL)
+BuildRequires:  perl(DateTime::Format::SQLite)
+BuildRequires:  perl(DBD::SQLite)
+BuildRequires:  perl(DBI)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(MooseX::SemiAffordanceAccessor)
+BuildRequires:  perl(MooseX::StrictConstructor)
+BuildRequires:  perl(MooseX::Types)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Storm is a Moose based library for storing and retrieving objects over a
+DBI connection.
+
+%prep
+%setup -qn %{pkgname}-%{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 {} \;
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README Storm.komodoproject
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun May 26 2013 Christopher Meng <rpm at cicku.me> - 0.240-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..3241300 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+69c38c5c427a279c97738f1e99891032  Storm-0.240.tar.gz


More information about the scm-commits mailing list