From 36c7eb423fc287973cf3f79837fe9cca6f1df58a02845da9b1a781ed5cb44538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 14 Dec 2012 20:44:12 +0000 Subject: [PATCH] Accepting request 145411 from home:jengelh:branches:science OBS-URL: https://build.opensuse.org/request/show/145411 OBS-URL: https://build.opensuse.org/package/show/science/mpfi?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + mpfi-1.5.1.tar.bz2 | 3 ++ mpfi.changes | 4 ++ mpfi.spec | 101 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 132 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 mpfi-1.5.1.tar.bz2 create mode 100644 mpfi.changes create mode 100644 mpfi.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/mpfi-1.5.1.tar.bz2 b/mpfi-1.5.1.tar.bz2 new file mode 100644 index 0000000..1ec2163 --- /dev/null +++ b/mpfi-1.5.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fcc6536d117a67fbfbb875ab2d2b3d7fe76cdf0ce85a7e707aae1e89893696e +size 365467 diff --git a/mpfi.changes b/mpfi.changes new file mode 100644 index 0000000..2932969 --- /dev/null +++ b/mpfi.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Dec 13 23:03:23 UTC 2012 - jengelh@inai.de + +- Initial package (version 1.5.1) for build.opensuse.org diff --git a/mpfi.spec b/mpfi.spec new file mode 100644 index 0000000..6b05bd8 --- /dev/null +++ b/mpfi.spec @@ -0,0 +1,101 @@ +# +# spec file for package mpfi +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: mpfi +%define lname libmpfi0 +Version: 1.5.1 +Release: 0 +Group: Productivity/Scientific/Math +Summary: Multi-precision floating-point interval arithmetic computation library +License: LGPL-2.1+ +URL: http://mpfi.gforge.inria.fr/ + +#SVN-Clone: svn://scm.gforge.inria.fr/svnroot/mpfi/trunk +Source: %name-%version.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gmp-devel >= 4.1.0, mpfr-devel >= 2.4.2, pkgconfig +Prereq: %install_info_prereq + +%description +MPFI is a C library for arbitrary precision interval arithmetic with +intervals represented using MPFR reliable floating-point numbers. + +The purpose of an arbitrary precision interval arithmetic is on the +one hand to get "guaranteed" results, thanks to interval computation, +and on the other hand to obtain accurate results, thanks to multiple +precision arithmetic. + +%package -n %lname +Summary: Multi-precision floating-point interval arithmetic computation library +Group: System/Libraries + +%description -n %lname +MPFI is a C library for arbitrary precision interval arithmetic with +intervals represented using MPFR reliable floating-point numbers. + +The purpose of an arbitrary precision interval arithmetic is on the +one hand to get "guaranteed" results, thanks to interval computation, +and on the other hand to obtain accurate results, thanks to multiple +precision arithmetic. + +%package devel +Summary: Development files for the MPFI interval arithmetic computation library +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +MPFI is a C library for arbitrary precision interval arithmetic with +intervals represented using MPFR reliable floating-point numbers. + +This subpackage provides the development headers and libraries for it. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags}; + +%check +make %{?_smp_mflags} check; + +%install +b="%buildroot"; +make install DESTDIR="$b"; +rm -f "$b/%_libdir"/*.la; + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%post devel +%install_info --info-dir="%_infodir" "%_infodir/mpfi.info.gz" + +%postun devel +%install_info_delete --info-dir="%_infodir" "%_infodir/mpfi.info.gz" + +%files -n %lname +%defattr(-,root,root) +%_libdir/libmpfi.so.0* + +%files devel +%defattr(-,root,root) +%_includedir/mpfi*.h +%_libdir/libmpfi.so +%_infodir/mpfi.info* + +%changelog