[perl-Perl6-Export-Attrs: 2/6] Initial package for Fedora

Mathieu Bridon bochecha at fedoraproject.org
Mon Jan 21 03:20:34 UTC 2013


commit 8a9e998525e5eeae299fc45e0c0a3203bcfd13b2
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Mon Jan 7 13:40:57 2013 +0800

    Initial package for Fedora
    
    This was submitted for review on Mon Jan 07 2013:
        https://bugzilla.redhat.com/show_bug.cgi?id=892423#c0

 perl-Perl6-Export-Attrs.spec |   52 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/perl-Perl6-Export-Attrs.spec b/perl-Perl6-Export-Attrs.spec
new file mode 100644
index 0000000..9a7f605
--- /dev/null
+++ b/perl-Perl6-Export-Attrs.spec
@@ -0,0 +1,52 @@
+Name:           perl-Perl6-Export-Attrs
+Summary:        Perl 6 'is export(...)' trait as a Perl 5 attribute
+Version:        0.0.3
+Release:        1%{?dist}
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Perl6-Export-Attrs/
+Source0:        http://www.cpan.org/authors/id/D/DC/DCONWAY/Perl6-Export-Attrs-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Implements a Perl 5 native version of what the Perl 6 symbol export
+mechanism will look like.
+
+
+%prep
+%setup -q -n Perl6-Export-Attrs-%{version}
+
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+./Build test
+
+
+%files
+%doc Changes README
+%{perl_vendorlib}/Perl6
+%{_mandir}/man3/Perl6::Export::Attrs.3pm*
+
+
+%changelog
+* Mon Jan 07 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.0.3-1
+- Initial package for Fedora, with help from cpanspec.



More information about the perl-devel mailing list