sgpio/sgpio.spec

71 lines
2.2 KiB
RPMSpec
Raw Normal View History

2009-06-01 10:29:00 +00:00
Summary: SGPIO captive backplane tool
Name: sgpio
Version: 1.2.0.10
Release: 10%{?dist}
2009-06-01 10:29:00 +00:00
License: GPLv2+
Group: System Environment/Base
URL: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing
Source: sgpio-1.2-0.10-src.tar.gz
# there is no official download link for the latest package
#Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz
Patch0: sgpio-1.2-makefile.patch
Patch1: sgpio-1.2-coverity.patch
2009-06-01 10:29:00 +00:00
BuildRequires: dos2unix
%description
Intel SGPIO enclosure management utility
%prep
%setup -q -n sgpio
dos2unix --keepdate Makefile README
2009-06-01 10:29:00 +00:00
%patch0 -p1 -b .makefile
%patch1 -p1 -b .coverity
2009-06-01 10:29:00 +00:00
chmod a-x *
%build
#@@@ workaround for #474755 - remove with next update
make clean
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
%install
2012-11-19 08:16:53 +00:00
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
2009-06-01 10:29:00 +00:00
%files
%doc README
2012-11-19 08:16:53 +00:00
%{_sbindir}/sgpio
2009-06-01 10:29:00 +00:00
%{_mandir}/man1/sgpio.*
%changelog
* Fri Nov 30 2012 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-10
- Use strncpy instead of strcpy (coverity)
2012-11-19 08:10:36 +00:00
* Mon Nov 19 2012 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-9
- dos2unix'ed the patch
- Call dos2unix before patching and dos2unix Makefile as well
2012-11-19 08:16:53 +00:00
- Use %%{_sbindir} instead of '/sbin'
2012-11-19 08:10:36 +00:00
2012-08-23 07:57:52 +00:00
* Thu Aug 23 2012 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-8
- Improve spec
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-01-05 08:21:54 +00:00
* Thu Jan 05 2012 Jan Synáček <jsynacek@redhat.com> 1.2.0.10-6
- Rebuilt for GCC 4.7
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-06-01 10:29:00 +00:00
* Mon Jun 1 2009 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0.10-3
- rebuild for F12
* Tue Apr 14 2009 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0.10-2
- move the EOL conversion and the removal of
executable bits from %%install to %%prep section
* Wed Dec 10 2008 Jiri Moskovcak <jmoskovc@redhat.com> 1.2.0_10-1
2012-01-05 08:21:54 +00:00
- initial Fedora release