Dr. Werner Fink 2013-09-10 12:08:21 +00:00 committed by Git OBS Bridge
parent 1ef3a1f69c
commit 5299ad961d
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 10 12:08:06 UTC 2013 - werner@suse.de
- Use kpsepath to determine texmf main location
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 25 16:58:46 CEST 2013 - mls@suse.de Tue Jun 25 16:58:46 CEST 2013 - mls@suse.de

View File

@ -21,9 +21,11 @@ BuildRequires: fdupes
BuildRequires: ghostscript-fonts-std BuildRequires: ghostscript-fonts-std
BuildRequires: ghostscript-x11 BuildRequires: ghostscript-x11
BuildRequires: netpbm BuildRequires: netpbm
BuildRequires: texlive-kpathsea
BuildRequires: texlive-latex BuildRequires: texlive-latex
BuildRequires: xorg-x11 BuildRequires: xorg-x11
BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-devel
%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
%define share_dir /usr/share/latex2html %define share_dir /usr/share/latex2html
Obsoletes: l2h Obsoletes: l2h
Provides: l2h Provides: l2h
@ -110,7 +112,7 @@ install -m 644 latex2html.man $RPM_BUILD_ROOT/%{_mandir}/man1/latex2html.1
rm -r $RPM_BUILD_ROOT%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml} rm -r $RPM_BUILD_ROOT%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml}
chmod 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg} chmod 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
#removing out-dated url.sty [#283760] #removing out-dated url.sty [#283760]
rm $RPM_BUILD_ROOT/usr/lib/texmf/tex/latex/html/url.sty rm ${RPM_BUILD_ROOT}%{_texmfmaindir}/tex/latex/html/url.sty
%fdupes -s $RPM_BUILD_ROOT %fdupes -s $RPM_BUILD_ROOT
%check %check
@ -146,7 +148,7 @@ touch var/adm/SuSEconfig/run-texhash
%{share_dir}/texinputs %{share_dir}/texinputs
%{share_dir}/versions %{share_dir}/versions
/usr/bin/* /usr/bin/*
/usr/lib/texmf/tex/latex/html %{_texmfmaindir}/tex/latex/html
%{_mandir}/man1/latex2html* %{_mandir}/man1/latex2html*
%files pngicons %files pngicons