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