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: 1657cf5434a36e28ee192a5c984cbc94
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-latex
23 BuildRequires: texlive-tex-babel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Asymptote is a powerful descriptive vector graphics language for
28 technical drawing, inspired by MetaPost but with an improved C++-like
29 syntax. Asymptote provides for figures the same high-quality level of
30 typesetting that LaTeX does for scientific text.
32 %description -l hu.UTF-8
33 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
34 a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
35 képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
38 %description -l pl.UTF-8
39 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
40 technicznych. Język ten jest inspirowany językiem MetaPost, ale
41 posiada bogatszą składnię w stylu C++.
44 Summary: GUI for asymptote
45 Summary(hu.UTF-8): GUI asymptote-hoz
46 Summary(pl.UTF-8): Graficzny interfejs do asymptote
47 Group: Applications/Science
48 Requires: %{name} = %{version}-%{release}
53 %description gui -l hu.UTF-8
56 %description gui -l hu.UTF-8 -l pl.UTF-8
57 Graficzny interfejs do asymptote.
60 Summary: Asymptote documentation
61 Summary(hu.UTF-8): Asymptote dokumentáció
62 Summary(pl.UTF-8): Dokumentacja do Asymptote
64 Requires: %{name} = %{epoch}:%{version}-%{release}
67 Asymptote documentation.
69 %description doc -l hu.UTF-8
70 Asymptote dokumentációja.
72 %description doc -l pl.UTF-8
73 Dokumentacja do Asymptote.
76 Summary: Asymptote examples
77 Summary(hu.UTF-8): Asymptote példák
78 Summary(pl.UTF-8): Przykłady do Asymptote
80 Requires: %{name} = %{epoch}:%{version}-%{release}
85 %description examples -l hu.UTF-8
88 %description examples -l pl.UTF-8
89 Przykładowe pliki dla asymptote.
93 Summary(hu.UTF-8): LaTeX stílusok
94 Summary(pl.UTF-8): Style LaTeXa
95 Group: Applications/Publishing/TeX
96 Requires(post,postun): %{_bindir}/texhash
101 %description latex -l hu.UTF-8
104 %description latex -l pl.UTF-8
108 Summary: ConTeXt color macros
109 Group: Applications/Publishing/TeX
112 ConTeXt color macros.
114 %package -n vim-syntax-asymptote
115 Summary: Vim syntax file to asy-files
116 Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
117 Group: Applications/Editors/Vim
119 %description -n vim-syntax-asymptote
120 Vim syntax file to asy files.
122 %description -n vim-syntax-asymptote -l hu.UTF-8
123 Vim syntax fájl asy fájlokhoz.
133 CPPFLAGS=-I/usr/include/gc \
135 --enable-gc=%{_includedir}/gc \
136 --with-docdir=%{_docdir}/%{name}-doc
146 rm -rf $RPM_BUILD_ROOT
149 %{__make} install-asy \
153 DESTDIR=$RPM_BUILD_ROOT
155 install -d $RPM_BUILD_ROOT%{_examplesdir}
156 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
158 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
159 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
160 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
163 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
164 %{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
168 rm -rf $RPM_BUILD_ROOT
171 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
174 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
177 %defattr(644,root,root,755)
178 %doc README TODO BUGS
180 %{_infodir}/*.info.gz
182 %attr(755,root,root) %{_bindir}/asy
184 %exclude %{_datadir}/%{name}/GUI
186 %{_mandir}/man1/asy.1*
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_bindir}/xasy
192 %dir %{_datadir}/%{name}/GUI
193 %attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
194 %{_datadir}/%{name}/GUI/[!x]*.py
196 %{_mandir}/man1/xasy.1*
203 %defattr(644,root,root,755)
204 %{_docdir}/%{name}-doc
208 %defattr(644,root,root,755)
209 %{_examplesdir}/%{name}-%{version}
212 %defattr(644,root,root,755)
213 %{_datadir}/texmf-dist/tex/latex/asymptote
216 %defattr(644,root,root,755)
217 %{_datadir}/texmf-dist/tex/context/third/asymptote/colo-asy.tex
219 %files -n vim-syntax-asymptote
220 %defattr(644,root,root,755)
221 %{_datadir}/vim/vimfiles/syntax