Author: qboosh Date: Mon Nov 7 16:11:58 2011 GMT Module: packages Tag: HEAD ---- Log message: - package LaTeX fonts for thailatex; make rules incompatible with -jN - added post/postun scripts
---- Files affected: packages/fonts-thai-scalable: fonts-thai-scalable.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: packages/fonts-thai-scalable/fonts-thai-scalable.spec diff -u packages/fonts-thai-scalable/fonts-thai-scalable.spec:1.1 packages/fonts-thai-scalable/fonts-thai-scalable.spec:1.2 --- packages/fonts-thai-scalable/fonts-thai-scalable.spec:1.1 Sun Nov 6 18:43:05 2011 +++ packages/fonts-thai-scalable/fonts-thai-scalable.spec Mon Nov 7 17:11:53 2011 @@ -1,8 +1,7 @@ # $Revision$, $Date$ -# TODO: LaTeX deps and files # # Conditional build: -%bcond_with latex # build LaTeX fonts +%bcond_without latex # LaTeX fonts # Summary: Collection of Thai scalable fonts Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich @@ -15,7 +14,10 @@ # Source0-md5: 4cdbb081bf0d180ead5e0f04149ff023 URL: http://linux.thai.net/projects/thaifonts-scalable BuildRequires: fontforge >= 20080110 -%{?with_latex:BuildRequires: afm2tfm, vptovf, kpsewhich, updmap, mktexlsr||texhash, thailatex >= 0.4.6} +%if %{with latex} +BuildRequires: texlive +BuildRequires: thailatex >= 0.4.6 +%endif BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -96,6 +98,30 @@ Ten pakiet zawiera fonty w formacie Type1. +%package -n thailatex-fonts +Summary: Collection of Thai scalable fonts for LaTeX +Summary(pl.UTF-8): Kolekcja skalowalnych fontów tajskich dla LaTeXa +Group: Fonts +Requires(post,postun): texlive +Requires: texlive +Requires: thailatex >= 0.4.6 + +%description -n thailatex-fonts +thaifonts-scalable is a collection of Thai scalable fonts available in +free licenses. Its goal is to provide fonts that conform to existing +standards and recommendations, so that it can be a reference +implementation. + +This package contains LaTeX fonts for use with thailatex. + +%description -n thailatex-fonts -l pl.UTF-8 +thaifonts-scalable to kolekcja fontów skalowalnych dostępnych na +wolnych licencjach. Celem pakietu jest dostarczenie fontów zgodnych z +istniejącymi standardami i rekomendacjami, aby był implementacją +wzorcową. + +Ten pakiet zawiera fonty LaTeXowe do używania z pakietem thailatex. + %prep %setup -q -n thaifonts-scalable-%{version} @@ -107,7 +133,7 @@ --with-otfdir=%{_fontsdir}/OTF \ --with-ttfdir=%{_fontsdir}/TTF \ --with-type1dir=%{_fontsdir}/Type1 -%{__make} +%{__make} %{?with_latex:-j1} %install rm -rf $RPM_BUILD_ROOT @@ -122,8 +148,35 @@ %clean rm -rf $RPM_BUILD_ROOT +%post -n fonts-OTF-thai +fontpostinst OTF + +%postun -n fonts-OTF-thai +fontpostinst OTF + +%post -n fonts-TTF-thai +fontpostinst TTF + +%postun -n fonts-TTF-thai +fontpostinst TTF + +%post -n fonts-Type1-thai +fontpostinst Type1 + +%postun -n fonts-Type1-thai +fontpostinst Type1 + +%post -n thailatex-fonts +umask 022 +%{_bindir}/texhash + +%postun -n thailatex-fonts +umask 022 +%{_bindir}/texhash + %files -n fonts-OTF-thai %defattr(644,root,root,755) +%doc AUTHORS COPYING ChangeLog NEWS README TODO %{_fontsdir}/OTF/Garuda*.otf %{_fontsdir}/OTF/Kinnari*.otf %{_fontsdir}/OTF/Loma*.otf @@ -136,7 +189,7 @@ %files -n fonts-TTF-thai %defattr(644,root,root,755) -%doc AUTHORS COPYING ChangeLog* NEWS README TODO +%doc AUTHORS COPYING ChangeLog ChangeLog.thai-ttf NEWS README TODO %{_fontsdir}/TTF/Garuda*.ttf %{_fontsdir}/TTF/Kinnari*.ttf %{_fontsdir}/TTF/Loma*.ttf @@ -151,7 +204,7 @@ %files -n fonts-Type1-thai %defattr(644,root,root,755) -%doc AUTHORS COPYING ChangeLog* NEWS README TODO +%doc AUTHORS COPYING ChangeLog NEWS README TODO %{_fontsdir}/Type1/Garuda*.pfb %{_fontsdir}/Type1/Kinnari*.pfb %{_fontsdir}/Type1/Loma*.pfb @@ -172,11 +225,32 @@ %{_fontsdir}/Type1/afm/Umpush*.afm %{_fontsdir}/Type1/afm/Waree*.afm +%files -n thailatex-fonts +%defattr(644,root,root,755) +%doc AUTHORS COPYING ChangeLog NEWS README TODO +%{_datadir}/texmf/fonts/afm/public/tlwg +%{_datadir}/texmf/fonts/map/dvips/tlwg +# dirs should belogin to texlive? +%dir %{_datadir}/texmf/fonts/tfm +%dir %{_datadir}/texmf/fonts/tfm/public +%{_datadir}/texmf/fonts/tfm/public/tlwg +%dir %{_datadir}/texmf/fonts/type1 +%dir %{_datadir}/texmf/fonts/type1/public +%{_datadir}/texmf/fonts/type1/public/tlwg +%dir %{_datadir}/texmf/fonts/vf +%dir %{_datadir}/texmf/fonts/vf/public +%{_datadir}/texmf/fonts/vf/public/tlwg +%{_datadir}/texmf/tex/latex/fonts-tlwg + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[email protected]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2011/11/07 16:11:53 qboosh +- package LaTeX fonts for thailatex; make rules incompatible with -jN +- added post/postun scripts + Revision 1.1 2011/11/06 17:43:05 qboosh - new; covers also thai-ttf package from thailinux ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fonts-thai-scalable/fonts-thai-scalable.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
