]> git.pld-linux.org Git - packages/supermicro-update-manager.git/blame - supermicro-update-manager.spec
Up to 2.5.2
[packages/supermicro-update-manager.git] / supermicro-update-manager.spec
CommitLineData
38de82a8
AM
1Summary: Supermicro Update Manager (for UEFI BIOS)
2Name: supermicro-update-manager
3# sum version
57b147b6 4Version: 2.5.2
80c3db0a 5Release: 1
38de82a8
AM
6License: Unknown
7Group: Base
57b147b6
AM
8Source0: https://www.supermicro.com/wftp/utility/SuperDoctor_5/Linux/SD5_5.12.0_build.1033_linux.zip
9# Source0-md5: 24240f62c30ac0beed4fd8f0f6a731c7
38de82a8
AM
10URL: https://www.supermicro.com/solutions/SMS_SUM.cfm
11BuildRequires: unzip
12ExclusiveArch: %{x8664}
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%define _enable_debug_packages 0
16
17%description
18The Supermicro Update Manager (SUM) can be used to manage the
19BIOS/BMC/CMM/ Broadcom 3108 RAID firmware image update and
20configuration update for select systems. In addition, system checks as
21well as event log management are also supported. Moreover, special
22applications are also provided to facilitate system management.
23
24%prep
d9530bbd
AM
25%setup -q -c
26install -d prep; cd prep
27unzip ../*.bin || :
28unzip \$IA_PROJECT_DIR\$/build/SuperDoctor5-linux.zip
38de82a8
AM
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir}/%{name}}
d9530bbd 34cp -a prep/BIOS/sum/{ExternalData,sum} $RPM_BUILD_ROOT%{_libdir}/%{name}
38de82a8
AM
35chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/sum
36
253bbe58 37cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}
38de82a8
AM
38#!/bin/sh
39cd %{_libdir}/%{name} || exit 1
253bbe58 40exec %{_libdir}/%{name}/sum $@
38de82a8
AM
41EOF
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
d9530bbd 48%doc prep/BIOS/sum/ReleaseNote.txt
253bbe58 49%attr(755,root,root) %{_sbindir}/%{name}
38de82a8
AM
50%dir %{_libdir}/%{name}
51%{_libdir}/%{name}/ExternalData
52%attr(755,root,root) %{_libdir}/%{name}/sum
53
This page took 0.142605 seconds and 4 git commands to generate.