|
|
@@ -34,7 +34,7 @@ Class: PLUS
|
|
|
Group: Converter
|
|
|
License: GPL/Artistic
|
|
|
Version: 2.21
|
|
|
-Release: 20040203
|
|
|
+Release: 20040206
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://osdn.dl.sourceforge.net/sourceforge/txt2html/txt2html-%{version}.tar.gz
|
|
|
@@ -42,7 +42,7 @@ Source0: http://osdn.dl.sourceforge.net/sourceforge/txt2html/txt2html-%{ver
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, perl
|
|
|
PreReq: OpenPKG, openpkg >= 20040130, perl
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -64,10 +64,10 @@ AutoReqProv: no
|
|
|
%build
|
|
|
( echo "#!%{l_prefix}/bin/perl"
|
|
|
echo ""; echo "=pod"; echo ""
|
|
|
- cat txt2html.PL |\
|
|
|
+ cat txt2html |\
|
|
|
sed -e '1,3d' \
|
|
|
-e 's:^\(use \):use lib "%{l_prefix}/libexec/txt2html"; \1:'
|
|
|
- ) >txt2html
|
|
|
+ ) >txt2html.sh
|
|
|
%{l_prefix}/bin/pod2man txt2html >txt2html.1
|
|
|
|
|
|
%install
|
|
|
@@ -78,7 +78,7 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/libexec/txt2html/HTML \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/txt2html
|
|
|
%{l_shtool} install -c -m 755 \
|
|
|
- txt2html $RPM_BUILD_ROOT%{l_prefix}/bin/
|
|
|
+ txt2html.sh $RPM_BUILD_ROOT%{l_prefix}/bin/txt2html
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
txt2html.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
|
|
|
%{l_shtool} install -c -m 644 \
|