commit 46603d69d9a23b5bb0f927840f8332d1adaab6f5 Author: David Dick <ddick@xxxxxxxx> Date: Tue Feb 24 21:02:39 2015 +1100 Initial import (#1194032). .gitignore | 1 + perl-Math-Int64.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) --- diff --git a/.gitignore b/.gitignore index e69de29..0ed9365 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Math-Int64-0.34.tar.gz diff --git a/perl-Math-Int64.spec b/perl-Math-Int64.spec new file mode 100644 index 0000000..468b85b --- /dev/null +++ b/perl-Math-Int64.spec @@ -0,0 +1,53 @@ +Name: perl-Math-Int64 +Version: 0.34 +Release: 1%{?dist} +Summary: Manipulate 64 bits integers in Perl +License: (GPL+ or Artistic) and Public Domain and BSD +Group: Development/Libraries +URL: http://search.cpan.org/dist/Math-Int64/ +Source0: http://www.cpan.org/modules/by-module/Math/Math-Int64-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(overload) +BuildRequires: perl(strict) +BuildRequires: perl(Storable) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) +Requires: perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module adds support for 64 bit integers, signed and unsigned, to Perl. + +%prep +%setup -q -n Math-Int64-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +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 -type f -name '*.bs' -size 0 -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README examples +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Math* +%{_mandir}/man3/* + +%changelog +* Thu Feb 19 2015 David Dick <ddick@xxxxxxxx> - 0.34-1 +- Initial release diff --git a/sources b/sources index e69de29..68ea6c6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +dd4b06121b0b6741271da3026a32f719 Math-Int64-0.34.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