2013-10-01 06:41:00 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Type-Tiny
|
|
|
|
#
|
2018-04-20 13:45:48 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-10-01 06:41:00 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Type-Tiny
|
2018-08-27 12:24:57 +00:00
|
|
|
Version: 1.004002
|
2013-10-01 06:41:00 +00:00
|
|
|
Release: 0
|
|
|
|
%define cpan_name Type-Tiny
|
2017-02-14 09:08:02 +00:00
|
|
|
Summary: Tiny, yet Moo(Se)-Compatible Type Constraint
|
2018-04-20 13:45:48 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2013-10-01 06:41:00 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/Type-Tiny/
|
2017-02-14 09:08:02 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2013-10-01 06:41:00 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2014-09-17 19:44:40 +00:00
|
|
|
BuildRequires: perl(Exporter::Tiny) >= 0.026
|
2013-10-01 06:41:00 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2014-09-17 19:44:40 +00:00
|
|
|
Requires: perl(Exporter::Tiny) >= 0.026
|
2013-10-01 06:41:00 +00:00
|
|
|
Recommends: perl(Devel::LexAlias) >= 0.05
|
|
|
|
Recommends: perl(Devel::StackTrace)
|
2017-06-20 06:28:45 +00:00
|
|
|
Recommends: perl(Ref::Util::XS) >= 0.100
|
2017-06-09 07:22:59 +00:00
|
|
|
Recommends: perl(Regexp::Util) >= 0.003
|
|
|
|
Recommends: perl(Sub::Util)
|
2013-10-01 06:41:00 +00:00
|
|
|
Recommends: perl(Type::Tie)
|
2017-06-09 07:22:59 +00:00
|
|
|
Recommends: perl(Type::Tiny::XS) >= 0.011
|
2013-10-01 06:41:00 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2017-02-14 09:08:02 +00:00
|
|
|
Type::Tiny is a tiny class for creating Moose-like type constraint objects
|
|
|
|
which are compatible with Moo, Moose and Mouse.
|
2013-10-01 06:41:00 +00:00
|
|
|
|
|
|
|
Maybe now we won't need to have separate MooseX, MouseX and MooX versions
|
|
|
|
of everything? We can but hope...
|
|
|
|
|
2017-02-14 09:08:02 +00:00
|
|
|
This documents the internals of Type::Tiny. Type::Tiny::Manual is a better
|
|
|
|
starting place if you're new.
|
2013-10-01 06:41:00 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2017-02-14 09:08:02 +00:00
|
|
|
%doc Changes COPYRIGHT CREDITS doap.ttl examples NEWS README TODO
|
|
|
|
%license LICENSE
|
2013-10-01 06:41:00 +00:00
|
|
|
|
|
|
|
%changelog
|