]> git.pld-linux.org Git - packages/LiDIA.git/commitdiff
- lidia spec, nfy
authorundefine <undefine@pld-linux.org>
Sat, 29 Sep 2007 08:43:37 +0000 (08:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    LiDIA.spec -> 1.1

LiDIA.spec [new file with mode: 0644]

diff --git a/LiDIA.spec b/LiDIA.spec
new file mode 100644 (file)
index 0000000..a2e10da
--- /dev/null
@@ -0,0 +1,59 @@
+Summary:       C++ library for number theoretical computations
+Name:          LiDIA
+Version:       2.2.0
+Release:       0.1
+License:       noncommercial
+Group:         Development/Libraries
+Source0:       ftp://ftp.informatik.tu-darmstadt.de/pub/TI/systems/LiDIA/current/lidia-%{version}.tar.gz
+# Source0-md5: d9e012bb666e7a7ba1b45283aa3bfe03
+URL:           http://www.informatik.tu-darmstadt.de/TI/LiDIA/
+BuildRequires: gmp-devel
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LiDIA is a C++ library for number-theoretical computations.
+
+LiDIA provides parameterized as well as specialized classes together
+with advanced methods for computing in a large variety of mathematical
+groups, rings, and fields, ranging from arbitrary-length integers,
+fractions, and floating-point approximations, over vectors and
+matrices, to high-level constructs of finite fields, lattices,
+quadratic and higher-order number fields, polynomial rings, and
+elliptic curves. In addition to a rich set of methods for basic
+structural operations, I/O, arithmetic, and common number-theoretical
+primitives, there are functions for computationally intensive tasks:
+reducing lattice bases; factoring polynomials, integers, or algebraic
+ideals; computing discrete logarithms; determining group orders on
+elliptic curves; and more...
+
+LiDIA is free for non-commercial use. See the copyright notice in the
+file COPYING. Contributors are welcome.
+
+%prep
+%setup -q -n lidia-%{version}
+
+%build
+%configure \
+       --enable-shared
+%{__make}
+%{__make} examples
+#%{__make} pdf
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT # install-examples
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING NEWS README TODO
+#%doc doc/LiDIA.pdf
+%attr(755,root,root) %{_libdir}/lib*.so*
+%{_libdir}/lib*.la
+%{_includedir}/lidia
+%{_includedir}/%{name}
+%{_datadir}/lidia
This page took 0.088289 seconds and 4 git commands to generate.