commit 60cf275d8555665f93d2087b2bd23e8e567abc88 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Wed Apr 6 05:14:26 2011 +0200 initial import (rhbz#692752) .gitignore | 1 + perl-Role-HasMessage.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..95ad621 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Role-HasMessage-0.005.tar.gz diff --git a/perl-Role-HasMessage.spec b/perl-Role-HasMessage.spec new file mode 100644 index 0000000..5e4aed5 --- /dev/null +++ b/perl-Role-HasMessage.spec @@ -0,0 +1,57 @@ +Name: perl-Role-HasMessage +Version: 0.005 +Release: 1%{?dist} +Summary: Thing with a message method +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Role-HasMessage/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Role-HasMessage-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Role) +BuildRequires: perl(MooseX::Role::Parameterized) +BuildRequires: perl(namespace::clean) +BuildRequires: perl(strict) +BuildRequires: perl(String::Errf) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Try::Tiny) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This is another extremely simple role. A class that includes +Role::HasMessage is promising to provide a message method that returns a +string summarizing the message or event represented by the object. It does +not provide any actual behavior. + +%prep +%setup -q -n Role-HasMessage-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$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 +RELEASE_TESTING=1 make test + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Apr 01 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.005-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..d92ca5f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3b2ec687549ec209aa639f452b855af4 Role-HasMessage-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