SPECS: texlive.spec - rel 0.9 - TODO: fix symlinks /usr/bin
uzsolt
uzsolt at pld-linux.org
Thu Jan 1 22:31:00 CET 2009
Author: uzsolt Date: Thu Jan 1 21:30:59 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 0.9
- TODO: fix symlinks /usr/bin
---- Files affected:
SPECS:
texlive.spec (1.130 -> 1.131)
---- Diffs:
================================================================
Index: SPECS/texlive.spec
diff -u SPECS/texlive.spec:1.130 SPECS/texlive.spec:1.131
--- SPECS/texlive.spec:1.130 Thu Jan 1 21:30:48 2009
+++ SPECS/texlive.spec Thu Jan 1 22:30:54 2009
@@ -1,6 +1,7 @@
# $Revision$, $Date$
# TODO:
# MAIN TODO (sort by importnce):
+# - fix broken symlinks in /usr/bin (see section %install)
# - need more %dir (poldek says it missed)
# - texlive-format-pdflatex deps
# - check unpackaged files
@@ -22,7 +23,6 @@
# - merge all above with configure switch "--enable-fhs" and send it to TE
#
# TeXLive specific TODO:
-# - fix broken symlinks in /usr/bin (see line 3564)
# - summary/description correcting (all languages)
# - texk/web2c doesn't build (luatex option)
# - %files latex-bibtex-revtex4
@@ -47,7 +47,7 @@
Summary(tr.UTF-8): TeX dizgi sistemi ve MetaFont yazıtipi biçimlendiricisi
Name: texlive
Version: 20080816
-Release: 0.8.3
+Release: 0.9
Epoch: 1
License: distributable
Group: Applications/Publishing/TeX
@@ -4767,11 +4767,6 @@
# -e "s|/var/cache/fonts|$RPM_BUILD_ROOT/var/cache/fonts|g;" \
# texmf/web2c/texmf.cnf
-# install -d $RPM_BUILD_ROOT%{texmf} $RPM_BUILD_ROOT%{texmfdist} $RPM_BUILD_ROOT%{texmfdoc}
-# %{__cp} -a texlive-20080822-texmf/texmf/* $RPM_BUILD_ROOT%{texmf}
-# %{__cp} -a texlive-20080822-texmf/texmf-dist/* $RPM_BUILD_ROOT%{texmfdist}
-# %{__cp} -a texlive-20080822-texmf/texmf-doc/* $RPM_BUILD_ROOT%{texmfdoc}
-
install -d $RPM_BUILD_ROOT%{texmf}/fonts/opentype/public
LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}; export LD_LIBRARY_PATH
@@ -4790,12 +4785,12 @@
texmfsysconfig=$RPM_BUILD_ROOT%{texmf}
# Fix broken symlinks
-# CURDIR=$(pwd)
-# cd $RPM_BUILD_ROOT%{_bindir}
-# for file in $(file * | grep broken | awk -F ":" {'print $1'}); do
-# ln -sf $(readlink $file | %{__sed} "s@\.\.@%{_datadir}@") $file
-# done
-# cd $CURDIR
+CURDIR=$(pwd)
+cd $RPM_BUILD_ROOT%{_bindir}
+for file in $(file * | grep broken | awk -F ":" {'print $1'}); do
+ ln -sf $(readlink $file | %{__sed} "s@\.\.@\.\./share@") $file
+done
+cd $CURDIR
#install %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}
#touch $RPM_BUILD_ROOT/etc/sysconfig/tetex-updmap/maps.lst
@@ -9769,6 +9764,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.131 2009/01/01 21:30:54 uzsolt
+- rel 0.9
+- TODO: fix symlinks /usr/bin
+
Revision 1.130 2009/01/01 20:30:48 uzsolt
- packaged remaining pst* to uncategorized (can split more pieces)
- xindy %files fix
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/texlive.spec?r1=1.130&r2=1.131&f=u
More information about the pld-cvs-commit
mailing list