SPECS: texlive.spec - sed texmf.conf (~/.texlive-2008 -> %{_localstatedir})...

uzsolt uzsolt at pld-linux.org
Fri Dec 26 18:36:17 CET 2008


Author: uzsolt                       Date: Fri Dec 26 17:36:17 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sed texmf.conf (~/.texlive-2008 -> %{_localstatedir})
- removed unneeded TODOs

---- Files affected:
SPECS:
   texlive.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/texlive.spec
diff -u SPECS/texlive.spec:1.70 SPECS/texlive.spec:1.71
--- SPECS/texlive.spec:1.70	Fri Dec 26 18:24:07 2008
+++ SPECS/texlive.spec	Fri Dec 26 18:36:12 2008
@@ -20,8 +20,6 @@
 #
 # TeXLive specific TODO:
 # - MOST IMPORTANT!!! create *.fmt files, "fmtutil-sys --byfmt tex", maybe in %post sections (plain, latex, ...)
-# - set/fix the newly created fonts directory instead of ~/.texlive-2008 (to %fmtdir) (sed the texmf.cnf)
-# - create a 'texmf' user, who ownes %fmtdir, and set the binaries owner to 'texmf' and use sgid to binaries
 # - fix broken symlinks in /usr/bin
 # - summary/description correcting (all languages)
 # - solve xindy case, it doesn't build with tetext, and probably won't with texlive
@@ -3327,6 +3325,7 @@
 %{__sed} -i 's@^TEXMFLOCAL =.*@TEXMFLOCAL = %{texmf}@' texmf.cnf
 %{__sed} -i 's@^TEXMFSYSVAR =.*@TEXMFSYSVAR = %{_localstatedir}@' texmf.cnf
 %{__sed} -i 's@^TEXMFSYSCONFIG =.*@TEXMFSYSCONFIG = %{_sysconfdir}/%{name}@' texmf.cnf
+%{__sed} -i 's@^TEXMFVAR =.*@TEXMFVAR = %{_localstatedir}@' texmf.cnf
 cd ../..
 
 %configure \
@@ -3375,8 +3374,6 @@
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf/texmf $RPM_BUILD_ROOT%{texmf}
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf/texmf-dist $RPM_BUILD_ROOT%{texmfdist}
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf/texmf-doc $RPM_BUILD_ROOT%{texmfdoc}
-# %{__mv} $RPM_BUILD_ROOT%{texmfdist}/dvips/* $RPM_BUILD_ROOT%{texmf}
-# %{__mv} $RPM_BUILD_ROOT%{texmfdist}/tex/* $RPM_BUILD_ROOT%{texmf}
 # This is an empty directory
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/texlive-20080822-texmf
 
@@ -4683,7 +4680,8 @@
 # ***********
 # Directories
 # ***********
-%attr(2755,texmf,texmf) %dir %{fmtdir}
+%dir %{fmtdir}
+%dir %{_localstatedir}
 
 %dir %{texmfdist}/doc
 %dir %{texmfdist}/doc/generic
@@ -5119,7 +5117,7 @@
 %attr(755,root,root) %{_bindir}/mf-nowin
 %attr(755,root,root) %{_bindir}/mft
 %attr(755,root,root) %{_bindir}/mktexmf
-%attr(755,root,root) %{_bindir}/mktexpk
+%attr(2755,texmf,texmf) %{_bindir}/mktexpk
 %attr(755,root,root) %{_bindir}/mktextfm
 %{texmfdist}/metafont
 %{texmfdist}/mft/base/mplain.mft
@@ -6751,6 +6749,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2008/12/26 17:36:12  uzsolt
+- sed texmf.conf (~/.texlive-2008 -> %{_localstatedir})
+- removed unneeded TODOs
+
 Revision 1.70  2008/12/26 17:24:07  uzsolt
 - texmf user and group, sgid %fmtdir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/texlive.spec?r1=1.70&r2=1.71&f=u



More information about the pld-cvs-commit mailing list