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: de1fa1be5451fc52ea314d95e6d4b0b5
11 Patch0: %{name}-memrchr.patch
12 URL: http://asymptote.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: gc-devel >= 7.0
15 BuildRequires: ghostscript
16 BuildRequires: gsl-devel >= 1.7
17 BuildRequires: ncurses-devel
19 BuildRequires: readline-devel
20 BuildRequires: rpm-pythonprov
21 BuildRequires: texinfo-texi2dvi
22 BuildRequires: texlive-dvips
23 BuildRequires: texlive-fonts-ams
24 BuildRequires: texlive-latex
25 BuildRequires: texlive-tex-babel
26 Suggests: ImageMagick-coder-dot
27 Suggests: ImageMagick-coder-jpeg
28 Suggests: ImageMagick-coder-png
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define texmfdist %{_datadir}/texmf-dist
34 Asymptote is a powerful descriptive vector graphics language for
35 technical drawing, inspired by MetaPost but with an improved C++-like
36 syntax. Asymptote provides for figures the same high-quality level of
37 typesetting that LaTeX does for scientific text.
39 %description -l hu.UTF-8
40 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
41 a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
42 képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
45 %description -l pl.UTF-8
46 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
47 technicznych. Język ten jest inspirowany językiem MetaPost, ale
48 posiada bogatszą składnię w stylu C++.
51 Summary: GUI for asymptote
52 Summary(hu.UTF-8): GUI asymptote-hoz
53 Summary(pl.UTF-8): Graficzny interfejs do asymptote
54 Group: Applications/Science
55 Requires: %{name} = %{version}-%{release}
56 Requires: python-tkinter
61 %description gui -l hu.UTF-8
64 %description gui -l hu.UTF-8 -l pl.UTF-8
65 Graficzny interfejs do asymptote.
68 Summary: Asymptote documentation
69 Summary(hu.UTF-8): Asymptote dokumentáció
70 Summary(pl.UTF-8): Dokumentacja do Asymptote
72 Requires: %{name} = %{epoch}:%{version}-%{release}
75 Asymptote documentation.
77 %description doc -l hu.UTF-8
78 Asymptote dokumentációja.
80 %description doc -l pl.UTF-8
81 Dokumentacja do Asymptote.
84 Summary: Asymptote examples
85 Summary(hu.UTF-8): Asymptote példák
86 Summary(pl.UTF-8): Przykłady do Asymptote
88 Requires: %{name} = %{epoch}:%{version}-%{release}
93 %description examples -l hu.UTF-8
96 %description examples -l pl.UTF-8
97 Przykładowe pliki dla asymptote.
100 Summary: LaTeX styles
101 Summary(hu.UTF-8): LaTeX stílusok
102 Summary(pl.UTF-8): Style LaTeXa
103 Group: Applications/Publishing/TeX
104 Requires(post,postun): %{_bindir}/texhash
109 %description latex -l hu.UTF-8
112 %description latex -l pl.UTF-8
116 Summary: ConTeXt color macros
117 Group: Applications/Publishing/TeX
118 Requires(post,postun): %{_bindir}/texhash
119 Requires: texlive-context
122 ConTeXt color macros.
124 %package -n vim-syntax-asymptote
125 Summary: Vim syntax file to asy-files
126 Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
127 Group: Applications/Editors/Vim
129 %description -n vim-syntax-asymptote
130 Vim syntax file to asy files.
132 %description -n vim-syntax-asymptote -l hu.UTF-8
133 Vim syntax fájl asy fájlokhoz.
143 CPPFLAGS=-I/usr/include/gc \
145 --enable-gc=%{_includedir}/gc \
146 --with-docdir=%{_docdir}/%{name}-doc
156 rm -rf $RPM_BUILD_ROOT
159 %{__make} install-asy \
163 DESTDIR=$RPM_BUILD_ROOT
165 install -d $RPM_BUILD_ROOT%{_examplesdir}
166 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
168 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
169 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
170 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
171 %{__mv} $RPM_BUILD_ROOT%{texmfdist}/tex/context/{third,}/asymptote
172 %{__rm} -rf $RPM_BUILD_ROOT%{texmfdist}/tex/context/third
175 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
176 %{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
180 rm -rf $RPM_BUILD_ROOT
183 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
186 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
189 %defattr(644,root,root,755)
190 %doc README TODO BUGS
192 %{_infodir}/*.info.gz
194 %attr(755,root,root) %{_bindir}/asy
196 %exclude %{_datadir}/%{name}/GUI
198 %{_mandir}/man1/asy.1*
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{_bindir}/xasy
204 %dir %{_datadir}/%{name}/GUI
205 %attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
206 %{_datadir}/%{name}/GUI/[!x]*.py
208 %{_mandir}/man1/xasy.1*
215 %defattr(644,root,root,755)
216 %{_docdir}/%{name}-doc
220 %defattr(644,root,root,755)
221 %{_examplesdir}/%{name}-%{version}
224 %defattr(644,root,root,755)
225 %{texmfdist}/tex/latex/asymptote
228 %defattr(644,root,root,755)
229 # should be in texlive.spec
230 %dir %{texmfdist}/tex/context
231 %{texmfdist}/tex/context/asymptote
233 %files -n vim-syntax-asymptote
234 %defattr(644,root,root,755)
235 %{_datadir}/vim/vimfiles/syntax