Author: qrczak Date: Sat Jul 14 15:26:16 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - Initial release.
---- Files affected: SPECS: xetex.spec (NONE -> 1.1) (NEW), xdvipdfmx.spec (NONE -> 1.1) (NEW), tetex-fonts-opentype-lmodern.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/xetex.spec diff -u /dev/null SPECS/xetex.spec:1.1 --- /dev/null Sat Jul 14 17:26:16 2007 +++ SPECS/xetex.spec Sat Jul 14 17:26:11 2007 @@ -0,0 +1,144 @@ +# $Revision$, $Date$ +Summary: An extension of TeX (and LaTeX/ConTeXt) with Unicode and OpenType support +Summary(pl.UTF-8): Rozszerzenie TeXa (i LaTeXa/ConTeXtu) wspierające Unicode i OpenType +Name: xetex +Version: 0.996 +Release: 1 +License: X11 license +Group: Applications/Publishing/TeX +Source0: http://scripts.sil.org/svn-view/xetex/TAGS/%{name}-%{version}.tar.gz +# Source0-md5: 2f1f09337e22e0fb42d9caed225d6052 +URL: http://scripts.sil.org/xetex +BuildRequires: bison +BuildRequires: flex +BuildRequires: fontconfig-devel >= 1:2.3 +BuildRequires: tetex >= 1:3.0-5 +Requires(post,preun,postun): tetex +Requires: fontconfig +%requires_eq tetex +%requires_eq tetex-latex +Requires: tetex-fonts-opentype-lmodern +Requires: xdvipdfmx +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define texmf %{_datadir}/texmf +%define texmfvar /var/lib/texmf + +%description +XeTeX extends the TeX typesetting system (and macro packages such as +LaTeX and ConTeXt) to have native support for the Unicode character +set, including complex Asian scripts, and for OpenType and TrueType +fonts. + +%description -l pl.UTF-8 +XeTeX rozszerza system składu TeX (i systemy makr, takie jak LaTeX +i ConTeXt) o natywne wsparcie zestawu znaków Unicode, w tym alfabety +azjatyckie wymagające specjalnego traktowania, i o fonty OpenType +i TrueType. + +%prep +%setup -q + +%build +sh ./build-xetex + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_bindir} +install Work/texk/web2c/xetex $RPM_BUILD_ROOT%{_bindir} +ln -s xetex $RPM_BUILD_ROOT%{_bindir}/xelatex + +install -d $RPM_BUILD_ROOT%{_datadir} +cp -a texmf $RPM_BUILD_ROOT%{_datadir} + +# tetex has a newer version of xkeyval +rm -rf $RPM_BUILD_ROOT%{texmf}/doc/latex/xkeyval +rm -rf $RPM_BUILD_ROOT%{texmf}/tex/xelatex/xkeyval + +install -d $RPM_BUILD_ROOT%{texmf}/web2c +install Work/texk/web2c/xetex.pool $RPM_BUILD_ROOT%{texmf}/web2c + +cat >fmtutil.cnf <<EOF +xetex xetex - *xetex.ini +xelatex xetex language.dat *xelatex.ini +EOF +cat >language.dat <<EOF +american ushyph1.tex +=english +ngerman dehyphn.tex +=naustrian +german dehypht.tex +=austrian +croatian hrhyph.tex +% czech czhyph.tex +danish dkhyphen.tex +irish gahyph.tex +magyar huhyph.tex +polish plhyph.tex +romanian rohyphen.tex +russian ruhyphen.tex +% slovak skhyph.tex +slovene sihyph23.tex +turkish trhyph.tex +% ukrainian ukrhyph.tex +EOF +PATH=$RPM_BUILD_ROOT%{_bindir}:$PATH \ +TEXMFHOME=$RPM_BUILD_ROOT%{texmf} \ +TEXMFSYSVAR=$RPM_BUILD_ROOT%{texmfvar} \ +TEXMFSYSCONFIG=$RPM_BUILD_ROOT%{texmf} \ +fmtutil-sys --cnffile fmtutil.cnf --all + +%post +texhash + +fmtutil_cnf=`kpsewhich --format="web2c files" fmtutil.cnf` +if ! grep -q xetex $fmtutil_cnf; then + cat >>$fmtutil_cnf <<-EOF + + # XeTeX formats + xetex xetex - *xetex.ini + xelatex xetex language.dat *xelatex.ini + + EOF +fi + +for f in xetex xelatex; do + fmtutil-sys --enablefmt $f +done + +%preun +for f in xetex xelatex; do + [ ! -x %{_bindir}/fmtutil-sys ] || fmtutil-sys --disablefmt $f +done + +%postun +[ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/xe*tex +%{texmf}/doc/generic/ifxetex +%{texmf}/doc/xe*tex +%{texmf}/fonts/misc +%{texmf}/scripts/xetex +# tetex doesn't include texmfsrc: %{texmf}/source/xelatex +# conflicts with tetex: %{texmf}/tex/generic/hyphen/* +%{texmf}/tex/generic/ifxetex +%{texmf}/tex/generic/xetex +%{texmf}/tex/xe*tex +%{texmf}/web2c/xetex.pool +%config(noreplace) %verify(not md5 mtime size) %{texmfvar}/web2c/xe*tex.fmt + +%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.1 2007/07/14 15:26:11 qrczak +- Initial release. + ================================================================ Index: SPECS/xdvipdfmx.spec diff -u /dev/null SPECS/xdvipdfmx.spec:1.1 --- /dev/null Sat Jul 14 17:26:16 2007 +++ SPECS/xdvipdfmx.spec Sat Jul 14 17:26:11 2007 @@ -0,0 +1,63 @@ +# $Revision$, $Date$ +Summary: An extended version of DVIPDFMx with support for XeTeX output +Summary(pl.UTF-8): Rozszerzona wersja DVIPDFMx przetwarzająca wyjście XeTeXa +Name: xdvipdfmx +Version: 0.4 +Release: 1 +License: GPL +Group: Applications/Publishing/TeX +Source0: http://scripts.sil.org/svn-view/xdvipdfmx/TAGS/%{name}-%{version}.tar.gz +# Source0-md5: 2bb9d65f2406a112fa53dbd0697d93ad +URL: http://scripts.sil.org/xetex_linux +BuildRequires: fontconfig-devel +BuildRequires: freetype-devel +BuildRequires: kpathsea-devel +BuildRequires: libpaper-devel +BuildRequires: libpng-devel +BuildRequires: zlib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +xdvipdfmx is an output driver for the XeTeX typesetting system. It is +an extended version of DVIPDFMx by Jin-Hwan Cho and Shunsaku Hirata, +which is itself an extended version of dvipdfm by Mark A. Wicks. This +driver converts XDV (extended DVI) output from the xetex program into +standard PDF that can be viewed or printed. + +%description -l pl.UTF-8 +xdvipdfmx jest sterownikiem przetwarzającym wyjście systemu składu +XeTeX. To jest rozszerzona wersja DVIPDFMx autorstwa Jin-Hwan Cho +i Shunsaku Hirata, która z kolei jest rozszerzoną wersją dvipdfm +autorstwa Marka A. Wicksa. Ten sterownik konwertuje wyjście programu +xetex z formatu XDV (rozszerzony DVI) na standardowy format PDF, +który może być oglądany bądź drukowany. + +%prep +%setup -q + +%build +sh ./configure \ + --with-freetype2=`freetype-config --prefix` +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install src/xdvipdfmx $RPM_BUILD_ROOT%{_bindir} + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/xdvipdfmx + +%clean +rm -rf $RPM_BUILD_ROOT + +%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.1 2007/07/14 15:26:11 qrczak +- Initial release. + ================================================================ Index: SPECS/tetex-fonts-opentype-lmodern.spec diff -u /dev/null SPECS/tetex-fonts-opentype-lmodern.spec:1.1 --- /dev/null Sat Jul 14 17:26:16 2007 +++ SPECS/tetex-fonts-opentype-lmodern.spec Sat Jul 14 17:26:11 2007 @@ -0,0 +1,70 @@ +# $Revision$, $Date$ +Summary: TeX LM fonts in OpenType format +Summary(pl.UTF-8): Fonty TeX LM w formacie OpenType +Name: tetex-fonts-opentype-lmodern +Version: 1.010 +Release: 1 +License: GPL +Group: Fonts +Source0: http://www.gust.org.pl/projects/e-foundry/latin-modern/download/lm%{version}x-otf.zip +# Source0-md5: eeb4573b52367fc361394d7540323877 +URL: http://www.gust.org.pl/projects/e-foundry/latin-modern/ +Requires(post,postun): tetex +Requires: tetex +Requires: tetex-dirs-fonts >= 1:3.0-5 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define texmf %{_datadir}/texmf + +%description +The Latin Modern fonts are derived from the famous Computer Modern +fonts designed by Donald E. Knuth and first published by the American +Matematical Society (AMS) in 1997. One of the main extensions is the +addition of an extensive set of diacritical characters, covering many +scripts based on the Latin character set, mainly european, but not +only, most notably Vietnamese. The project is authored by Bogusław +“Jacko” Jackowski and Janusz M. Nowacki aka “Ulan”, supported in LaTeX +matters by Marcin Woliński. + +%description -l pl.UTF-8 +Fonty Latin Modern wywodzą się ze słynnych fontów Computer Modern +zaprojektowanych przez Donalda E. Knutha i opublikowanych po raz +pierwszy przez Amerykańskie Towarzystwo Matematyczne (AMS) w 1997. +Jednym z najważniejszych rozszerzeń jest dodanie pokaźnego zbioru +znaków diakrytycznych, obejmujących wiele alfabetów bazujących +na alfabecie łacińskim, głównie europejskich, ale nie tylko, +w szczególności wietnamski. Projekt jest autorstwa Bogusława „Jacko” +Jackowskiego i Janusza M. Nowackiego „Ulana”, wspieranych w sprawach +LaTeXowych przez Marcina Wolińskiego. + +%prep +%setup -q -c -T -a0 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{texmf} +cp -a fonts $RPM_BUILD_ROOT%{texmf} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +texhash + +%postun +[ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash + +%files +%defattr(644,root,root,755) +%{texmf}/fonts/opentype/public/lm + +%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.1 2007/07/14 15:26:11 qrczak +- Initial release. + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
