1 Summary: Asymptote is a powerful descriptive vector graphics language for technical drawing
2 Summary(hu.UTF-8): Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz
3 Summary(pl.UTF-8): Języka opisu grafiki wektorowej do technicznych rysunków
8 Group: Applications/Science
9 Group: X11/Applications/Science
10 Source0: http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
11 # Source0-md5: 8f85e1d9c455700f304960a8c5f7f113
12 URL: http://asymptote.sourceforge.net
13 BuildRequires: autoconf
14 BuildRequires: gc-devel >= 7.0
15 BuildRequires: gsl-devel >= 1.7
16 BuildRequires: ncurses-devel
18 BuildRequires: readline-devel
19 BuildRequires: rpm-pythonprov
20 BuildRequires: tetex-dvips
21 BuildRequires: tetex-format-latex
22 BuildRequires: tetex-tex-babel
23 BuildRequires: texinfo-texi2dvi
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Asymptote is a powerful descriptive vector graphics language for
28 technical drawing, inspired by MetaPost but with an improved C++-like
29 syntax. Asymptote provides for figures the same high-quality level of
30 typesetting that LaTeX does for scientific text.
32 %description -l hu.UTF-8
33 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz,
34 hasonló a MetaPost-hoz, de kibővítve C++-szerű szintaxissal.
35 Asymptote még képes olyan szintű szövegszedésre is, amelyre a
36 LaTeX képes a tudományos szöveggel.
38 %description -l pl.UTF-8
39 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
40 technicznych. Język ten jest inspirowany językiem MetaPost, ale
41 posiada bogatszą składnię w stylu C++.
44 Summary: Asymptote documentation
46 Requires: %{name} = %{epoch}:%{version}-%{release}
49 Asymptote documentation.
51 %description doc -l pl.UTF-8
52 Dokumentacja asymptote.
55 Summary: Asymptote examples
57 Requires: %{name} = %{epoch}:%{version}-%{release}
62 %description examples -l pl.UTF-8
63 Przykładowe pliki dla asymptote.
72 CPPFLAGS=-I/usr/include/gc \
74 --enable-gc=%{_includedir}/gc \
75 --with-docdir=%{_docdir}/%{name}-doc
80 rm -rf $RPM_BUILD_ROOT
82 # I don't know why need it - maybe the bad tetex configuration?
83 # And the solution suggested by asympote's doc doesn't work too :(
84 cp %{_datadir}/texmf/tex/{plain/pdfcolor/pdfcolor.tex,generic/epsf/epsf.tex,texinfo/texinfo.tex} doc
86 DESTDIR=$RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT%{_examplesdir}
88 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
91 rm -rf $RPM_BUILD_ROOT
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/asy
96 %attr(755,root,root) %{_bindir}/xasy
98 %{_datadir}/texmf/tex/latex/asymptote
100 %doc README TODO BUGS
103 %defattr(644,root,root,755)
104 %{_examplesdir}/%{name}
107 %defattr(644,root,root,755)
108 %{_docdir}/%{name}-doc