Accepting request 176131 from home:jengelh:branches:science

+maths

OBS-URL: https://build.opensuse.org/request/show/176131
OBS-URL: https://build.opensuse.org/package/show/science/givaro?expand=0&rev=1
This commit is contained in:
Dr. Werner Fink 2013-05-20 21:34:04 +00:00 committed by Git OBS Bridge
commit aea6119ebd
5 changed files with 166 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

3
givaro-3.7.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93e4a9456a0677347b15df9eaf772668ad6f8e581df061d4a05a3cfd622f50f8
size 460140

4
givaro.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun May 19 20:30:35 UTC 2013 - jengelh@inai.de
- Initial package (version 3.7.2) for build.opensuse.org

135
givaro.spec Normal file
View File

@ -0,0 +1,135 @@
#
# spec file for package givaro
#
# Copyright (c) 2013 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: givaro
%define lname libgivaro0
# Watch whether their ABI changes without notice and without SONAME again..
Version: 3.7.2
Release: 0
Summary: C++ library for arithmetic and algebraic computations
License: CECILL-B
Group: Productivity/Scientific/Math
Url: http://givaro.forge.imag.fr/
#DL-URL: http://forge.imag.fr/frs/download.php/370/givaro-3.7.2.tar.gz
Source: %name-%version.tar.xz
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: gmp-devel >= 3.1.1
BuildRequires: graphviz
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Givaro is a C++ library for arithmetic and algebraic computations.
Its main features are implementations of the basic arithmetic of many
mathematical entities: Primes fields, Extensions Fields, Finite
Fields, Finite Rings, Polynomials, Algebraic numbers, Arbitrary
precision integers and rationals (C++ wrappers over gmp) It also
provides data-structures and templated classes for the manipulation
of basic algebraic objects, such as vectors, matrices (dense, sparse,
structured), univariate polynomials (and therefore recursive
multivariate).
It contains different program modules and is fully compatible with
the LinBox linear algebra library and the KAAPI kernel for
Adaptative, Asynchronous Parallel and Interactive programming.
%package -n %lname
Summary: C++ library for arithmetic and algebraic computations
Group: System/Libraries
%description -n %lname
Givaro is a C++ library for arithmetic and algebraic computations.
Its main features are implementations of the basic arithmetic of many
mathematical entities: Primes fields, Extensions Fields, Finite
Fields, Finite Rings, Polynomials, Algebraic numbers, Arbitrary
precision integers and rationals. It also provides data-structures
and templated classes for the manipulation of basic algebraic
objects, such as vectors, matrices (dense, sparse, structured),
univariate polynomials (and therefore recursive multivariate).
%package devel
Summary: Development files for Givaro, an algorithmic-algebraic computation library
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
Givaro is a C++ library for arithmetic and algebraic computations.
Its main features are implementations of the basic arithmetic of many
mathematical entities: Primes fields, Extensions Fields, Finite
Fields, Finite Rings, Polynomials, Algebraic numbers, Arbitrary
precision integers and rationals.
This subpackage contains the include files and library links for
developing against the Givaro library.
%package doc
Summary: API documentation for the Givaro library, in HTML
Group: Documentation/HTML
BuildArch: noarch
%description doc
Givaro is a C++ library for arithmetic and algebraic computations.
Its main features are implementations of the basic arithmetic of many
mathematical entities: Primes fields, Extensions Fields, Finite
Fields, Finite Rings, Polynomials, Algebraic numbers, Arbitrary
precision integers and rationals.
This subpackage contains the Doxygen-generated HTML documentation for
the Givaro API.
%prep
%setup -q
%build
%configure --disable-static --enable-doc --with-docdir="%_docdir/%name"
make %{?_smp_mflags}
%install
b="%buildroot";
make install DESTDIR="$b";
rm -f "$b/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libgivaro.so.0*
%files devel
%defattr(-,root,root)
%_bindir/givaro-config
%_bindir/givaro-makefile
%_includedir/givaro-config.h
%_includedir/givaro/
%_includedir/gmp++/
%_libdir/libgivaro.so
%files doc
%defattr(-,root,root)
%dir %_docdir/%name/
%_docdir/%name/givaro.html
%_docdir/%name/givaro-html/
%changelog