|
|
@@ -26,14 +26,14 @@
|
|
|
Name: scli
|
|
|
Summary: SNMP Command Line Interface
|
|
|
URL: http://www.ibr.cs.tu-bs.de/projects/scli/
|
|
|
-Vendor: TU Braunschweig
|
|
|
+Vendor: Juergen Schoenwaelder
|
|
|
Packager: OpenPKG Foundation e.V.
|
|
|
Distribution: OpenPKG Community
|
|
|
Class: PLUS
|
|
|
Group: Network
|
|
|
License: GPL
|
|
|
-Version: 0.2.12
|
|
|
-Release: 20061013
|
|
|
+Version: 0.3.1
|
|
|
+Release: 20070104
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.ibr.cs.tu-bs.de/pub/local/scli/scli-%{version}.tar.gz
|
|
|
@@ -41,15 +41,15 @@ Source0: ftp://ftp.ibr.cs.tu-bs.de/pub/local/scli/scli-%{version}.tar.gz
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130, gcc
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, pkgconfig
|
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
|
-BuildPreReq: ncurses, glib, libxml, readline
|
|
|
-PreReq: ncurses, glib, libxml, readline
|
|
|
+BuildPreReq: glib2, gnet, gsnmp, libxml, readline, ncurses
|
|
|
+PreReq: glib2, gnet, gsnmp, libxml, readline, ncurses
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
%description
|
|
|
- scli is a command line interface for a SNMP client.
|
|
|
+ scli(1) is an SNMP client command line interface.
|
|
|
|
|
|
%track
|
|
|
prog scli = {
|
|
|
@@ -68,13 +68,15 @@ AutoReqProv: no
|
|
|
LDFLAGS="%{l_ldflags}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
- --with-glib-prefix=%{l_prefix} \
|
|
|
+ --mandir=%{l_prefix}/man \
|
|
|
+ --infodir=%{l_prefix}/info \
|
|
|
--with-xml-prefix=%{l_prefix}
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
|
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|