]>
Commit | Line | Data |
---|---|---|
67493c5f | 1 | Summary: Asymptote is a powerful descriptive vector graphics language for technical drawing |
574b04f2 | 2 | Summary(hu.UTF-8): Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz |
e4f2efd9 | 3 | Summary(pl.UTF-8): Język opisu grafiki wektorowej do rysunków technicznych |
67493c5f | 4 | Name: asymptote |
5f02fed7 | 5 | Version: 1.53 |
67493c5f | 6 | Release: 1 |
51b599cf | 7 | License: GPL v3 |
67493c5f | 8 | Group: Applications/Science |
67493c5f | 9 | Source0: http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz |
5f02fed7 | 10 | # Source0-md5: 5017f551872a11d5ea6b9428383a4445 |
e4f2efd9 | 11 | URL: http://asymptote.sourceforge.net/ |
5aafd215 | 12 | BuildRequires: autoconf |
67493c5f | 13 | BuildRequires: gc-devel >= 7.0 |
14 | BuildRequires: gsl-devel >= 1.7 | |
15 | BuildRequires: ncurses-devel | |
16 | BuildRequires: python | |
17 | BuildRequires: readline-devel | |
18 | BuildRequires: rpm-pythonprov | |
19 | BuildRequires: tetex-dvips | |
20 | BuildRequires: tetex-format-latex | |
21 | BuildRequires: tetex-tex-babel | |
22 | BuildRequires: texinfo-texi2dvi | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Asymptote is a powerful descriptive vector graphics language for | |
27 | technical drawing, inspired by MetaPost but with an improved C++-like | |
28 | syntax. Asymptote provides for figures the same high-quality level of | |
29 | typesetting that LaTeX does for scientific text. | |
30 | ||
31 | %description -l hu.UTF-8 | |
32 | Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, | |
33 | hasonló a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. | |
34 | Asymptote még képes olyan szintű szövegszedésre is, amelyre a | |
35 | LaTeX képes a tudományos szöveggel. | |
36 | ||
574b04f2 | 37 | %description -l pl.UTF-8 |
38 | Asymptote jest językiem opisu grafiki wektorowej dla rysunków | |
39 | technicznych. Język ten jest inspirowany językiem MetaPost, ale | |
40 | posiada bogatszą składnię w stylu C++. | |
41 | ||
67493c5f | 42 | %package doc |
43 | Summary: Asymptote documentation | |
e4f2efd9 | 44 | Summary(pl.UTF-8): Dokumentacja do Asymptote |
67493c5f | 45 | Group: Documentation |
46 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
47 | ||
48 | %description doc | |
49 | Asymptote documentation. | |
50 | ||
574b04f2 | 51 | %description doc -l pl.UTF-8 |
e4f2efd9 | 52 | Dokumentacja do Asymptote. |
574b04f2 | 53 | |
67493c5f | 54 | %package examples |
55 | Summary: Asymptote examples | |
e4f2efd9 | 56 | Summary(pl.UTF-8): Przykłady do Asymptote |
67493c5f | 57 | Group: Documentation |
58 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
59 | ||
60 | %description examples | |
574b04f2 | 61 | Asymptote examples. |
62 | ||
63 | %description examples -l pl.UTF-8 | |
64 | Przykładowe pliki dla asymptote. | |
67493c5f | 65 | |
66 | %prep | |
67 | %setup -q | |
68 | ||
69 | %build | |
5aafd215 | 70 | %{__autoheader} |
71 | %{__autoconf} | |
67493c5f | 72 | %configure \ |
73 | CPPFLAGS=-I/usr/include/gc \ | |
74 | --disable-static \ | |
75 | --enable-gc=%{_includedir}/gc \ | |
76 | --with-docdir=%{_docdir}/%{name}-doc | |
77 | ||
5aafd215 | 78 | %{__make} all |
67493c5f | 79 | |
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | # I don't know why need it - maybe the bad tetex configuration? | |
84 | # And the solution suggested by asympote's doc doesn't work too :( | |
85 | cp %{_datadir}/texmf/tex/{plain/pdfcolor/pdfcolor.tex,generic/epsf/epsf.tex,texinfo/texinfo.tex} doc | |
67493c5f | 86 | %{__make} install \ |
87 | DESTDIR=$RPM_BUILD_ROOT | |
e4f2efd9 | 88 | |
67493c5f | 89 | install -d $RPM_BUILD_ROOT%{_examplesdir} |
e4f2efd9 | 90 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
67493c5f | 91 | |
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %files | |
96 | %defattr(644,root,root,755) | |
e4f2efd9 | 97 | %doc README TODO BUGS |
67493c5f | 98 | %attr(755,root,root) %{_bindir}/asy |
99 | %attr(755,root,root) %{_bindir}/xasy | |
100 | %{_datadir}/%{name} | |
101 | %{_datadir}/texmf/tex/latex/asymptote | |
102 | %{_mandir}/man1/* | |
67493c5f | 103 | |
104 | %files examples | |
105 | %defattr(644,root,root,755) | |
e4f2efd9 | 106 | %{_examplesdir}/%{name}-%{version} |
67493c5f | 107 | |
108 | %files doc | |
109 | %defattr(644,root,root,755) | |
110 | %{_docdir}/%{name}-doc |