]> git.pld-linux.org Git - packages/LiDIA.git/blame - LiDIA.spec
- lidia spec, nfy
[packages/LiDIA.git] / LiDIA.spec
CommitLineData
f4cc1bd1 1Summary: C++ library for number theoretical computations
2Name: LiDIA
3Version: 2.2.0
4Release: 0.1
5License: noncommercial
6Group: Development/Libraries
7Source0: ftp://ftp.informatik.tu-darmstadt.de/pub/TI/systems/LiDIA/current/lidia-%{version}.tar.gz
8# Source0-md5: d9e012bb666e7a7ba1b45283aa3bfe03
9URL: http://www.informatik.tu-darmstadt.de/TI/LiDIA/
10BuildRequires: gmp-devel
11BuildRequires: libstdc++-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15LiDIA is a C++ library for number-theoretical computations.
16
17LiDIA provides parameterized as well as specialized classes together
18with advanced methods for computing in a large variety of mathematical
19groups, rings, and fields, ranging from arbitrary-length integers,
20fractions, and floating-point approximations, over vectors and
21matrices, to high-level constructs of finite fields, lattices,
22quadratic and higher-order number fields, polynomial rings, and
23elliptic curves. In addition to a rich set of methods for basic
24structural operations, I/O, arithmetic, and common number-theoretical
25primitives, there are functions for computationally intensive tasks:
26reducing lattice bases; factoring polynomials, integers, or algebraic
27ideals; computing discrete logarithms; determining group orders on
28elliptic curves; and more...
29
30LiDIA is free for non-commercial use. See the copyright notice in the
31file COPYING. Contributors are welcome.
32
33%prep
34%setup -q -n lidia-%{version}
35
36%build
37%configure \
38 --enable-shared
39%{__make}
40%{__make} examples
41#%{__make} pdf
42
43%install
44rm -rf $RPM_BUILD_ROOT
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT # install-examples
47
48%clean
49rm -rf "$RPM_BUILD_ROOT"
50
51%files
52%defattr(644,root,root,755)
53%doc COPYING NEWS README TODO
54#%doc doc/LiDIA.pdf
55%attr(755,root,root) %{_libdir}/lib*.so*
56%{_libdir}/lib*.la
57%{_includedir}/lidia
58%{_includedir}/%{name}
59%{_datadir}/lidia
This page took 0.076784 seconds and 4 git commands to generate.