diff --git a/latex2html-2008-perl-bindir.diff b/latex2html-2008-perl-bindir.diff new file mode 100644 index 0000000..c3ef6bc --- /dev/null +++ b/latex2html-2008-perl-bindir.diff @@ -0,0 +1,24 @@ +--- cweb2html/cweb2html ++++ cweb2html/cweb2html +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + ################################################################################ + # Copyright 1998-1999 by Jens Lippmann (lippmann@rbg.informatik.th-darmstadt.de) +--- cweb2html/makemake.pl ++++ cweb2html/makemake.pl +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + ################################################################################ + # Copyright 1998-1999 by Jens Lippmann (lippmann@rbg.informatik.tu-darmstadt.de) +--- makeseg/makeseg ++++ makeseg/makeseg +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + + # Check options and load configuration files + &init; diff --git a/latex2html.changes b/latex2html.changes index 4965122..0043f08 100644 --- a/latex2html.changes +++ b/latex2html.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 27 13:05:04 CET 2009 - pgajdos@suse.cz + +- splitted off doc package +- fixed /usr/local/bin/perl -> /usr/bin/perl in scripts + * perl-bindir.diff + ------------------------------------------------------------------- Tue Jan 20 11:19:30 CET 2009 - pgajdos@suse.cz diff --git a/latex2html.spec b/latex2html.spec index 36593a1..7446ef4 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -21,7 +21,7 @@ Name: latex2html BuildRequires: fdupes ghostscript-fonts-std ghostscript-x11 netpbm texlive-latex xorg-x11 xorg-x11-devel %define share_dir /usr/share/latex2html -Obsoletes: l2h l2hhtml +Obsoletes: l2h Provides: l2h Url: http://www.latex2html.org/ License: GPL v2 or later; LaTeX Public License (LPPL) @@ -30,7 +30,7 @@ Provides: l2h99_1 Requires: texlive-latex netpbm perl ghostscript_any latex2html-pngicons AutoReqProv: on Version: 2008 -Release: 1 +Release: 2 Summary: LaTeX2HTML Converter BuildArch: noarch Source: latex2html-%{version}.tar.bz2 @@ -41,6 +41,7 @@ Patch: latex2html-%{version}.diff Patch1: latex2html-%{version}-binmode.diff Patch2: latex2html-%{version}-gsout.diff Patch3: latex2html-%{version}-buildroot.diff +Patch4: latex2html-%{version}-perl-bindir.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -70,6 +71,26 @@ Icons in the PNG format for the LaTeX to HTML Converter. +Authors: +-------- + Jens Lippmann + Nikos Drakos + Ross Moore + +%package doc +License: GPL v2 or later; LaTeX Public License (LPPL) +Group: Productivity/Publishing/TeX/Utilities +Summary: LaTeX2HTML Converter + +%description doc +LaTeX2HTML lets you easily convert basic LaTeX documents into the HTML +format. This allows both a written and online version even of older +LaTeX texts. + +Find documentation in /usr/share/doc/packages/latex2html. + + + Authors: -------- Jens Lippmann @@ -83,6 +104,7 @@ Authors: %patch1 %patch2 %patch3 +%patch4 cp %{S:1} manual.ps.gz cp %{S:3} README.SuSE @@ -97,8 +119,8 @@ export RPM_BUILD_ROOT make install mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 install -m 644 latex2html.man $RPM_BUILD_ROOT/%{_mandir}/man1/latex2html.1 -mkdir inst_doc -mv $RPM_BUILD_ROOT%{share_dir}/{docs,example} inst_doc +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 %fdupes -s $RPM_BUILD_ROOT @@ -117,8 +139,7 @@ touch var/adm/SuSEconfig/run-texhash %files %defattr(-, root, root) %doc README.SuSE -%doc Changes FAQ README TODO dot.latex2html-init readme.hthtml manual.ps.gz manual/ -%doc inst_doc/* tests +%doc Changes FAQ README TODO dot.latex2html-init readme.hthtml #%doc %{_defaultdocdir}/latex2html/manual #%doc %{_defaultdocdir}/latex2html/manual.ps.gz /usr/lib/latex2html @@ -128,13 +149,11 @@ touch var/adm/SuSEconfig/run-texhash %{share_dir}/L2hos %{share_dir}/XyMTeX-HTML %{share_dir}/cweb2html -%{share_dir}/dot.latex2html-init %{share_dir}/foilhtml %{share_dir}/icons/*.html %{share_dir}/icons/*.gif %{share_dir}/makemap %{share_dir}/makeseg -%{share_dir}/readme.hthtml %{share_dir}/styles %{share_dir}/texinputs %{share_dir}/versions @@ -148,7 +167,17 @@ touch var/adm/SuSEconfig/run-texhash %dir %{share_dir}/icons %{share_dir}/icons/*.png +%files doc +%defattr(-,root,root) +%doc manual.ps.gz +%doc tests +%doc example + %changelog +* Tue Jan 27 2009 pgajdos@suse.cz +- splitted off doc package +- fixed /usr/local/bin/perl -> /usr/bin/perl in scripts + * perl-bindir.diff * Tue Jan 20 2009 pgajdos@suse.cz - updated to version 2008 * bug fixes