]> git.pld-linux.org Git - packages/LiDIA.git/blob - LiDIA.spec
- pl
[packages/LiDIA.git] / LiDIA.spec
1 Summary:        C++ library for number theoretical computations
2 Summary(pl.UTF-8):      Biblioteka C++ do teoretycznych obliczeń numerycznych
3 Name:           LiDIA
4 Version:        2.2.0
5 Release:        0.1
6 License:        non-commercial
7 Group:          Development/Libraries
8 Source0:        ftp://ftp.informatik.tu-darmstadt.de/pub/TI/systems/LiDIA/current/lidia-%{version}.tar.gz
9 # Source0-md5:  d9e012bb666e7a7ba1b45283aa3bfe03
10 URL:            http://www.informatik.tu-darmstadt.de/TI/LiDIA/
11 BuildRequires:  gmp-devel
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  tetex-dvips
14 BuildRequires:  tetex-format-latex
15 BuildRequires:  tetex-format-pdflatex
16 BuildRequires:  tetex-latex-ae
17 BuildRequires:  texinfo-texi2dvi
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 LiDIA is a C++ library for number-theoretical computations.
22
23 LiDIA provides parameterized as well as specialized classes together
24 with advanced methods for computing in a large variety of mathematical
25 groups, rings, and fields, ranging from arbitrary-length integers,
26 fractions, and floating-point approximations, over vectors and
27 matrices, to high-level constructs of finite fields, lattices,
28 quadratic and higher-order number fields, polynomial rings, and
29 elliptic curves. In addition to a rich set of methods for basic
30 structural operations, I/O, arithmetic, and common number-theoretical
31 primitives, there are functions for computationally intensive tasks:
32 reducing lattice bases; factoring polynomials, integers, or algebraic
33 ideals; computing discrete logarithms; determining group orders on
34 elliptic curves; and more...
35
36 LiDIA is free for non-commercial use. See the copyright notice in the
37 file COPYING. Contributors are welcome.
38
39 %description -l pl.UTF-8
40 LiDIA to biblioteka C++ do teoretycznych obliczeń numerycznych.
41 Udostępnia sparametryzowane oraz wyspecjalizowane klasy wraz z
42 zaawansowanymi metodami do obliczeń w wielu grupach, pierścieniach i
43 przestrzeniach, od liczb całkowitych dowolnej długości, ułamków i
44 przybliżeń zmiennoprzecinkowych przez wektory i macierze do
45 konstrukcji wysokopoziomowych, takich jak przestrzenie skończone,
46 kraty, przestrzenie kwadratowe i wyższego stopnia, pierścienie
47 wielomianów i krzywe eliptyczne. Oprócz bogatego zbioru metod do
48 podstawowych operacji strukturalnych, wejścia/wyjścia, arytmetycznych
49 i ogólnych prymitywów teoretycznonumerycznych są także funkcje do
50 bardziej złożonych obliczeń: redukcji baz krat; rozkładu wielomianów,
51 liczb całkowitych i ideałów algebraicznych; obliczania logarytmów
52 dyskretnych; określania porządku w grupie na krzywych eliptycznych;
53 itp.
54
55 LiDIA jest darmowa do użytku niekomercyjnego. Informacje o prawach
56 autorskich znajdują się w pliku COPYING. Wspieranie rozwoju jest mile
57 widziane.
58
59 %prep
60 %setup -q -n lidia-%{version}
61
62 %build
63 %configure \
64         --enable-shared
65 %{__make}
66 %{__make} examples
67 %{__make} pdf
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 ln -sf lidia $RPM_BUILD_ROOT%{_includedir}/%{name}
75 ln -sf lidia $RPM_BUILD_ROOT%{_datadir}/%{name}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc COPYING NEWS README TODO
83 %doc doc/LiDIA.pdf
84 %attr(755,root,root) %{_libdir}/lib*.so*
85 %{_libdir}/lib*.la
86 %{_includedir}/lidia
87 %{_includedir}/%{name}
88 %{_datadir}/lidia
89 %{_datadir}/%{name}
This page took 0.054964 seconds and 3 git commands to generate.