commit 7e6b3b5295d1ffef5c6ac693062bb83dbb22068d Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Mon Nov 7 17:11:27 2011 +0100 initial import (rhbz#751533) .gitignore | 1 + perl-MooseX-Has-Sugar.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..b1ea4a5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooseX-Has-Sugar-0.05070419.tar.gz diff --git a/perl-MooseX-Has-Sugar.spec b/perl-MooseX-Has-Sugar.spec new file mode 100644 index 0000000..cc220ad --- /dev/null +++ b/perl-MooseX-Has-Sugar.spec @@ -0,0 +1,69 @@ +Name: perl-MooseX-Has-Sugar +Version: 0.05070419 +Release: 2%{?dist} +Summary: Sugar syntax for moose 'has' fields +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MooseX-Has-Sugar/ +Source0: http://www.cpan.org/authors/id/K/KE/KENTNL/MooseX-Has-Sugar-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(English) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(lib) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Moose) +BuildRequires: perl(MooseX::Types::Moose) +BuildRequires: perl(namespace::autoclean) +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(strict) +BuildRequires: perl(Sub::Exporter) +BuildRequires: perl(Test::CPAN::Changes) +BuildRequires: perl(Test::CPAN::Meta) +BuildRequires: perl(Test::EOL) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::Kwalitee) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Perl::Critic) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Script) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Moose "has" syntax is generally fine, but sometimes one gets bothered with +the constant typing of string quotes for things. The MooseX::Types module +exists and in many ways reduces the need for constant string creation. + +%prep +%setup -q -n MooseX-Has-Sugar-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +export RELEASE_TESTING=1 +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Nov 05 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.05070419-2 +- better description and summary + +* Sat Nov 05 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.05070419-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..6313f98 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4208e85e65b568707e91b45552347b44 MooseX-Has-Sugar-0.05070419.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