commit 61aecd01290dfe044f7e252dbc9d3845361a25e3 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Feb 25 04:40:30 2011 +0100 initial import .gitignore | 1 + perl-Role-Identifiable.spec | 51 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3de7275 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Role-Identifiable-0.005.tar.gz diff --git a/perl-Role-Identifiable.spec b/perl-Role-Identifiable.spec new file mode 100644 index 0000000..5004bbf --- /dev/null +++ b/perl-Role-Identifiable.spec @@ -0,0 +1,51 @@ +Name: perl-Role-Identifiable +Version: 0.005 +Release: 1%{?dist} +Summary: Identifiable roles +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Role-Identifiable/ +Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Role-Identifiable-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Role) +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module provides several Moose roles for identifying things. + +%prep +%setup -q -n Role-Identifiable-%{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 +make test + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 17 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.005-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..73a43e4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ab9c638b5413c4eca9ac69017bafc715 Role-Identifiable-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