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
This commit is contained in:
commit
36c7eb423f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
mpfi-1.5.1.tar.bz2
Normal file
3
mpfi-1.5.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fcc6536d117a67fbfbb875ab2d2b3d7fe76cdf0ce85a7e707aae1e89893696e
|
||||
size 365467
|
4
mpfi.changes
Normal file
4
mpfi.changes
Normal file
@ -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
|
101
mpfi.spec
Normal file
101
mpfi.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user