|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
|
|
|
Group: Network
|
|
Group: Network
|
|
|
License: BSD-style
|
|
License: BSD-style
|
|
|
Version: 3.17.1
|
|
Version: 3.17.1
|
|
|
-Release: 20030722
|
|
|
|
|
|
|
+Release: 20030801
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.cnds.jhu.edu/download/download_spread.cgi::/spread-src-%{version}.tar.gz
|
|
Source0: http://www.cnds.jhu.edu/download/download_spread.cgi::/spread-src-%{version}.tar.gz
|
|
@@ -41,7 +41,7 @@ Source0: http://www.cnds.jhu.edu/download/download_spread.cgi::/spread-src-
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, flex, bison
|
|
|
|
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, perl, gcc, flex, bison
|
|
|
PreReq: OpenPKG, openpkg >= 20020206
|
|
PreReq: OpenPKG, openpkg >= 20020206
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
@@ -58,8 +58,13 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
%{l_shtool} subst -e 's;if test ! -d \$piddir;if false;' configure
|
|
%{l_shtool} subst -e 's;if test ! -d \$piddir;if false;' configure
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;/usr/bin/perl;%{l_prefix}/bin/perl;g' \
|
|
|
|
|
+ buildtools/fixpaths \
|
|
|
|
|
+ buildtools/mdoc2man.pl
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
|
|
+ PERL="%{l_prefix}/bin/perl" \
|
|
|
./configure \
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|
|
|
--sysconfdir=%{l_prefix}/etc/spread \
|
|
--sysconfdir=%{l_prefix}/etc/spread \
|