[perl-Scalar-Util-LooksLikeNumber] Initial import (#1140222)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 8a7d1c496147e303ec6ca2154dd3b652ac6709b7
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Thu Sep 11 10:09:20 2014 +0200

    Initial import (#1140222)

 .gitignore                            |    1 +
 perl-Scalar-Util-LooksLikeNumber.spec |   51 +++++++++++++++++++++++++++++++++
 sources                               |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..af0ac2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Scalar-Util-LooksLikeNumber-1.39.1.tar.gz
diff --git a/perl-Scalar-Util-LooksLikeNumber.spec b/perl-Scalar-Util-LooksLikeNumber.spec
new file mode 100644
index 0000000..438845c
--- /dev/null
+++ b/perl-Scalar-Util-LooksLikeNumber.spec
@@ -0,0 +1,51 @@
+Name:           perl-Scalar-Util-LooksLikeNumber
+Version:        1.39.1
+Release:        1%{?dist}
+Summary:        Access to looks_like_number() perl API function
+# Defined in Makefile.PL, also mentioned in LooksLikeNumber.xs
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Scalar-Util-LooksLikeNumber/
+Source0:        http://www.cpan.org/authors/id/S/SH/SHARYANTO/Scalar-Util-LooksLikeNumber-%{version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Math::BigInt)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XSLoader)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%description
+Scalar::Util::LooksLikeNumber contains looks_like_number() like
+Scalar::Util's looks_like_number(), except it returns the raw value from
+the C function. Scalar::Util used to do this also, but it returns a
+booleanized value since 1.39.
+
+%prep
+%setup -q -n Scalar-Util-LooksLikeNumber-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Scalar*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Sep 10 2014 Petr Šabata <contyk@xxxxxxxxxx> 1.39.1-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..f73396d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+13166ce1cac15ffd52d5602dc3998079  Scalar-Util-LooksLikeNumber-1.39.1.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux