[mingw-mpfr] import from review

sailer sailer at fedoraproject.org
Mon Nov 25 17:46:13 UTC 2013


commit 2bfb90bc00aa243af03c88a1d7144765fbc9a159
Author: Thomas Sailer <t.sailer at alumni.ethz.ch>
Date:   Mon Nov 25 18:45:50 2013 +0100

    import from review

 .gitignore      |    1 +
 mingw-mpfr.spec |   97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 99 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bfaccff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mpfr-3.1.2.tar.xz
diff --git a/mingw-mpfr.spec b/mingw-mpfr.spec
new file mode 100644
index 0000000..2437dae
--- /dev/null
+++ b/mingw-mpfr.spec
@@ -0,0 +1,97 @@
+%{?mingw_package_header}
+
+%global name1 mpfr
+
+Summary:        MinGW C library for multiple-precision floating-point computations
+Name:           mingw-%{name1}
+Version:        3.1.2
+Release:        1%{?dist}
+URL:            http://www.mpfr.org/
+Source0:        http://www.mpfr.org/mpfr-%{version}/%{name1}-%{version}.tar.xz
+# GFDL  (mpfr.texi, mpfr.info and fdl.texi)
+License:        LGPLv3+ and GPLv3+ and GFDL
+Group:          System Environment/Libraries
+BuildRequires:  mingw32-filesystem
+BuildRequires:  mingw64-filesystem
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw64-gcc
+BuildRequires:  mingw32-gmp
+BuildRequires:  mingw64-gmp
+BuildArch:      noarch
+
+%description
+The MPFR library is a C library for multiple-precision floating-point
+computations with "correct rounding". The MPFR is efficient and 
+also has a well-defined semantics. It copies the good ideas from the 
+ANSI/IEEE-754 standard for double-precision floating-point arithmetic 
+(53-bit mantissa). MPFR is based on the GMP multiple-precision library.
+
+# Mingw32
+%package -n mingw32-%{name1}
+Summary:        %{summary}
+
+%description -n mingw32-%{name1}
+The MPFR library is a C library for multiple-precision floating-point
+computations with "correct rounding". The MPFR is efficient and 
+also has a well-defined semantics. It copies the good ideas from the 
+ANSI/IEEE-754 standard for double-precision floating-point arithmetic 
+(53-bit mantissa). MPFR is based on the GMP multiple-precision library.
+
+This package contains cross-compiled libraries and development tools
+for Windows.
+
+# Mingw64
+%package -n mingw64-%{name1}
+Summary:        %{summary}
+
+%description -n mingw64-%{name1}
+The MPFR library is a C library for multiple-precision floating-point
+computations with "correct rounding". The MPFR is efficient and 
+also has a well-defined semantics. It copies the good ideas from the 
+ANSI/IEEE-754 standard for double-precision floating-point arithmetic 
+(53-bit mantissa). MPFR is based on the GMP multiple-precision library.
+
+This package contains cross-compiled libraries and development tools
+for Windows.
+
+%{?mingw_debug_package}
+
+%prep
+%setup -q -n %{name1}-%{version}
+
+%build
+%mingw_configure --disable-assert --disable-static --enable-shared
+%mingw_make %{?_smp_mflags}
+
+%install
+%mingw_make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}
+rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}
+rm -rf $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
+rm -rf $RPM_BUILD_ROOT%{mingw64_libdir}/*.la
+
+%files -n mingw32-%{name1}
+%doc COPYING COPYING.LESSER NEWS README
+%{mingw32_bindir}/libmpfr-4.dll
+%{mingw32_libdir}/libmpfr.dll.a
+%{mingw32_includedir}/*.h
+
+%files -n mingw64-%{name1}
+%doc COPYING COPYING.LESSER NEWS README
+%{mingw64_bindir}/libmpfr-4.dll
+%{mingw64_libdir}/libmpfr.dll.a
+%{mingw64_includedir}/*.h
+
+%changelog
+* Mon Nov 18 2013 Thomas Sailer <t.sailer at alumni.ethz.ch> - 3.1.2-1
+- update to 3.1.2
+
+* Tue Sep 11 2012 Thomas Sailer <t.sailer at alumni.ethz.ch> - 3.1.1-3
+- remove requires
+
+* Tue Sep  4 2012 Thomas Sailer <t.sailer at alumni.ethz.ch> - 3.1.1-2
+- change name macro name, changed group, removed sections not necessary for recent rpm
+
+* Sat Aug 25 2012 Thomas Sailer <t.sailer at alumni.ethz.ch> - 3.1.1-1
+- create from native spec
+
diff --git a/sources b/sources
index e69de29..ef2a210 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e3d203d188b8fe60bb6578dd3152e05c  mpfr-3.1.2.tar.xz


More information about the scm-commits mailing list