]> git.pld-linux.org Git - packages/supermicro-update-manager.git/blame - supermicro-update-manager.spec
- initial; supermicro BIOS upgrade tool
[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
4Version: 1.7.0
5Release: 1
6License: Unknown
7Group: Base
8Source0: ftp://ftp.supermicro.com:/utility/SuperDoctor_5/Linux/SD5_5.5.0_build.784_linux.zip
9# Source0-md5: cdd7684f7065462b9ab73d971257501b
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
25%setup -qc
26install -d prep; cd prep
27unzip ../*.bin || :
28unzip \$IA_PROJECT_DIR\$/build/SuperDoctor5-linux.zip
29
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir}/%{name}}
35cp -a prep/BIOS/sum/{ExternalData,sum} $RPM_BUILD_ROOT%{_libdir}/%{name}
36chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/sum
37
38cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/sum
39#!/bin/sh
40cd %{_libdir}/%{name} || exit 1
41exec ./sum $@
42EOF
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%doc prep/BIOS/sum/ReleaseNote.txt
50%attr(755,root,root) %{_sbindir}/sum
51%dir %{_libdir}/%{name}
52%{_libdir}/%{name}/ExternalData
53%attr(755,root,root) %{_libdir}/%{name}/sum
54
This page took 0.062625 seconds and 4 git commands to generate.