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: beb6ef9a47322820b5e4ebfda0e4013b
11 URL: http://asymptote.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: gc-devel >= 7.0
14 BuildRequires: gsl-devel >= 1.7
15 BuildRequires: ncurses-devel
17 BuildRequires: readline-devel
18 BuildRequires: rpm-pythonprov
19 BuildRequires: texinfo-texi2dvi
20 BuildRequires: texlive-dvips
21 BuildRequires: texlive-latex
22 BuildRequires: texlive-tex-babel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Asymptote is a powerful descriptive vector graphics language for
27 technical drawing, inspired by MetaPost but with an improved C++-like
28 syntax. Asymptote provides for figures the same high-quality level of
29 typesetting that LaTeX does for scientific text.
31 %description -l hu.UTF-8
32 Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
33 a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
34 képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
37 %description -l pl.UTF-8
38 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
39 technicznych. Język ten jest inspirowany językiem MetaPost, ale
40 posiada bogatszą składnię w stylu C++.
43 Summary: GUI for asymptote
44 Summary(hu.UTF-8): GUI asymptote-hoz
45 Summary(pl.UTF-8): Graficzny interfejs do asymptote
46 Group: Applications/Science
47 Requires: %{name} = %{version}-%{release}
52 %description gui -l hu.UTF-8
55 %description gui -l hu.UTF-8 -l pl.UTF-8
56 Graficzny interfejs do asymptote.
59 Summary: Asymptote documentation
60 Summary(hu.UTF-8): Asymptote dokumentáció
61 Summary(pl.UTF-8): Dokumentacja do Asymptote
63 Requires: %{name} = %{epoch}:%{version}-%{release}
66 Asymptote documentation.
68 %description doc -l hu.UTF-8
69 Asymptote dokumentációja.
71 %description doc -l pl.UTF-8
72 Dokumentacja do Asymptote.
75 Summary: Asymptote examples
76 Summary(hu.UTF-8): Asymptote példák
77 Summary(pl.UTF-8): Przykłady do Asymptote
79 Requires: %{name} = %{epoch}:%{version}-%{release}
84 %description examples -l hu.UTF-8
87 %description examples -l pl.UTF-8
88 Przykładowe pliki dla asymptote.
92 Summary(hu.UTF-8): LaTeX stílusok
93 Summary(pl.UTF-8): Style LaTeXa
94 Group: Applications/Publishing/TeX
95 Requires(post,postun): %{_bindir}/texhash
100 %description latex -l hu.UTF-8
103 %description latex -l pl.UTF-8
107 Summary: ConTeXt color macros
108 Group: Applications/Publishing/TeX
111 ConTeXt color macros.
113 %package -n vim-syntax-asymptote
114 Summary: Vim syntax file to asy-files
115 Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
116 Group: Applications/Editors/Vim
118 %description -n vim-syntax-asymptote
119 Vim syntax file to asy files.
121 %description -n vim-syntax-asymptote -l hu.UTF-8
122 Vim syntax fájl asy fájlokhoz.
131 CPPFLAGS=-I/usr/include/gc \
133 --enable-gc=%{_includedir}/gc \
134 --with-docdir=%{_docdir}/%{name}-doc
135 cd doc && for i in %{_datadir}/texmf/tex/texinfo/*; do ln -s $i; done && cd ..
140 rm -rf $RPM_BUILD_ROOT
143 DESTDIR=$RPM_BUILD_ROOT
145 install -d $RPM_BUILD_ROOT%{_examplesdir}
146 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
148 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
149 %{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
150 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
152 %{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
153 %{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
156 rm -rf $RPM_BUILD_ROOT
159 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
162 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
165 %defattr(644,root,root,755)
166 %doc README TODO BUGS
167 %{_infodir}/*.info.gz
168 %attr(755,root,root) %{_bindir}/asy
170 %exclude %{_datadir}/%{name}/GUI
171 %{_mandir}/man1/asy.1*
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_bindir}/xasy
176 %dir %{_datadir}/%{name}/GUI
177 %attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
178 %{_datadir}/%{name}/GUI/[!x]*.py
179 %{_mandir}/man1/xasy.1*
182 %defattr(644,root,root,755)
183 %{_docdir}/%{name}-doc
186 %defattr(644,root,root,755)
187 %{_examplesdir}/%{name}-%{version}
190 %defattr(644,root,root,755)
191 %{_datadir}/texmf-dist/tex/latex/asymptote
194 %defattr(644,root,root,755)
195 %{_datadir}/texmf-dist/tex/context/third/asymptote/colo-asy.tex
197 %files -n vim-syntax-asymptote
198 %defattr(644,root,root,755)
199 %{_datadir}/vim/vimfiles/syntax