1 | Summary: SGPIO captive backplane tool |
---|
2 | Summary(ja): SGPIO バックプレーンツール |
---|
3 | Name: sgpio |
---|
4 | Version: 1.2.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: System Environment/Base |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: GPLv2+ |
---|
11 | URL: http://www.sourceware.org/lvm2/wiki/DMRAID_Eventing |
---|
12 | Source: http://www.sourceware.org/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-%{version}.tgz#/sgpio-%{version}.tgz |
---|
13 | # there is no official download link for the latest package |
---|
14 | #Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz |
---|
15 | Patch0: sgpio-1.2-makefile.patch |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
17 | BuildRequires: nkf |
---|
18 | |
---|
19 | %description |
---|
20 | Intel SGPIO enclosure management utility |
---|
21 | |
---|
22 | %description -l ja |
---|
23 | Intel SGPIO エンクロージャ管理ユーティリティ |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q -n sgpio |
---|
27 | %patch0 -p1 -b .makefile |
---|
28 | nkf --unix --in-place README |
---|
29 | chmod a-x * |
---|
30 | |
---|
31 | %build |
---|
32 | #@@@ workaround for #474755 - remove with next update |
---|
33 | make clean |
---|
34 | make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir} |
---|
39 | |
---|
40 | %clean |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | |
---|
43 | %files |
---|
44 | %defattr(-, root, root, -) |
---|
45 | %license LICENSE_GPL |
---|
46 | %doc README |
---|
47 | /sbin/sgpio |
---|
48 | %{_mandir}/man1/sgpio.* |
---|
49 | |
---|
50 | %changelog |
---|
51 | * Sat Mar 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1 |
---|
52 | - new upstream release. |
---|
53 | |
---|
54 | * Wed Apr 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0.10-1 |
---|
55 | - initial build for Vine Linux |
---|
56 | |
---|
57 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-5 |
---|
58 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
59 | |
---|
60 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-4 |
---|
61 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
62 | |
---|
63 | * Mon Jun 1 2009 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0.10-3 |
---|
64 | - rebuild for F12 |
---|
65 | |
---|
66 | * Tue Apr 14 2009 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0.10-2 |
---|
67 | - move the EOL conversion and the removal of |
---|
68 | executable bits from %%install to %%prep section |
---|
69 | |
---|
70 | * Wed Dec 10 2008 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0_10-1 |
---|
71 | - initial Fedora release |
---|