Summary(hu.UTF-8): Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz
Summary(pl.UTF-8): Język opisu grafiki wektorowej do rysunków technicznych
Name: asymptote
-Version: 1.74
+Version: 1.79
Release: 1
License: GPL v3
Group: Applications/Science
Source0: http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
-# Source0-md5: 3a9b15912e43bce93a749cc44a063979
+# Source0-md5: beb6ef9a47322820b5e4ebfda0e4013b
URL: http://asymptote.sourceforge.net/
BuildRequires: autoconf
BuildRequires: gc-devel >= 7.0
%description latex -l pl.UTF-8
Style LaTeXa.
+%package context
+Summary: ConTeXt color macros
+Group: Applications/Publishing/TeX
+
+%description context
+ConTeXt color macros.
+
%package -n vim-syntax-asymptote
Summary: Vim syntax file to asy-files
Summary(hu.UTF-8): Vim syntax fájl asy fájlokhoz
%install
rm -rf $RPM_BUILD_ROOT
-# I don't know why need it - maybe the bad tetex configuration?
-# And the solution suggested by asympote's doc doesn't work too :(
-# cp %{_datadir}/texmf/tex/{plain/pdfcolor/pdfcolor.tex,generic/epsf/epsf.tex,texinfo/texinfo.tex} doc
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-# %{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf-local $RPM_BUILD_ROOT%{_datadir}/texmf
install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
%{__mv} $RPM_BUILD_ROOT%{_datadir}/{asymptote/asy.vim,vim/vimfiles/syntax}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
+
+%{__mv} $RPM_BUILD_ROOT%{_infodir}/{asymptote/*,}
+%{__rm} -rf $RPM_BUILD_ROOT%{_infodir}/asymptote
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README TODO BUGS
+%{_infodir}/*.info.gz
%attr(755,root,root) %{_bindir}/asy
%{_datadir}/%{name}
%exclude %{_datadir}/%{name}/GUI
%files latex
%defattr(644,root,root,755)
-%{_datadir}/texmf/tex/latex/asymptote
+%{_datadir}/texmf-dist/tex/latex/asymptote
+
+%files context
+%defattr(644,root,root,755)
+%{_datadir}/texmf-dist/tex/context/third/asymptote/colo-asy.tex
%files -n vim-syntax-asymptote
%defattr(644,root,root,755)