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ęzyk opisu grafiki wektorowej do rysunków technicznych
8 Group: Applications/Science
9 Source0: http://downloads.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
10 # Source0-md5: 0858ad71eab104b3b80cb5f856e23b07
11 Patch0: %{name}-memrchr.patch
12 URL: http://asymptote.sourceforge.net/
13 BuildRequires: OpenGL-GLU-devel
14 BuildRequires: OpenGL-glut-devel
15 BuildRequires: autoconf
16 BuildRequires: fftw3-devel
17 BuildRequires: gc-devel >= 7.0
18 BuildRequires: ghostscript
19 BuildRequires: gsl-devel >= 1.7
20 BuildRequires: libstdc++-devel
21 BuildRequires: ncurses-devel
23 BuildRequires: readline-devel
24 BuildRequires: rpm-pythonprov
25 BuildRequires: texinfo-texi2dvi
26 BuildRequires: texlive-dvips
27 BuildRequires: texlive-fonts-ams
28 BuildRequires: texlive-latex
29 #BuildRequires: texlive-tex-babel
30 BuildRequires: zlib-devel
31 Suggests: ImageMagick-coder-dot
32 Suggests: ImageMagick-coder-jpeg
33 Suggests: ImageMagick-coder-png
34 # e.g. "label" command needs latex
35 Suggests: texlive-latex
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 %define texmfdist %{_datadir}/texmf-dist
41 Asymptote is a powerful descriptive vector graphics language for
42 technical drawing, inspired by MetaPost but with an improved C++-like
43 syntax. Asymptote provides for figures the same high-quality level of
44 typesetting that LaTeX does for scientific text.
46 %description -l hu.UTF-8
47 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
48 a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
49 képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
52 %description -l pl.UTF-8
53 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
54 technicznych. Język ten jest inspirowany językiem MetaPost, ale
55 posiada bogatszą składnię w stylu C++.
58 Summary: GUI for asymptote
59 Summary(hu.UTF-8): GUI asymptote-hoz
60 Summary(pl.UTF-8): Graficzny interfejs do asymptote
61 Group: Applications/Science
62 Requires: %{name} = %{version}-%{release}
63 Requires: python-tkinter
68 %description gui -l hu.UTF-8
71 %description gui -l hu.UTF-8 -l pl.UTF-8
72 Graficzny interfejs do asymptote.
75 Summary: Asymptote documentation
76 Summary(hu.UTF-8): Asymptote dokumentáció
77 Summary(pl.UTF-8): Dokumentacja do Asymptote
79 Requires: %{name} = %{epoch}:%{version}-%{release}
82 Asymptote documentation.
84 %description doc -l hu.UTF-8
85 Asymptote dokumentációja.
87 %description doc -l pl.UTF-8
88 Dokumentacja do Asymptote.
91 Summary: Asymptote examples
92 Summary(hu.UTF-8): Asymptote példák
93 Summary(pl.UTF-8): Przykłady do Asymptote
95 Requires: %{name} = %{epoch}:%{version}-%{release}
100 %description examples -l hu.UTF-8
103 %description examples -l pl.UTF-8
104 Przykładowe pliki dla asymptote.
107 Summary: LaTeX styles
108 Summary(hu.UTF-8): LaTeX stílusok
109 Summary(pl.UTF-8): Style LaTeXa
110 Group: Applications/Publishing/TeX
111 Requires(post,postun): %{_bindir}/texhash
116 %description latex -l hu.UTF-8
119 %description latex -l pl.UTF-8
123 Summary: ConTeXt color macros
124 Group: Applications/Publishing/TeX
125 Requires(post,postun): %{_bindir}/texhash
126 Requires: texlive-context
129 ConTeXt color macros.
131 %package -n vim-syntax-asymptote
132 Summary: Vim syntax file to asy-files
133 Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
134 Group: Applications/Editors/Vim
136 %description -n vim-syntax-asymptote
137 Vim syntax file to asy files.
139 %description -n vim-syntax-asymptote -l hu.UTF-8
140 Vim syntax fájl asy fájlokhoz.
150 CPPFLAGS=-I/usr/include/gc \
152 --enable-gc=%{_includedir}/gc \
153 --with-docdir=%{_docdir}/%{name}-doc
163 rm -rf $RPM_BUILD_ROOT
166 %{__make} install-asy \
170 DESTDIR=$RPM_BUILD_ROOT
172 install -d $RPM_BUILD_ROOT%{_examplesdir}
173 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
175 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
176 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
177 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
178 %{__mv} $RPM_BUILD_ROOT%{texmfdist}/tex/context/{third,}/asymptote
179 %{__rm} -rf $RPM_BUILD_ROOT%{texmfdist}/tex/context/third
182 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
183 %{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
187 rm -rf $RPM_BUILD_ROOT
190 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
193 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
196 %defattr(644,root,root,755)
197 %doc README TODO BUGS
199 %{_infodir}/*.info.gz
201 %attr(755,root,root) %{_bindir}/asy
203 %exclude %{_datadir}/%{name}/GUI
205 %{_mandir}/man1/asy.1*
209 %defattr(644,root,root,755)
210 %attr(755,root,root) %{_bindir}/xasy
211 %dir %{_datadir}/%{name}/GUI
212 %attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
213 %{_datadir}/%{name}/GUI/[!x]*.py
215 %{_mandir}/man1/xasy.1*
222 %defattr(644,root,root,755)
223 %{_docdir}/%{name}-doc
227 %defattr(644,root,root,755)
228 %{_examplesdir}/%{name}-%{version}
231 %defattr(644,root,root,755)
232 %{texmfdist}/tex/latex/asymptote
235 %defattr(644,root,root,755)
236 # should be in texlive.spec
237 %dir %{texmfdist}/tex/context
238 %{texmfdist}/tex/context/asymptote
240 %files -n vim-syntax-asymptote
241 %defattr(644,root,root,755)
242 %{_datadir}/vim/vimfiles/syntax