This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Got rid of all rpmlint errors and incoporated feedback from other Fedora BZ reviews. - Added %optflags and %_smp_mflags compile options. - Fixed permissions of fw_header.h - Removed undefined macros from cli and monitor man pages. - Fixed parallel make issue. Signed-off-by: Namratha Kothapalli <[email protected]>
- Loading branch information
Showing
8 changed files
with
45 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,9 @@ Group: Applications/System | |
URL: https://01.org/ixpdimm-sw | ||
Source: https://github.com/01org/ixpdimm_sw/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz | ||
Requires: ndctl-libs >= 51 | ||
Requires: libinvm-i18n >= 1.0.0.1015 | ||
Requires: libinvm-cli >= 1.0.0.1095 | ||
Requires: libinvm-cim >= 1.0.0.1040 | ||
|
||
BuildRequires: pkgconfig(libctemplate) | ||
BuildRequires: pkgconfig(libkmod) | ||
|
@@ -53,9 +56,9 @@ Requires(pre): pywbem | |
Requires(post): pywbem | ||
|
||
%description -n libixpdimm-cim | ||
A Common Information Model (CIM) provider library to expose the IXPDIMM SW | ||
A Common Information Model (CIM) provider library to expose the IXPDIMM SW | ||
functionality as standard CIM objects to plug-in to common information | ||
model object managers (CIMOMs). | ||
model object managers (CIMOMs). | ||
|
||
%package -n ixpdimm-monitor | ||
Summary: Daemon for monitoring the status of IXPDIMM | ||
|
@@ -81,7 +84,7 @@ managing IXPDIMMs from the command line. | |
%setup -q -n %{name}-%{version} | ||
|
||
%build | ||
make BUILDNUM=%{build_version} RELEASE=1 DATADIR=%{_sharedstatedir} LINUX_PRODUCT_NAME=%{name} | ||
make BUILDNUM=%{build_version} RELEASE=1 DATADIR=%{_sharedstatedir} LINUX_PRODUCT_NAME=%{name} CFLAGS_EXTERNAL="%{?optflags}" %{?_smp_mflags} | ||
|
||
%install | ||
make install RELEASE=1 RPM_ROOT=%{buildroot} LIB_DIR=%{_libdir} INCLUDE_DIR=%{_includedir} BIN_DIR=%{_bindir} DATADIR=%{_sharedstatedir} UNIT_DIR=%{_unitdir} LINUX_PRODUCT_NAME=%{name} SYSCONF_DIR=%{_sysconfdir} MANPAGE_DIR=%{_mandir} | ||
|
@@ -113,7 +116,7 @@ then | |
$CIMMOF -uc -n$ns %{_sharedstatedir}/%{name}/Pegasus/mof/pegasus_register.mof &> /dev/null | ||
$CIMMOF -uc -n$ns %{_sharedstatedir}/%{name}/Pegasus/mof/profile_registration.mof &> /dev/null | ||
break | ||
fi | ||
fi | ||
done | ||
$CIMMOF -aE -uc -n root/intelwbem %{_sharedstatedir}/%{name}/Pegasus/mof/intelwbem.mof &> /dev/null | ||
fi | ||
|
@@ -141,7 +144,8 @@ fi | |
/bin/systemctl --no-reload enable ixpdimm-monitor.service &> /dev/null || : | ||
/bin/systemctl start ixpdimm-monitor.service &> /dev/null || : | ||
|
||
%post -p /sbin/ldconfig | ||
%post -n ixpdimm_sw -p /sbin/ldconfig | ||
%postun -n ixpdimm_sw -p /sbin/ldconfig | ||
|
||
%postun -n libixpdimm-core -p /sbin/ldconfig | ||
%postun -n libixpdimm-cim -p /sbin/ldconfig | ||
|
@@ -236,12 +240,14 @@ fi | |
|
||
%files -n libixpdimm-core | ||
%doc README.md | ||
%{_libdir}/libixpdimm-core.so* | ||
%{_libdir}/libixpdimm-core.so.01 | ||
%{_libdir}/libixpdimm-core.so.01.00.0 | ||
%license LICENSE | ||
|
||
%files -n libixpdimm-cim | ||
%doc README.md | ||
%{_libdir}/cmpi/libixpdimm-cim.so* | ||
%{_libdir}/cmpi/libixpdimm-cim.so.01 | ||
%{_libdir}/cmpi/libixpdimm-cim.so.01.00.0 | ||
%dir %{_sharedstatedir}/%{name}/Pegasus | ||
%dir %{_sharedstatedir}/%{name}/Pegasus/mof | ||
%dir %{_sharedstatedir}/%{name}/sfcb | ||
|
@@ -259,10 +265,11 @@ fi | |
|
||
%files -n ixpdimm-cli | ||
%{_bindir}/ixpdimm-cli | ||
%{_libdir}/libixpdimm-cli.so* | ||
%{_libdir}/libixpdimm-cli.so.01 | ||
%{_libdir}/libixpdimm-cli.so.01.00.0 | ||
%license LICENSE | ||
%{_mandir}/man8/ixpdimm-cli* | ||
|
||
%changelog | ||
* Thu Dec 24 2015 Nicholas Moulin <[email protected]> - 01.00.00.2094-1 | ||
* Thu Dec 24 2015 Nicholas Moulin <[email protected]> - 01.00.00.2095-1 | ||
- Initial rpm release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,38 @@ | ||
|
||
." -------------------- N A M E -------------------- | ||
NAME | ||
**serviceName** - Daemon to monitor **fullProductName** management events. Used by **cliName**. | ||
|
||
." -------------------- S Y N O P S I S -------------------- | ||
SYNOPSIS | ||
.B **serviceName** | ||
.B **serviceName** | ||
.RB [ -d ] | ||
|
||
." -------------------- D E S C R I P T I O N -------------------- | ||
DESCRIPTION | ||
|
||
Daemon to monitor **fullProductName** management events. These events can be viewed using **cliName**. | ||
|
||
." -------------------- O P T I O N S -------------------- | ||
OPTION | ||
.TP | ||
.B -d | ||
Starts | ||
Starts | ||
.B **serviceName** | ||
as a background daemon. | ||
|
||
." -------------------- E X I T C O D E S -------------------- | ||
EXIT CODES | ||
|
||
.TP | ||
.B 0 | ||
The operation succeeded. | ||
.TP | ||
.B 1 | ||
An error occurred. | ||
|
||
." -------------------- F I L E S -------------------- | ||
FILES | ||
**dataPath**/apss.dat | ||
.br | ||
/var/run/**serviceName**.pid | ||
|
||
." -------------------- S E E A L S O -------------------- | ||
SEE ALSO | ||
**cliName** (8) | ||
|
||
." -------------------- A U T H O R -------------------- | ||
AUTHOR | ||
Created by Intel Corporation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters