From aea6119ebd1fcf16f1285a3938d5b7d0187dddb0d73b0273247680b2c5890c02 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 20 May 2013 21:34:04 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++ .gitignore | 1 + givaro-3.7.2.tar.xz | 3 + givaro.changes | 4 ++ givaro.spec | 135 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 166 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 givaro-3.7.2.tar.xz create mode 100644 givaro.changes create mode 100644 givaro.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/givaro-3.7.2.tar.xz b/givaro-3.7.2.tar.xz new file mode 100644 index 0000000..36a39f7 --- /dev/null +++ b/givaro-3.7.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93e4a9456a0677347b15df9eaf772668ad6f8e581df061d4a05a3cfd622f50f8 +size 460140 diff --git a/givaro.changes b/givaro.changes new file mode 100644 index 0000000..1f66d14 --- /dev/null +++ b/givaro.changes @@ -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 diff --git a/givaro.spec b/givaro.spec new file mode 100644 index 0000000..ff2eeb6 --- /dev/null +++ b/givaro.spec @@ -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