|
@@ -7,7 +7,7 @@
|
|
|
%endif
|
|
|
|
|
|
%global _use_internal_dependency_generator 0
|
|
|
-%global __find_provides %{nil}
|
|
|
+%global __find_provides %{SOURCE99}
|
|
|
%global __find_requires %{nil}
|
|
|
|
|
|
%define tl11suppver 111120
|
|
@@ -34,7 +34,7 @@ Summary: The TeX text formatting system
|
|
|
Summary(ja): TeX 文書整形システム
|
|
|
Name: texlive
|
|
|
Version: 2011
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
License: distributable
|
|
|
Group: Applications/Publishing
|
|
|
URL: http://www.tug.org/texlive/
|
|
@@ -49,9 +49,13 @@ Source9: __usr_bin_symlink.sh
|
|
|
Source10: pxdvi.desktop
|
|
|
Source11: texdoctk.desktop
|
|
|
|
|
|
+## find library sonames for libkpathsea and libptexenc
|
|
|
+Source99: find-provides-texlive.sh
|
|
|
+
|
|
|
## etc...
|
|
|
Source100: texlive.cron
|
|
|
Source102: http://auemath.aichi-edu.ac.jp/~khotta/ghost/disk1/jtygm.sty
|
|
|
+Source110: http://mirrors.ctan.org/obsolete/support/pdftexenc/cmex.enc
|
|
|
|
|
|
|
|
|
######
|
|
@@ -300,7 +304,11 @@ yes N | scripts/font.sh %{tl11supp_all_opts} || exit 1
|
|
|
%__rm -f %{build_tex_destdir}/texmf-dist || exit 1
|
|
|
## remove lcdf-typetools-for-tex-live directory
|
|
|
%__rm -r %{build_tex_destdir}/lcdf-typetools-for-tex-live || exit 1
|
|
|
+## remove unused directories in texmf/fonts/map
|
|
|
+%__rm -rf %{build_texmf}/fonts/map/dvips/updmap || exit 1
|
|
|
+%__rm -rf %{build_texmf}/fonts/map/pdftex/updmap || exit 1
|
|
|
|
|
|
+## move bin, lib include, man, info to /usr, resp.
|
|
|
%__rm -f %{build_tex_destdir}/bin/man || exit 1
|
|
|
%__mv %{build_tex_destdir}/bin %{buildroot}%{_bindir} || exit 1
|
|
|
%__mv %{build_tex_destdir}/lib %{buildroot}%{_libdir} || exit 1
|
|
@@ -308,7 +316,7 @@ yes N | scripts/font.sh %{tl11supp_all_opts} || exit 1
|
|
|
%__cp -ar %{build_texmf}/doc/man %{buildroot}%{_mandir} || exit 1
|
|
|
#%__mv %{build_texmf}/doc/info %{buildroot}%{_infodir} || exit 1
|
|
|
|
|
|
-##
|
|
|
+## move dvipdfmx/newmap/{ptex,otf} to dvipdfmx/{ptex,otf}, resp.
|
|
|
%__mv %{build_texmf}/fonts/map/dvipdfmx/newmap/* %{build_texmf}/fonts/map/dvipdfmx/ || exit 1
|
|
|
%__rm -rf %{build_texmf}/fonts/map/dvipdfmx/newmap
|
|
|
|
|
@@ -429,7 +437,7 @@ for i in ${del_symlnks[@]}; do
|
|
|
%__rm -f %{buildroot}$(echo $i | cut -f 2 -d",") || exit 1
|
|
|
done
|
|
|
|
|
|
-## remove psutils
|
|
|
+## remove man files of psutils
|
|
|
%__rm \
|
|
|
%{buildroot}%{_mandir}/man1/epsffit.1 \
|
|
|
%{buildroot}%{_mandir}/man1/extractres.1 \
|
|
@@ -451,6 +459,20 @@ done
|
|
|
%{buildroot}%{_mandir}/man1/psselect.1 \
|
|
|
%{buildroot}%{_mandir}/man1/pstops.1 \
|
|
|
|| exit 1
|
|
|
+## remove man files of lcdf-typetools
|
|
|
+%__rm \
|
|
|
+ %{buildroot}%{_mandir}/man1/cfftot1.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/mmafm.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/mmpfb.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/otfinfo.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/otftotfm.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/t1dotlessj.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/t1lint.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/t1rawafm.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/t1reencode.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/t1testpage.1 \
|
|
|
+ %{buildroot}%{_mandir}/man1/ttftotype42.1 \
|
|
|
+ || exit 1
|
|
|
|
|
|
# remove unpackaged files
|
|
|
find $RPM_BUILD_ROOT -name *.la -exec %__rm -f {} \;
|
|
@@ -508,7 +530,7 @@ find %{buildroot}%{texmf}* -type d | \
|
|
|
-e "s|$|/|" >> %{_builddir}/%{name}-%{version}/filelist.full
|
|
|
|
|
|
## subpackages
|
|
|
-%__grep "/texmf/doc/" %{_builddir}/%{name}-%{version}/filelist.full > %{_builddir}/%{name}-%{version}/filelist.doc
|
|
|
+%__grep -e "/texmf/doc/" -e "/texdoc" %{_builddir}/%{name}-%{version}/filelist.full > %{_builddir}/%{name}-%{version}/filelist.doc
|
|
|
cat %{_builddir}/%{name}-%{version}/filelist.doc \
|
|
|
%{_builddir}/%{name}-%{version}/filelist.full | \
|
|
|
sort | uniq -u > %{_builddir}/%{name}-%{version}/filelist.tmp
|
|
@@ -636,6 +658,15 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Nov 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
|
|
|
+- added find-provides-texlive.sh and set it to %%__find_provides
|
|
|
+ - use to find library sonames for libkpathsea and libptexenc
|
|
|
+- added cmex.enc (%%{SOURCE110})
|
|
|
+ - do not install cmex.enc in our TDS, yet
|
|
|
+- removed some unused directories in texmf/fonts/map
|
|
|
+- removed man files of lcdf-typetools
|
|
|
+- moved texdoc{,tk} and its related files to texlive-doc
|
|
|
+
|
|
|
* Wed Nov 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
|
|
|
- TeX Live 2011 + tl11supp-111120
|
|
|
|