bea26b75dd
Spec files no longer requires specific wrs-snmp-mib SDK actions. With the StarlingX move to supporting pure upstream OpenStack, the majority of the SDK Modules are related to functionality no longer supported. The remaining SDK Modules will be moved to StarlingX documentation. Story: 2005275 Task: 30192 Change-Id: I333f32e94489098530cc04382fca46edce5122a0 Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
61 lines
1.6 KiB
RPMSpec
61 lines
1.6 KiB
RPMSpec
Summary: CGTS Platform SNMP extension Package
|
|
Name: snmp-ext
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: unknown
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRequires: fm-common-dev
|
|
BuildRequires: net-snmp-devel
|
|
BuildRequires: libuuid-devel
|
|
Requires: fm-common
|
|
Requires: net-snmp
|
|
|
|
%define mib_ver 2.0
|
|
|
|
%description
|
|
Titanium Cloud platform SNMP extension provides Wind River enterprise MIBs support
|
|
and it serves as SNMP based alarm surveillance module for Network Manager
|
|
System.
|
|
|
|
%package -n snmp-ext-devel
|
|
Summary: Titanium Cloud Platform SNMP extension Package - Development files
|
|
Group: devel
|
|
Requires: snmp-ext = %{version}-%{release}
|
|
|
|
%description -n snmp-ext-devel
|
|
Titanium Cloud platform SNMP extension provides Wind River enterprise MIBs support
|
|
and it serves as SNMP based alarm surveillance module for Network Manager
|
|
System. This package contains symbolic links, header files, and related
|
|
items necessary for software development.
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
MAJOR=`echo %{version} | awk -F . '{print $1}'`
|
|
MINOR=`echo %{version} | awk -F . '{print $2}'`
|
|
make MAJOR=$MAJOR MINOR=$MINOR PATCH=%{tis_patch_ver} %{?_smp_mflags}
|
|
|
|
%install
|
|
MAJOR=`echo %{version} | awk -F . '{print $1}'`
|
|
MINOR=`echo %{version} | awk -F . '{print $2}'`
|
|
make DEST_DIR=%{buildroot} \
|
|
LIB_DIR=%{_libdir} \
|
|
MAJOR=$MAJOR \
|
|
MINOR=$MINOR \
|
|
MIBVER=%{mib_ver} \
|
|
PATCH=%{tis_patch_ver} install
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE
|
|
%{_libdir}/*.so.*
|
|
%{_datadir}/snmp/mibs/*
|
|
|
|
%files -n snmp-ext-devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/*.so
|