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