sgpio-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. %description
  16. Intel SGPIO enclosure management utility
  17. %description -l ja
  18. Intel SGPIO エンクロージャ管理ユーティリティ
  19. %prep
  20. %setup -q -n sgpio
  21. %patch0 -p1 -b .makefile
  22. nkf --unix --in-place README
  23. chmod a-x *
  24. %build
  25. #@@@ workaround for #474755 - remove with next update
  26. make clean
  27. make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir}
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-, root, root, -)
  35. %doc README
  36. /sbin/sgpio
  37. %{_mandir}/man1/sgpio.*
  38. %changelog
  39. * Wed Apr 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0.10-1
  40. - initial build for Vine Linux
  41. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-5
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  43. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-4
  44. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  45. * Mon Jun 1 2009 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0.10-3
  46. - rebuild for F12
  47. * Tue Apr 14 2009 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0.10-2
  48. - move the EOL conversion and the removal of
  49. executable bits from %%install to %%prep section
  50. * Wed Dec 10 2008 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0_10-1
  51. - initial Fedora release