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: 0960360e00e8a1a6b84acb70f623ca72
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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Asymptote is a powerful descriptive vector graphics language for
30 technical drawing, inspired by MetaPost but with an improved C++-like
31 syntax. Asymptote provides for figures the same high-quality level of
32 typesetting that LaTeX does for scientific text.
34 %description -l hu.UTF-8
35 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
36 a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
37 képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
40 %description -l pl.UTF-8
41 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
42 technicznych. Język ten jest inspirowany językiem MetaPost, ale
43 posiada bogatszą składnię w stylu C++.
46 Summary: GUI for asymptote
47 Summary(hu.UTF-8): GUI asymptote-hoz
48 Summary(pl.UTF-8): Graficzny interfejs do asymptote
49 Group: Applications/Science
50 Requires: %{name} = %{version}-%{release}
55 %description gui -l hu.UTF-8
58 %description gui -l hu.UTF-8 -l pl.UTF-8
59 Graficzny interfejs do asymptote.
62 Summary: Asymptote documentation
63 Summary(hu.UTF-8): Asymptote dokumentáció
64 Summary(pl.UTF-8): Dokumentacja do Asymptote
66 Requires: %{name} = %{epoch}:%{version}-%{release}
69 Asymptote documentation.
71 %description doc -l hu.UTF-8
72 Asymptote dokumentációja.
74 %description doc -l pl.UTF-8
75 Dokumentacja do Asymptote.
78 Summary: Asymptote examples
79 Summary(hu.UTF-8): Asymptote példák
80 Summary(pl.UTF-8): Przykłady do Asymptote
82 Requires: %{name} = %{epoch}:%{version}-%{release}
87 %description examples -l hu.UTF-8
90 %description examples -l pl.UTF-8
91 Przykładowe pliki dla asymptote.
95 Summary(hu.UTF-8): LaTeX stílusok
96 Summary(pl.UTF-8): Style LaTeXa
97 Group: Applications/Publishing/TeX
98 Requires(post,postun): %{_bindir}/texhash
103 %description latex -l hu.UTF-8
106 %description latex -l pl.UTF-8
110 Summary: ConTeXt color macros
111 Group: Applications/Publishing/TeX
114 ConTeXt color macros.
116 %package -n vim-syntax-asymptote
117 Summary: Vim syntax file to asy-files
118 Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
119 Group: Applications/Editors/Vim
121 %description -n vim-syntax-asymptote
122 Vim syntax file to asy files.
124 %description -n vim-syntax-asymptote -l hu.UTF-8
125 Vim syntax fájl asy fájlokhoz.
135 CPPFLAGS=-I/usr/include/gc \
137 --enable-gc=%{_includedir}/gc \
138 --with-docdir=%{_docdir}/%{name}-doc
148 rm -rf $RPM_BUILD_ROOT
151 %{__make} install-asy \
155 DESTDIR=$RPM_BUILD_ROOT
157 install -d $RPM_BUILD_ROOT%{_examplesdir}
158 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
160 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
161 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
162 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
165 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
166 %{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
170 rm -rf $RPM_BUILD_ROOT
173 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
176 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
179 %defattr(644,root,root,755)
180 %doc README TODO BUGS
182 %{_infodir}/*.info.gz
184 %attr(755,root,root) %{_bindir}/asy
186 %exclude %{_datadir}/%{name}/GUI
188 %{_mandir}/man1/asy.1*
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_bindir}/xasy
194 %dir %{_datadir}/%{name}/GUI
195 %attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
196 %{_datadir}/%{name}/GUI/[!x]*.py
198 %{_mandir}/man1/xasy.1*
205 %defattr(644,root,root,755)
206 %{_docdir}/%{name}-doc
210 %defattr(644,root,root,755)
211 %{_examplesdir}/%{name}-%{version}
214 %defattr(644,root,root,755)
215 %{_datadir}/texmf-dist/tex/latex/asymptote
218 %defattr(644,root,root,755)
219 %{_datadir}/texmf-dist/tex/context/third/asymptote/colo-asy.tex
221 %files -n vim-syntax-asymptote
222 %defattr(644,root,root,755)
223 %{_datadir}/vim/vimfiles/syntax