[perl-Math-Libm] Initial import (#877765)

Miroslav Hrončok churchyard at fedoraproject.org
Mon Dec 17 13:24:42 UTC 2012


commit bc18c816b05ed7c84c4dbfe55058e3806ca5f6e7
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Mon Dec 17 14:24:35 2012 +0100

    Initial import (#877765)

 .gitignore            |    1 +
 Math-Libm-license.txt |   48 +++++++++++++++++++++++++++++++
 perl-Math-Libm.spec   |   74 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 4 files changed, 124 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ca9a4f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-Libm-1.00.tar.gz
diff --git a/Math-Libm-license.txt b/Math-Libm-license.txt
new file mode 100644
index 0000000..e795524
--- /dev/null
+++ b/Math-Libm-license.txt
@@ -0,0 +1,48 @@
+                                                                                                                                                                                                                                                               
+Delivered-To: miro at hroncok.cz
+Received: by 10.66.139.137 with SMTP id qy9csp485197pab;
+        Sun, 14 Oct 2012 05:54:50 -0700 (PDT)
+Received: by 10.182.108.69 with SMTP id hi5mr7619990obb.43.1350219289580;
+        Sun, 14 Oct 2012 05:54:49 -0700 (PDT)
+Return-Path: <lewart3 at gmail.com>
+Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173])
+        by mx.google.com with ESMTPS id mg8si13725444obb.111.2012.10.14.05.54.48
+        (version=TLSv1/SSLv3 cipher=OTHER);
+        Sun, 14 Oct 2012 05:54:49 -0700 (PDT)
+Received-SPF: pass (google.com: domain of lewart3 at gmail.com designates 209.85.214.173 as permitted sender) client-ip=209.85.214.173;
+Authentication-Results: mx.google.com; spf=pass (google.com: domain of lewart3 at gmail.com designates 209.85.214.173 as permitted sender) smtp.mail=lewart3 at gmail.com; dkim=pass header.i=@gmail.com
+Received: by mail-ob0-f173.google.com with SMTP id wc18so3983144obb.4
+        for <miro at hroncok.cz>; Sun, 14 Oct 2012 05:54:48 -0700 (PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
+        d=gmail.com; s=20120113;
+        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
+         :content-type;
+        bh=XkCQpO07LbyaDxSU0ELKnWykNrzBZxwycR88alPaegA=;
+        b=s7GXMQQQqD940wudifGWm+yQqozWwBdEQDchuj55pU3gVjpfF31YGSY5UeVI9Told/
+         iiQb9M5tBm95vCEym/Jzai9k5v+xRTh+ebOlqaeKJZ90lZsx4R54gE0MzIGqOu+WkeKi
+         1iYMDZpKDktQjUpvvJXGnClNc91XwN+ktyGM8MOHStPX+SCn34Zoo1jAJUNiiD/wBVf1
+         0ol1vqMuJIxeBG+JUd2oMqkLPfJqyg6QBsMlXq9oIj4mZVpjZ/I5ZjeSNHIfVznS3NDv
+         kiYs1OoX9q19pXKrJslXW6MCser5mfbuX4n+8ROcGl4fA6Ato7hrH7VWS5X3YnRjRitB
+         0Rqg==
+MIME-Version: 1.0
+Received: by 10.182.207.71 with SMTP id lu7mr7218614obc.78.1350219288140; Sun,
+ 14 Oct 2012 05:54:48 -0700 (PDT)
+Received: by 10.76.143.1 with HTTP; Sun, 14 Oct 2012 05:54:48 -0700 (PDT)
+In-Reply-To: <CAG7fsRRsDfeEe+AMwX1H8JXTUfeoOW90UdRxvw5m63E3_UJrQA at mail.gmail.com>
+References: <CALE_k2Fh+jHypacxjUspmtjM0Ow0moR8WQ3NOayY5pauiCF8cw at mail.gmail.com>
+	<CAG7fsRRsDfeEe+AMwX1H8JXTUfeoOW90UdRxvw5m63E3_UJrQA at mail.gmail.com>
+Date: Sun, 14 Oct 2012 07:54:48 -0500
+Message-ID: <CALE_k2FR9JKYSkKY-ZtwRWJd=kDcaapiNDcm9FAHfYyMHrs7EA at mail.gmail.com>
+Subject: Re: Fwd: License of Math::Libm
+From: Daniel Lewart <lewart3 at gmail.com>
+To: =?UTF-8?Q?Miro_Hron=C4=8Dok?= <miro at hroncok.cz>
+Content-Type: text/plain; charset=ISO-8859-1
+
+Miro,
+
+Perl module Math::Libm is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself, either Perl version 5.6 or,
+at your option, any later version of Perl 5 you may have available.
+
+Peace!
+Dan
diff --git a/perl-Math-Libm.spec b/perl-Math-Libm.spec
new file mode 100644
index 0000000..547db90
--- /dev/null
+++ b/perl-Math-Libm.spec
@@ -0,0 +1,74 @@
+Name:           perl-Math-Libm
+Version:        1.00
+Release:        6%{?dist}
+Summary:        Perl extension for the C math library, libm
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Math-Libm/
+Source0:        http://www.cpan.org/authors/id/D/DS/DSLEWART/Math-Libm-%{version}.tar.gz
+Source1:        Math-Libm-license.txt
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter} # Filters (not)shared c libs
+
+%description
+This module is a translation of the C math.h file. It exports the following
+selected constants and functions:
+M_1_PI M_2_PI M_2_SQRTPI M_E M_LN10 M_LN2 M_LOG10E
+M_LOG2E M_PI M_PI_2 M_PI_4 M_SQRT1_2 M_SQRT2
+acos acosh asin asinh atan atanh cbrt ceil cosh
+erf erfc expm1 floor hypot j0 j1 jn lgamma_r
+log10 log1p pow rint sinh tan tanh y0 y1 yn
+
+%prep
+%setup -q -n Math-Libm-%{version}
+cp -p %{SOURCE1} license.txt
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+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 {} \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README license.txt
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Math*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Dec 12 2012 Miro Hrončok <miro at hroncok.cz> - 1.00-6
+- License file without URL
+- Added more BRs
+- PERL_INSTALL_ROOT changed to DESTDIR
+- Removed the deleting empty directories
+
+* Mon Nov 19 2012 Miro Hrončok <miro at hroncok.cz> - 1.00-5
+- Removed useless Requires and BR
+
+* Fri Nov 16 2012 Miro Hrončok <miro at hroncok.cz> - 1.00-4
+- Removed BRs provided by perl package
+- Updated description
+- License issue solved properly
+
+* Sun Oct 07 2012 Miro Hrončok <miro at hroncok.cz> - 1.00-3
+- Rebuilding for 32bit, no spec changes.
+
+* Sun Sep 23 2012 Miro Hrončok <miro at hroncok.cz> - 1.00-2
+- License issue solved, somehow.
+
+* Sun Sep 23 2012 Miro Hrončok <miro at hroncok.cz> - 1.00-1
+- Specfile autogenerated by cpanspec 1.78 and revised.
diff --git a/sources b/sources
index e69de29..58b5d90 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+26a4ce8fe507d04c7d40b9eadac428ae  Math-Libm-1.00.tar.gz


More information about the scm-commits mailing list