[perl-Type-Tiny] Initial import.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 52bbfa525b13d566030bcab48808204a0156fc55
Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Mon Mar 24 13:08:26 2014 +0100

    Initial import.

 .gitignore          |    1 +
 perl-Type-Tiny.spec |   89 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 91 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b876540 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Type-Tiny-0.040.tar.gz
diff --git a/perl-Type-Tiny.spec b/perl-Type-Tiny.spec
new file mode 100644
index 0000000..1f5d40a
--- /dev/null
+++ b/perl-Type-Tiny.spec
@@ -0,0 +1,89 @@
+Name:           perl-Type-Tiny
+Version:        0.040
+Release:        1%{?dist}
+Summary:        Tiny, yet Moo(se)-compatible type constraint
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Type-Tiny/
+Source0:        http://www.cpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-%{version}.tar.gz
+BuildArch:      noarch
+
+# --with reply_plugin
+#	Default: --without
+# Missing deps (perl(Reply::Plugin))
+# Marked as unstable (cf. lib/Reply/Plugin/TypeTiny.pm)
+%bcond_with reply_plugin
+
+BuildRequires:  perl >= 0:5.006001
+BuildRequires:  perl(B)
+BuildRequires:  perl(CPAN::Meta::Requirements)
+BuildRequires:  perl(Exporter::Tiny) >= 0.026
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Sub::Name)
+BuildRequires:  perl(Test::More) >= 0.96
+BuildRequires:  perl(Test::Tester) >= 0.109
+BuildRequires:  perl(Text::Balanced)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(warnings)
+
+# optional
+# N/A in Fedora: BuildRequires:  perl(Class::InsideOut)
+BuildRequires:  perl(Class::ISA)
+BuildRequires:  perl(Devel::LexAlias) >= 0.05
+BuildRequires:  perl(Devel::StackTrace)
+# N/A in Fedora: BuildRequires:  perl(Function::Parameters)
+BuildRequires:  perl(JSON::PP)
+# N/A in Fedora: BuildRequires:  perl(Kavorka)
+# N/A in Fedora: BuildRequires:  perl(match::simple)
+BuildRequires:  perl(Moo)
+# N/A in Fedora: BuildRequires:  perl(Moops)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(MooseX::Types)
+BuildRequires:  perl(Mouse)
+BuildRequires:  perl(MouseX::Types)
+BuildRequires:  perl(MooseX::Types::Common)
+BuildRequires:  perl(Object::Accessor)
+%{?with_reply_plugin:BuildRequires:  perl(Reply::Plugin)}
+# N/A in Fedora: BuildRequires:  perl(Return::Type)
+BuildRequires:  perl(Role::Tiny)
+# N/A in Fedora: BuildRequires:  perl(Sub::Exporter::Lexical)
+# N/A in Fedora: BuildRequires:  perl(Switcheroo)
+%{?with_reply_plugin:BuildRequires:  perl(Term::ANSIColor)}
+# N/A in Fedora: BuildRequires:  perl(Type::Tie)
+# N/A in Fedora: BuildRequires:  perl(Validation::Class)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Type::Tiny is a tiny class for creating Moose-like type constraint objects
+which are compatible with Moo, Moose and Mouse.
+
+%prep
+%setup -q -n Type-Tiny-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes CONTRIBUTING COPYRIGHT CREDITS LICENSE NEWS README
+%{perl_vendorlib}/*
+%{!?with_reply_plugin:%exclude %{perl_vendorlib}/Reply}
+%{_mandir}/man3/*
+
+%changelog
+* Fri Mar 21 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.040-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..a83cbf8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e1b0730e699d03cd82c240d79f64635f  Type-Tiny-0.040.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux