|
|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
# package version
|
|
|
%define V_major 1.3
|
|
|
-%define V_minor 11
|
|
|
+%define V_minor 12
|
|
|
|
|
|
# package information
|
|
|
Name: nano
|
|
|
@@ -37,7 +37,7 @@ Class: BASE
|
|
|
Group: Editor
|
|
|
License: GPL
|
|
|
Version: %{V_major}.%{V_minor}
|
|
|
-Release: 20060404
|
|
|
+Release: 20060626
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.nano-editor.org/dist/v%{V_major}/nano-%{version}.tar.gz
|
|
|
@@ -48,8 +48,8 @@ Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130, make
|
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
|
-BuildPreReq: slang
|
|
|
-PreReq: slang
|
|
|
+BuildPreReq: slang >= 2.0.6-20060626
|
|
|
+PreReq: slang >= 2.0.6-20060626
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -71,6 +71,8 @@ AutoReqProv: no
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
+ CPPFLAGS="`pkg-config slang --cflags`" \
|
|
|
+ LIBS="`pkg-config slang --libs`" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--with-slang=%{l_prefix} \
|