|
@@ -38,7 +38,7 @@ Summary: The TeX text formatting system
|
|
|
Summary(ja): TeX 文書整形システム
|
|
|
Name: texlive
|
|
|
Version: 2009
|
|
|
-Release: 19%{?_dist_release}
|
|
|
+Release: 20%{?_dist_release}
|
|
|
License: distributable
|
|
|
Group: Applications/Publishing
|
|
|
## The TeX Live is located on http://www.tug.org/texlive/
|
|
@@ -774,6 +774,34 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
+%pre
|
|
|
+## from texlive-tetex-trans
|
|
|
+if [ $1 -eq 1 ]; then
|
|
|
+ _trans_time=$(date +%Y%m%d)
|
|
|
+ echo "Running transitional process of your TeX system ... "
|
|
|
+ for dir in %{texmf}-var %{texmf}-config; do
|
|
|
+ _trans_dir=${dir}.${_trans_time}.rpmorig
|
|
|
+ [ -d ${_trans_dir}.old ] && \
|
|
|
+ echo -n " " && \
|
|
|
+ echo "Found ${_trans_dir}.old: " && \
|
|
|
+ echo -n " " && \
|
|
|
+ %__rm -rvf ${_trans_dir}.old
|
|
|
+ [ -d ${_trans_dir} ] && \
|
|
|
+ echo -n " " && \
|
|
|
+ echo "Found ${_trans_dir}: " && \
|
|
|
+ echo -n " " && \
|
|
|
+ %__mv -v ${_trans_dir} ${_trans_dir}.old
|
|
|
+ [ -d ${dir} ] && \
|
|
|
+ echo -n " " && \
|
|
|
+ echo "Found ${dir}: " && \
|
|
|
+ echo -n " " && \
|
|
|
+ %__mv -v ${dir} ${_trans_dir}
|
|
|
+ done
|
|
|
+ echo "done."
|
|
|
+fi
|
|
|
+exit 0
|
|
|
+
|
|
|
+
|
|
|
%post
|
|
|
## dvipdfmx
|
|
|
## Create our own cid-x.map
|
|
@@ -868,6 +896,9 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-20
|
|
|
+- added %%pre to avoid conflictions of texmf-{config,var}
|
|
|
+
|
|
|
* Sun May 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-19
|
|
|
- dropped Requires: texlive-common
|
|
|
- added perl-Tk-TableMatrix
|