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://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
10 # Source0-md5: 83846b6916a652d0191f855ec89a3434
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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define texmfdist %{_datadir}/texmf-dist
39 Asymptote is a powerful descriptive vector graphics language for
40 technical drawing, inspired by MetaPost but with an improved C++-like
41 syntax. Asymptote provides for figures the same high-quality level of
42 typesetting that LaTeX does for scientific text.
44 %description -l hu.UTF-8
45 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
46 a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
47 képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
50 %description -l pl.UTF-8
51 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
52 technicznych. Język ten jest inspirowany językiem MetaPost, ale
53 posiada bogatszą składnię w stylu C++.
56 Summary: GUI for asymptote
57 Summary(hu.UTF-8): GUI asymptote-hoz
58 Summary(pl.UTF-8): Graficzny interfejs do asymptote
59 Group: Applications/Science
60 Requires: %{name} = %{version}-%{release}
61 Requires: python-tkinter
66 %description gui -l hu.UTF-8
69 %description gui -l hu.UTF-8 -l pl.UTF-8
70 Graficzny interfejs do asymptote.
73 Summary: Asymptote documentation
74 Summary(hu.UTF-8): Asymptote dokumentáció
75 Summary(pl.UTF-8): Dokumentacja do Asymptote
77 Requires: %{name} = %{epoch}:%{version}-%{release}
80 Asymptote documentation.
82 %description doc -l hu.UTF-8
83 Asymptote dokumentációja.
85 %description doc -l pl.UTF-8
86 Dokumentacja do Asymptote.
89 Summary: Asymptote examples
90 Summary(hu.UTF-8): Asymptote példák
91 Summary(pl.UTF-8): Przykłady do Asymptote
93 Requires: %{name} = %{epoch}:%{version}-%{release}
98 %description examples -l hu.UTF-8
101 %description examples -l pl.UTF-8
102 Przykładowe pliki dla asymptote.
105 Summary: LaTeX styles
106 Summary(hu.UTF-8): LaTeX stílusok
107 Summary(pl.UTF-8): Style LaTeXa
108 Group: Applications/Publishing/TeX
109 Requires(post,postun): %{_bindir}/texhash
114 %description latex -l hu.UTF-8
117 %description latex -l pl.UTF-8
121 Summary: ConTeXt color macros
122 Group: Applications/Publishing/TeX
123 Requires(post,postun): %{_bindir}/texhash
124 Requires: texlive-context
127 ConTeXt color macros.
129 %package -n vim-syntax-asymptote
130 Summary: Vim syntax file to asy-files
131 Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
132 Group: Applications/Editors/Vim
134 %description -n vim-syntax-asymptote
135 Vim syntax file to asy files.
137 %description -n vim-syntax-asymptote -l hu.UTF-8
138 Vim syntax fájl asy fájlokhoz.
148 CPPFLAGS=-I/usr/include/gc \
150 --enable-gc=%{_includedir}/gc \
151 --with-docdir=%{_docdir}/%{name}-doc
161 rm -rf $RPM_BUILD_ROOT
164 %{__make} install-asy \
168 DESTDIR=$RPM_BUILD_ROOT
170 install -d $RPM_BUILD_ROOT%{_examplesdir}
171 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
173 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
174 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
175 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
176 %{__mv} $RPM_BUILD_ROOT%{texmfdist}/tex/context/{third,}/asymptote
177 %{__rm} -rf $RPM_BUILD_ROOT%{texmfdist}/tex/context/third
180 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
181 %{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
185 rm -rf $RPM_BUILD_ROOT
188 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
191 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
194 %defattr(644,root,root,755)
195 %doc README TODO BUGS
197 %{_infodir}/*.info.gz
199 %attr(755,root,root) %{_bindir}/asy
201 %exclude %{_datadir}/%{name}/GUI
203 %{_mandir}/man1/asy.1*
207 %defattr(644,root,root,755)
208 %attr(755,root,root) %{_bindir}/xasy
209 %dir %{_datadir}/%{name}/GUI
210 %attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
211 %{_datadir}/%{name}/GUI/[!x]*.py
213 %{_mandir}/man1/xasy.1*
220 %defattr(644,root,root,755)
221 %{_docdir}/%{name}-doc
225 %defattr(644,root,root,755)
226 %{_examplesdir}/%{name}-%{version}
229 %defattr(644,root,root,755)
230 %{texmfdist}/tex/latex/asymptote
233 %defattr(644,root,root,755)
234 # should be in texlive.spec
235 %dir %{texmfdist}/tex/context
236 %{texmfdist}/tex/context/asymptote
238 %files -n vim-syntax-asymptote
239 %defattr(644,root,root,755)
240 %{_datadir}/vim/vimfiles/syntax