[perl-MooseX-AttributeShortcuts] Import

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

 



commit 2213901760a1d64f01e311fc61400f6ee44b6038
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Sep 30 09:40:49 2011 +0200

    Import

 .gitignore                          |    1 +
 perl-MooseX-AttributeShortcuts.spec |   65 +++++++++++++++++++++++++++++++++++
 sources                             |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ad83178 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooseX-AttributeShortcuts-0.005.tar.gz
diff --git a/perl-MooseX-AttributeShortcuts.spec b/perl-MooseX-AttributeShortcuts.spec
new file mode 100644
index 0000000..7e9dff9
--- /dev/null
+++ b/perl-MooseX-AttributeShortcuts.spec
@@ -0,0 +1,65 @@
+Name:           perl-MooseX-AttributeShortcuts
+Version:        0.005
+Release:        1%{?dist}
+Summary:        Shorthand for common Moose attribute options
+License:        LGPLv2
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/MooseX-AttributeShortcuts/
+Source0:        http://www.cpan.org/authors/id/R/RS/RSRCHBOY/MooseX-AttributeShortcuts-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(Moose::Exporter)
+BuildRequires:  perl(Moose::Util::MetaRole)
+BuildRequires:  perl(MooseX::Role::Parameterized)
+BuildRequires:  perl(MooseX::Types::Common::String)
+BuildRequires:  perl(MooseX::Types::Moose)
+BuildRequires:  perl(namespace::autoclean)
+# Tests only:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Test::Moose)
+BuildRequires:  perl(Test::More) >= 0.94
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Ever find yourself repeatedly specifying writers and builders, because there's
+no good shortcut to specify them? Sometimes you want an attribute to have
+a read-only public interface, but a private writer. And wouldn't it be easier
+to just say "builder => 1" and have the attribute construct the canonical
+"_build_$name" builder name for you?
+
+This package causes an attribute trait to be applied to all attributes defined
+to the using class. This trait extends the attribute option processing to
+handle the above variations.
+
+
+%prep
+%setup -q -n MooseX-AttributeShortcuts-%{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 {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes dist.ini LICENSE META.json README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Sep 29 2011 Petr Pisar <ppisar@xxxxxxxxxx> 0.005-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot and defattr spec code
diff --git a/sources b/sources
index e69de29..67541a3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f9e48d36dcb81794af69cb324edf0979  MooseX-AttributeShortcuts-0.005.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