Accepting request 198218 from Publishing
- Use kpsepath to determine texmf main location OBS-URL: https://build.opensuse.org/request/show/198218 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/latex2html?expand=0&rev=25
This commit is contained in:
commit
82987da8c1
@ -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
|
||||
|
||||
|
@ -21,9 +21,11 @@ BuildRequires: fdupes
|
||||
BuildRequires: ghostscript-fonts-std
|
||||
BuildRequires: ghostscript-x11
|
||||
BuildRequires: netpbm
|
||||
BuildRequires: texlive-kpathsea
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: xorg-x11
|
||||
BuildRequires: xorg-x11-devel
|
||||
%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
|
||||
%define share_dir /usr/share/latex2html
|
||||
Obsoletes: 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}
|
||||
chmod 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
|
||||
#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
|
||||
|
||||
%check
|
||||
@ -146,7 +148,7 @@ touch var/adm/SuSEconfig/run-texhash
|
||||
%{share_dir}/texinputs
|
||||
%{share_dir}/versions
|
||||
/usr/bin/*
|
||||
/usr/lib/texmf/tex/latex/html
|
||||
%{_texmfmaindir}/tex/latex/html
|
||||
%{_mandir}/man1/latex2html*
|
||||
|
||||
%files pngicons
|
||||
|
Loading…
x
Reference in New Issue
Block a user