OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Feb-2003 19:49:43
Branch: HEAD Handle: 2003021118494200
Modified files:
openpkg-src/html2text html2text.spec
Log:
New package html2text.
Summary:
Revision Changes Path
1.2 +14 -6 openpkg-src/html2text/html2text.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/html2text/html2text.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 html2text.spec
--- openpkg-src/html2text/html2text.spec 11 Feb 2003 15:03:14 -0000 1.1
+++ openpkg-src/html2text/html2text.spec 11 Feb 2003 18:49:42 -0000 1.2
@@ -25,7 +25,7 @@
# package information
Name: html2text
-Summary: HTML to plain text document converter
+Summary: Advanced HTML to text document converter
URL: http://userpage.fu-berlin.de/~mbayer/tools/html2text.html
Vendor: Arno Unkrig
Packager: The OpenPKG Project
@@ -41,7 +41,7 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20030103
+BuildPreReq: OpenPKG, openpkg >= 20030103, gcc, gzip
PreReq: OpenPKG, openpkg >= 20030103
AutoReq: no
AutoReqProv: no
@@ -65,14 +65,22 @@
CXXFLAGS="%{l_cxxflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
- ./configure \
- --prefix=%{l_prefix}
+ ./configure
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
- %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
- strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+ %{l_prefix}/bin/gunzip html2text.1.gz html2textrc.5.gz
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/bin \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1 \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man5
+ %{l_shtool} install -c -m 755 \
+ html2text $RPM_BUILD_ROOT%{l_prefix}/bin/
+ %{l_shtool} install -c -m 644 \
+ html2text.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
+ %{l_shtool} install -c -m 644 \
+ html2textrc.5 $RPM_BUILD_ROOT%{l_prefix}/man/man5/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]