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