OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web openpkg$ Date: 25-Jan-2003 17:57:43 Branch: HEAD Handle: 2003012516574102 Added files: openpkg-re/vcheck vc.latex2html openpkg-src/latex2html latex2html.patch latex2html.spec Modified files: openpkg-web news.txt Log: new package: latex2html 2002.2.1 (LaTeX to HTML Conversion) Summary: Revision Changes Path 1.1 +9 -0 openpkg-re/vcheck/vc.latex2html 1.1 +21 -0 openpkg-src/latex2html/latex2html.patch 1.1 +113 -0 openpkg-src/latex2html/latex2html.spec 1.3045 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/vcheck/vc.latex2html ============================================================================ $ cvs diff -u -r0 -r1.1 vc.latex2html --- /dev/null 2003-01-25 17:57:41.000000000 +0100 +++ vc.latex2html 2003-01-25 17:57:41.000000000 +0100 @@ -0,0 +1,9 @@ +config = { +} + +prog latex2html = { + version = 2002-2-1 + url = http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/ + regex = latex2html-(__VER__)\.tar\.gz +} + @@ . patch -p0 <<'@@ .' Index: openpkg-src/latex2html/latex2html.patch ============================================================================ $ cvs diff -u -r0 -r1.1 latex2html.patch --- /dev/null 2003-01-25 17:57:43.000000000 +0100 +++ latex2html.patch 2003-01-25 17:57:43.000000000 +0100 @@ -0,0 +1,21 @@ +--- config/install.pl.orig Sun Apr 28 07:15:01 2002 ++++ config/install.pl Sat Jan 25 17:30:30 2003 +@@ -372,7 +372,7 @@ + + if($cfg{TEXPATH}) { + print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n"; +- unless(mkpath($cfg{TEXPATH})) { ++ unless(mkpath(($ENV{DESTDIR} || '').$cfg{TEXPATH})) { + #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html + #$testpath =~ s/[$dd$dd][^$dd$dd]*$//; + #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) { +--- config/config.pl.orig Sat Sep 28 07:15:01 2002 ++++ config/config.pl Sat Jan 25 17:35:32 2003 +@@ -1276,6 +1276,7 @@ + my $vers = ''; + $msg = $msg || $err; + if ($msg =~ /(^|\s*)Version.*\s([\d\.]+)\s*([\n\r]|$)/is) { $vers = $2; } ++ $vers =~ s|^(\d+\.\d+)\..*$|$1|s; + if ($vers =~ /^199/) { + # try left crop + &checking('if pnmcrop can crop from one direction'); @@ . patch -p0 <<'@@ .' Index: openpkg-src/latex2html/latex2html.spec ============================================================================ $ cvs diff -u -r0 -r1.1 latex2html.spec --- /dev/null 2003-01-25 17:57:43.000000000 +0100 +++ latex2html.spec 2003-01-25 17:57:43.000000000 +0100 @@ -0,0 +1,113 @@ +## +## latex2html.spec -- OpenPKG RPM Specification +## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH +## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/> +## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]> +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package version +%define V_dist 2002-2-1 +%define V_opkg 2002.2.1 + +# package information +Name: latex2html +Summary: LaTeX to HTML Conversion +URL: http://www.latex2html.org/ +Vendor: John Doe +Packager: The OpenPKG Project +Distribution: OpenPKG [EVAL] +Group: Misc +License: GPL +Version: %{V_opkg} +Release: 20030125 + +# list of sources +Source0: http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-%{V_dist}.tar.gz +Patch0: latex2html.patch + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20030103, perl, ghostscript, tetex, png, netpbm +PreReq: OpenPKG, openpkg >= 20030103, perl, ghostscript, tetex, png, netpbm +AutoReq: no +AutoReqProv: no + +%description + LaTeX2HTML is a full-featured conversion utility which transforms + LaTeX print documents into HTML online documents. + +%prep + %setup -q -n latex2html-%{V_dist} + %patch -p0 + +%build + CC="%{l_cc}" \ + CXX="%{l_cxx}" \ + CFLAGS="%{l_cflags -O}" \ + CXXFLAGS="%{l_cxxflags -O}" \ + CPPFLAGS="%{l_cppflags}" \ + LDFLAGS="%{l_ldflags}" \ + ./configure \ + --prefix=%{l_prefix} \ + --libdir=%{l_prefix}/share/latex2html \ + --shlibdir=%{l_prefix}/share/latex2html \ + --with-iconpath=/latex2html \ + --with-iconstorage=%{l_prefix}/pub/latex2html \ + --with-perl=%{l_prefix}/bin/perl \ + --with-mktexlsr=true \ + --enable-images \ + --enable-eps \ + --enable-gif \ + --enable-png \ + --enable-pipes \ + --enable-paths \ + --enable-wrapper + %{l_make} %{l_mflags -O} + +%install + rm -rf $RPM_BUILD_ROOT + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/bin \ + $RPM_BUILD_ROOT%{l_prefix}/share/latex2html + export DESTDIR=$RPM_BUILD_ROOT + %{l_make} %{l_mflags} install DESTDIR="$DESTDIR" + rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/latex2html/docs + rm -rf $RPM_BUILD_ROOT%{l_prefix}/pub/latex2html + ln -s ../share/latex2html/icons $RPM_BUILD_ROOT%{l_prefix}/pub/latex2html + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ + %{l_files_std} \ + '%not %dir %{l_prefix}/share/texmf/tex/latex' \ + '%not %dir %{l_prefix}/share/texmf/tex' \ + '%not %dir %{l_prefix}/share/texmf' + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + +%post + if [ $1 -eq 1 ]; then + echo "Running mktexlsr to rebuild teTeX ls-R database..." |\ + %{l_rpmtool} msg -t notice + %{l_prefix}/bin/mktexlsr + fi + @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.3044 -r1.3045 news.txt --- openpkg-web/news.txt 25 Jan 2003 13:19:49 -0000 1.3044 +++ openpkg-web/news.txt 25 Jan 2003 16:57:42 -0000 1.3045 @@ -1,3 +1,4 @@ +25-Jan-2003: New package: P<latex2html-2002.2.1-20030125> 25-Jan-2003: Upgraded package: P<perl-mail-20030125-20030125> 25-Jan-2003: Upgraded package: P<perl-www-20030125-20030125> 25-Jan-2003: Upgraded package: P<perl-apache-20030125-20030125> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]