commit 36ac7dfc060e15602b461503ae87ed0418dc0363 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Aug 23 08:37:23 2011 +0200 initial import (rhbz#730047) .gitignore | 1 + perl-Hash-FieldHash.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0873817 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Hash-FieldHash-0.10.tar.gz diff --git a/perl-Hash-FieldHash.spec b/perl-Hash-FieldHash.spec new file mode 100644 index 0000000..f596f3f --- /dev/null +++ b/perl-Hash-FieldHash.spec @@ -0,0 +1,53 @@ +Name: perl-Hash-FieldHash +Version: 0.10 +Release: 1%{?dist} +Summary: Lightweight field hash implementation +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Hash-FieldHash/ +Source0: http://www.cpan.org/modules/by-module/Hash/Hash-FieldHash-%{version}.tar.gz +BuildRequires: perl >= 1:5.8.5 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::ParseXS) >= 2.21 +BuildRequires: perl(parent) >= 0.221 +BuildRequires: perl(Test::LeakTrace) >= 0.07 +BuildRequires: perl(Test::More) >= 0.62 +BuildRequires: perl(XSLoader) >= 0.1 +Requires: perl(parent) >= 0.221 +Requires: perl(XSLoader) >= 0.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Hash::FieldHash provides the field hash mechanism which supports the inside- +out technique. + +%prep +%setup -q -n Hash-FieldHash-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Hash* +%{_mandir}/man3/* + +%changelog +* Thu Aug 11 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.10-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..75409e1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bb8cb7ac175b7021f8ea1afe4f502ef5 Hash-FieldHash-0.10.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