sgpio-vl.spec 2.2 KB

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