[perl-MooseX-Types-Stringlike] Initial import (perl-MooseX-Types-Stringlike-0.002-1)

Paul Howarth pghmcfc at fedoraproject.org
Thu Mar 27 19:11:30 UTC 2014


commit bf41294b1fbf2095fdfa33473820de56ba9013a1
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Mar 27 19:10:47 2014 +0000

    Initial import (perl-MooseX-Types-Stringlike-0.002-1)
    
    This module provides a more general version of the Str type. If coercions are
    enabled, it will accept objects that overload stringification and coerces them
    into strings.

 .gitignore                        |    1 +
 perl-MooseX-Types-Stringlike.spec |   56 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6ba62fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooseX-Types-Stringlike-[0-9.]*.tar.gz
diff --git a/perl-MooseX-Types-Stringlike.spec b/perl-MooseX-Types-Stringlike.spec
new file mode 100644
index 0000000..57a509e
--- /dev/null
+++ b/perl-MooseX-Types-Stringlike.spec
@@ -0,0 +1,56 @@
+Name:		perl-MooseX-Types-Stringlike
+Summary:	Moose type constraints for strings or string-like objects
+Version:	0.002
+Release:	1%{?dist}
+License:	ASL 2.0
+URL:		http://search.cpan.org/dist/MooseX-Types-Stringlike/
+Source0:	http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/MooseX-Types-Stringlike-%{version}.tar.gz
+BuildArch:	noarch
+# Module Build
+BuildRequires:	perl
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.17
+# Module Runtime
+BuildRequires:	perl(MooseX::Types)
+BuildRequires:	perl(MooseX::Types::Moose)
+BuildRequires:	perl(overload)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
+# Test Suite
+BuildRequires:	perl(File::Spec::Functions)
+BuildRequires:	perl(List::Util)
+BuildRequires:	perl(Moose)
+BuildRequires:	perl(Test::More) >= 0.96
+# Optional Test Requirements
+BuildRequires:	perl(CPAN::Meta)
+BuildRequires:	perl(CPAN::Meta::Requirements)
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This module provides a more general version of the Str type. If coercions are
+enabled, it will accept objects that overload stringification and coerces them
+into strings.
+
+%prep
+%setup -q -n MooseX-Types-Stringlike-%{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 CONTRIBUTING LICENSE README
+%{perl_vendorlib}/MooseX/
+%{_mandir}/man3/MooseX::Types::Stringlike.3*
+
+%changelog
+* Thu Mar 27 2014 Paul Howarth <paul at city-fan.org> - 0.002-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..297e8a5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cc9113b5dfb29189f6383da2b55ef61d  MooseX-Types-Stringlike-0.002.tar.gz



More information about the perl-devel mailing list