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