SPECS: xetex.spec - xetex uses its own xkeyval now, it's newer tha...

qrczak qrczak at pld-linux.org
Sat Jul 21 17:17:46 CEST 2007


Author: qrczak                       Date: Sat Jul 21 15:17:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- xetex uses its own xkeyval now, it's newer than in tetex.
- Require latest tetex for proper kpathsea configuration.
- Added some documentation and examples.
- Release 3

---- Files affected:
SPECS:
   xetex.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/xetex.spec
diff -u SPECS/xetex.spec:1.5 SPECS/xetex.spec:1.6
--- SPECS/xetex.spec:1.5	Fri Jul 20 20:54:01 2007
+++ SPECS/xetex.spec	Sat Jul 21 17:17:40 2007
@@ -3,17 +3,21 @@
 Summary(pl.UTF-8):	Rozszerzenie TeXa (i LaTeXa/ConTeXtu) wspierające Unicode i OpenType
 Name:		xetex
 Version:	0.996
-Release:	2
+Release:	3
 License:	X11 license
 Group:		Applications/Publishing/TeX
 Source0:	http://scripts.sil.org/svn-view/xetex/TAGS/%{name}-%{version}.tar.gz
 # Source0-md5:	2f1f09337e22e0fb42d9caed225d6052
+# http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=xetex_doc_094&filename=XeTeX_doc.zip
+Source1:	XeTeX_doc.zip
+# Source1-md5:	46946f4092eaced3a634c20522b58b8e
 Patch0:		%{name}-discretionary.patch
 URL:		http://scripts.sil.org/xetex
 BuildRequires:	bison
 BuildRequires:	flex
 BuildRequires:	fontconfig-devel >= 1:2.3
-BuildRequires:	tetex >= 1:3.0-6
+BuildRequires:	tetex >= 1:3.0-7
+BuildRequires:	unzip
 Requires(post,preun,postun):	tetex
 Requires:	fontconfig
 %requires_eq	tetex
@@ -38,7 +42,7 @@
 i TrueType.
 
 %prep
-%setup -q
+%setup -q -a1
 %patch0 -p1
 
 %build
@@ -53,14 +57,15 @@
 
 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
+rm $RPM_BUILD_ROOT%{texmf}/doc/xetex/xetexref.pdf # a 24-byte text file
+install Documentation/XeTeX-notes.pdf $RPM_BUILD_ROOT%{texmf}/doc/xetex
 
 install -d $RPM_BUILD_ROOT%{texmf}/web2c
 install Work/texk/web2c/xetex.pool $RPM_BUILD_ROOT%{texmf}/web2c
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install Samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 cat >fmtutil.cnf <<EOF
 xetex	xetex	-	*xetex.ini
 xelatex	xetex	language.dat	*xelatex.ini
@@ -126,8 +131,8 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/xe*tex
-%{texmf}/doc/generic/ifxetex
-%{texmf}/doc/xe*tex
+%doc %{texmf}/doc/generic/ifxetex
+%doc %{texmf}/doc/xe*tex
 %{texmf}/fonts/misc
 %{texmf}/scripts/xetex
 # tetex doesn't include texmfsrc: %{texmf}/source/xelatex
@@ -137,6 +142,7 @@
 %{texmf}/tex/xe*tex
 %{texmf}/web2c/xetex.pool
 %config(noreplace) %verify(not md5 mtime size) %{texmfvar}/web2c/xe*tex.fmt
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -144,6 +150,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/07/21 15:17:40  qrczak
+- xetex uses its own xkeyval now, it's newer than in tetex.
+- Require latest tetex for proper kpathsea configuration.
+- Added some documentation and examples.
+- Release 3
+
 Revision 1.5  2007/07/20 18:54:01  qrczak
 - Require tetex with updated fixltx2e package
 - Release 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xetex.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list