|
@@ -25,7 +25,7 @@
|
|
|
# package information
|
|
# package information
|
|
|
Name: minicom
|
|
Name: minicom
|
|
|
Summary: Serial Line Terminal Program
|
|
Summary: Serial Line Terminal Program
|
|
|
-URL: http://www.pp.clinet.fi/~walker/minicom.html
|
|
|
|
|
|
|
+URL: http://www.netsonic.fi/~walker/minicom.html
|
|
|
Vendor: Jukka Lahtinen
|
|
Vendor: Jukka Lahtinen
|
|
|
Packager: The OpenPKG Project
|
|
Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [EXP]
|
|
Distribution: OpenPKG [EXP]
|
|
@@ -35,13 +35,13 @@ Version: 1.83.1
|
|
|
Release: 20020529
|
|
Release: 20020529
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
-Source0: http://www.clinet.fi/~walker/minicom-%{version}.src.tar.gz
|
|
|
|
|
|
|
+Source0: http://www.netsonic.fi/~walker/minicom-%{version}.src.tar.gz
|
|
|
Patch0: minicom.patch
|
|
Patch0: minicom.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, gettext, lrzsz, make
|
|
|
|
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, gettext, libiconv, lrzsz, make
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, lrzsz
|
|
PreReq: OpenPKG, openpkg >= 20020206, lrzsz
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
@@ -66,7 +66,7 @@ AutoReqProv: no
|
|
|
FLAGS="%{l_cflags -O} -I%{l_prefix}/include -D_SELECT -D_POSIX -D_DCDFLOW" \
|
|
FLAGS="%{l_cflags -O} -I%{l_prefix}/include -D_SELECT -D_POSIX -D_DCDFLOW" \
|
|
|
PROGS="minicom runscript ascii-xfr" \
|
|
PROGS="minicom runscript ascii-xfr" \
|
|
|
LFLAGS="-L%{l_prefix}/lib" \
|
|
LFLAGS="-L%{l_prefix}/lib" \
|
|
|
- LIBS="-ltermcap -lintl" \
|
|
|
|
|
|
|
+ LIBS="-ltermcap -lintl -liconv" \
|
|
|
BINDIR="%{l_prefix}/bin" \
|
|
BINDIR="%{l_prefix}/bin" \
|
|
|
LIBDIR="%{l_prefix}/etc/minicom" \
|
|
LIBDIR="%{l_prefix}/etc/minicom" \
|
|
|
DOCDIR="%{l_prefix}/share/minicom" \
|
|
DOCDIR="%{l_prefix}/share/minicom" \
|
|
@@ -74,6 +74,7 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
+ PATH="%{l_prefix}/bin:$PATH"
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
|