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: gsl-devel >= 1.7
16 BuildRequires: ncurses-devel
18 BuildRequires: readline-devel
19 BuildRequires: rpm-pythonprov
20 BuildRequires: texinfo-texi2dvi
21 BuildRequires: texlive-dvips
22 BuildRequires: texlive-fonts-ams
23 BuildRequires: texlive-latex
24 BuildRequires: texlive-tex-babel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Asymptote is a powerful descriptive vector graphics language for
29 technical drawing, inspired by MetaPost but with an improved C++-like
30 syntax. Asymptote provides for figures the same high-quality level of
31 typesetting that LaTeX does for scientific text.
33 %description -l hu.UTF-8
34 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
35 a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
36 képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
39 %description -l pl.UTF-8
40 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
41 technicznych. Język ten jest inspirowany językiem MetaPost, ale
42 posiada bogatszą składnię w stylu C++.
45 Summary: GUI for asymptote
46 Summary(hu.UTF-8): GUI asymptote-hoz
47 Summary(pl.UTF-8): Graficzny interfejs do asymptote
48 Group: Applications/Science
49 Requires: %{name} = %{version}-%{release}
54 %description gui -l hu.UTF-8
57 %description gui -l hu.UTF-8 -l pl.UTF-8
58 Graficzny interfejs do asymptote.
61 Summary: Asymptote documentation
62 Summary(hu.UTF-8): Asymptote dokumentáció
63 Summary(pl.UTF-8): Dokumentacja do Asymptote
65 Requires: %{name} = %{epoch}:%{version}-%{release}
68 Asymptote documentation.
70 %description doc -l hu.UTF-8
71 Asymptote dokumentációja.
73 %description doc -l pl.UTF-8
74 Dokumentacja do Asymptote.
77 Summary: Asymptote examples
78 Summary(hu.UTF-8): Asymptote példák
79 Summary(pl.UTF-8): Przykłady do Asymptote
81 Requires: %{name} = %{epoch}:%{version}-%{release}
86 %description examples -l hu.UTF-8
89 %description examples -l pl.UTF-8
90 Przykładowe pliki dla asymptote.
94 Summary(hu.UTF-8): LaTeX stílusok
95 Summary(pl.UTF-8): Style LaTeXa
96 Group: Applications/Publishing/TeX
97 Requires(post,postun): %{_bindir}/texhash
102 %description latex -l hu.UTF-8
105 %description latex -l pl.UTF-8
109 Summary: ConTeXt color macros
110 Group: Applications/Publishing/TeX
113 ConTeXt color macros.
115 %package -n vim-syntax-asymptote
116 Summary: Vim syntax file to asy-files
117 Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
118 Group: Applications/Editors/Vim
120 %description -n vim-syntax-asymptote
121 Vim syntax file to asy files.
123 %description -n vim-syntax-asymptote -l hu.UTF-8
124 Vim syntax fájl asy fájlokhoz.
134 CPPFLAGS=-I/usr/include/gc \
136 --enable-gc=%{_includedir}/gc \
137 --with-docdir=%{_docdir}/%{name}-doc
147 rm -rf $RPM_BUILD_ROOT
150 %{__make} install-asy \
154 DESTDIR=$RPM_BUILD_ROOT
156 install -d $RPM_BUILD_ROOT%{_examplesdir}
157 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
159 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
160 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
161 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
164 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
165 %{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
169 rm -rf $RPM_BUILD_ROOT
172 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
175 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
178 %defattr(644,root,root,755)
179 %doc README TODO BUGS
181 %{_infodir}/*.info.gz
183 %attr(755,root,root) %{_bindir}/asy
185 %exclude %{_datadir}/%{name}/GUI
187 %{_mandir}/man1/asy.1*
191 %defattr(644,root,root,755)
192 %attr(755,root,root) %{_bindir}/xasy
193 %dir %{_datadir}/%{name}/GUI
194 %attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
195 %{_datadir}/%{name}/GUI/[!x]*.py
197 %{_mandir}/man1/xasy.1*
204 %defattr(644,root,root,755)
205 %{_docdir}/%{name}-doc
209 %defattr(644,root,root,755)
210 %{_examplesdir}/%{name}-%{version}
213 %defattr(644,root,root,755)
214 %{_datadir}/texmf-dist/tex/latex/asymptote
217 %defattr(644,root,root,755)
218 %{_datadir}/texmf-dist/tex/context/third/asymptote/colo-asy.tex
220 %files -n vim-syntax-asymptote
221 %defattr(644,root,root,755)
222 %{_datadir}/vim/vimfiles/syntax