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