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.
7 Group: Applications/Science
8 Group: X11/Applications/Science
9 Source0: http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
10 # Source0-md5: 8f85e1d9c455700f304960a8c5f7f113
11 URL: http://asymptote.sourceforge.net
12 BuildRequires: gc-devel >= 7.0
13 BuildRequires: gsl-devel >= 1.7
14 BuildRequires: ncurses-devel
16 BuildRequires: readline-devel
17 BuildRequires: rpm-pythonprov
18 BuildRequires: tetex-dvips
19 BuildRequires: tetex-format-latex
20 BuildRequires: tetex-tex-babel
21 BuildRequires: texinfo-texi2dvi
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Asymptote is a powerful descriptive vector graphics language for
26 technical drawing, inspired by MetaPost but with an improved C++-like
27 syntax. Asymptote provides for figures the same high-quality level of
28 typesetting that LaTeX does for scientific text.
30 %description -l hu.UTF-8
31 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz,
32 hasonló a MetaPost-hoz, de kibővítve C++-szerű szintaxissal.
33 Asymptote még képes olyan szintű szövegszedésre is, amelyre a
34 LaTeX képes a tudományos szöveggel.
37 Summary: Asymptote documentation
39 Requires: %{name} = %{epoch}:%{version}-%{release}
42 Asymptote documentation.
45 Summary: Asymptote examples
47 Requires: %{name} = %{epoch}:%{version}-%{release}
50 Asymptote documentation.
57 CPPFLAGS=-I/usr/include/gc \
59 --enable-gc=%{_includedir}/gc \
60 --with-docdir=%{_docdir}/%{name}-doc
62 CPPFLAGS=-I/usr/include/gc %{__make}
65 rm -rf $RPM_BUILD_ROOT
67 # I don't know why need it - maybe the bad tetex configuration?
68 # And the solution suggested by asympote's doc doesn't work too :(
69 cp %{_datadir}/texmf/tex/{plain/pdfcolor/pdfcolor.tex,generic/epsf/epsf.tex,texinfo/texinfo.tex} doc
72 DESTDIR=$RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{_examplesdir}
74 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/asy
82 %attr(755,root,root) %{_bindir}/xasy
84 %{_datadir}/texmf/tex/latex/asymptote
89 %defattr(644,root,root,755)
90 %{_examplesdir}/%{name}
93 %defattr(644,root,root,755)
94 %{_docdir}/%{name}-doc