]>
Commit | Line | Data |
---|---|---|
4ac31547 ZU |
1 | # TODO: |
2 | # - the scripts move to subpackages ? | |
3 | # | |
4 | Summary: Eukleides is a computer language devoted to elementary plane geometry | |
5 | Name: eukleides | |
6 | Version: 1.5.0 | |
7 | Release: 0.1 | |
8 | License: GPL v3 | |
9 | Group: Applications/Science | |
10 | Source0: http://www.eukleides.org/files/%{name}-%{version}.tar.bz2 | |
11 | # Source0-md5: 9bd6958fdb7fa0aee7cb9a0ccff016e1 | |
12 | Patch0: %{name}-config.patch | |
13 | Patch1: %{name}-makefile-destdir.patch | |
14 | URL: http://www.eukleides.org/ | |
15 | BuildRequires: /usr/bin/pdflatex | |
16 | BuildRequires: bison | |
6bd5614a | 17 | BuildRequires: flex |
1911536a | 18 | BuildRequires: gettext-tools |
4ac31547 | 19 | BuildRequires: perl |
6bd5614a | 20 | BuildRequires: readline-devel |
4ac31547 ZU |
21 | BuildRequires: sed >= 4.0 |
22 | BuildRequires: texinfo | |
23 | BuildRequires: texinfo-texi2dvi | |
24 | BuildRequires: texlive-latex-ae | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Eukleides is a computer language devoted to elementary plane geometry. | |
29 | It aims to be a fairly comprehensive system to create geometric | |
30 | figures, either static or dynamic. Eukleides allows to handle basic | |
31 | types of data: numbers and strings, as well as geometric types of | |
32 | data: points, vectors, sets (of points), lines, circles and conics. | |
33 | ||
34 | %package -n texlive-latex-eukleides | |
35 | Summary: Eukleides LaTeX style | |
36 | Group: Applications/Publishing/TeX | |
37 | ||
38 | %description -n texlive-latex-eukleides | |
39 | Eukleides LaTeX style. | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | %patch0 -p1 | |
44 | %patch1 -p1 | |
45 | %{__sed} -i "s,ginstall-info,install-info,g" doc/Makefile | |
46 | ||
47 | %build | |
48 | %{__make} -j1 | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} -j1 install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %find_lang %{name} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files -f %{name}.lang | |
62 | %defattr(644,root,root,755) | |
63 | %doc README doc/*.pdf doc/manual | |
64 | %attr(755,root,root) %{_bindir}/* | |
65 | %{_mandir}/man1/*.1* | |
6347cd08 | 66 | %{_infodir}/%{name}.info* |
4ac31547 ZU |
67 | |
68 | %files -n texlive-latex-eukleides | |
69 | %defattr(644,root,root,755) | |
70 | %dir %{_datadir}/texmf-dist/tex/latex/eukleides | |
71 | %{_datadir}/texmf-dist/tex/latex/eukleides/* |