# Source10-md5: 5d9fe14d289aa81ebb6b4761169dd5f2
Source11: http://carme.pld-linux.org/~uzsolt/sources/%{name}-fonts-larm.tar.bz2
# Source11-md5: df2fcc66f0c2e90785ca6c9b27dacd34
+Source12: http://www.ctan.org/get/macros/latex/contrib/foiltex.zip
+# Source12-md5: 0a6b4e64fb883a68d9b288bf3421db25
Source50: http://sunsite2.icm.edu.pl/pub/tex/systems/texlive/tlnet/2008/tlpkg/TeXLive/Splashscreen.pm
# Source50-md5: 5cc49f49010f27fdb02dd7053797ba19
Source51: http://sunsite2.icm.edu.pl/pub/tex/systems/texlive/tlnet/2008/tlpkg/TeXLive/TLConfig.pm
Patch2: %{name}-gcc44.patch
Patch3: %{name}-getline.patch
Patch4: %{name}-stdio.patch
+Patch5: %{name}-aclocal.patch
URL: http://www.tug.org/texlive/
BuildRequires: autoconf
BuildRequires: automake
#BuildRequires: %{name}-format-amstex
#BuildRequires: %{name}-format-cslatex
BuildRequires: %{name}-format-eplain
+BuildRequires: %{name}-format-mex
BuildRequires: %{name}-format-pdflatex
BuildRequires: %{name}-latex
BuildRequires: %{name}-latex-cyrillic
%description latex-float -l hu.UTF-8
Eszközök úszó objektuomok kezeléséhez.
+%package latex-foiltex
+Summary: The FoilTeX is a collection of LaTeX files for making foils
+Summary(hu.UTF-8): A FoilTeX a LaTeX fájlok gyűjteménye fóliák készítéséhez
+Group: Applications/Publishing/TeX
+Requires(post,postun): %{_bindir}/texhash
+Requires: %{name}-latex = %{epoch}:%{version}-%{release}
+
+%description latex-foiltex
+The FoilTeX is a collection of LaTeX files for making foils.
+
+%description latex-foiltex -l hu.UTF-8
+A FoilTeX a LaTeX fájlok gyűjteménye fóliák készítéséhez.
+
%package latex-formlett
Summary: Letters to multiple recipients
Summary(hu.UTF-8): Levél több címzettnek ("körlevél")
Summary(hu.UTF-8): Prezentációk LaTeX-ben
Group: Applications/Publishing/TeX
Requires(post,postun): %{_bindir}/texhash
-Requires: %{name}-latex = %{epoch}:%{version}-%{release}
-Suggests: %{name}-latex-prosper
+Requires: %{name}-latex-foiltex = %{epoch}:%{version}-%{release}
+Suggests: %{name}-latex-prosper = %{epoch}:%{version}-%{release}
%description latex-presentation
This package contains:
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
CURDIR=$(pwd)
cd utils/xindy/make-rules/alphabets
install %{SOURCE61} $RPM_BUILD_ROOT%{perl_vendorlib}/TeXLive
install %{SOURCE62} $RPM_BUILD_ROOT%{perl_vendorlib}/TeXLive
+
cd $RPM_BUILD_ROOT%{texmfdist}/tex/latex
# floatflt
%{__rm} *.log
install -d $RPM_BUILD_ROOT%{texmfdist}/doc/latex/floatflt
%{__mv} *.txt *.tex *.pdf README $RPM_BUILD_ROOT%{texmfdist}/doc/latex/floatflt
-cd $RPM_BUILD_ROOT%{texmfdist}
+cd ..
+
+# foiltex
+unzip %{SOURCE12}
+cd foiltex
+latex foiltex.ins
+%{__rm} *.log
+install -d $RPM_BUILD_ROOT%{texmfdist}/doc/latex/foiltex
+%{__mv} *.tex *.pdf README $RPM_BUILD_ROOT%{texmfdist}/doc/latex/foiltex
+cd ..
# larm fonts
+cd $RPM_BUILD_ROOT%{texmfdist}
tar xvf %{SOURCE11}
cd fonts/tfm/la
for i in larm?00.tfm; do ln -s $i $(echo $i | sed "s@larm\(.\).*@larm0\100.tfm@") ; done
%postun latex-float
%texhash
+%post latex-foiltex
+%texhash
+
+%postun latex-foiltex
+%texhash
+
%post latex-formlett
%texhash
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/mex
%{texmfdist}/tex/mex/config/mex.ini
-%{fmtdir}/tex/mex.fmt
+%{fmtdir}/pdftex/mex.fmt
%files format-pdfmex
%defattr(644,root,root,755)
%{texmfdist}/tex/latex/photo
%{texmfdist}/tex/latex/topfloat
+%files latex-foiltex
+%defattr(644,root,root,755)
+%doc %{texmfdist}/doc/latex/foiltex
+%{texmfdist}/tex/latex/foiltex
+
%files latex-formlett
%defattr(644,root,root,755)
%doc %{texmfdist}/doc/latex/formlett