Blame SPECS/libipathverbs.spec

4b7d77
%global dracutdir %{_prefix}/lib/dracut/modules.d
4b7d77
5a1a98
Name: libipathverbs
4b7d77
Version: 1.3
4b7d77
Release: 2%{?dist}
5a1a98
Summary: QLogic InfiniPath HCA Userspace Driver
5a1a98
Group: System Environment/Libraries
5a1a98
License: GPLv2 or BSD
5a1a98
Url: http://www.openfabrics.org/
5a1a98
Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz
4b7d77
Patch0: libipathverbs-1.3-modprobe.patch
4b7d77
Patch1: libipathverbs-1.3-dracut.patch
5a1a98
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4b7d77
BuildRequires: libibverbs-devel > 1.1.4, valgrind-devel, dracut
4b7d77
Requires: /bin/bash, rdma
5a1a98
ExclusiveArch: x86_64
5a1a98
Provides: libibverbs-driver.%{_arch}
5a1a98
%description
5a1a98
QLogic hardware driver for use with libibverbs user space verbs access
5a1a98
library.  This driver supports QLogic InfiniPath based cards.
5a1a98
5a1a98
%package static
5a1a98
Summary: Static version of the libipathverbs driver
5a1a98
Group: System Environment/Libraries
5a1a98
Requires: %{name} = %{version}-%{release}
5a1a98
%description static
5a1a98
Static version of libipathverbs that may be linked directly to an
5a1a98
application.
5a1a98
5a1a98
%prep
5a1a98
%setup -q
4b7d77
%patch0 -p1
4b7d77
%patch1 -p1
5a1a98
5a1a98
%build
5a1a98
%configure --with-valgrind
5a1a98
make %{?_smp_mflags}
5a1a98
5a1a98
%install
4b7d77
rm -rf %{buildroot}
4b7d77
make DESTDIR=%{buildroot} install
5a1a98
# remove unpackaged files from the buildroot
4b7d77
rm -f %{buildroot}%{_libdir}/*.la
5a1a98
5a1a98
%clean
4b7d77
rm -rf %{buildroot}
5a1a98
5a1a98
%files
5a1a98
%defattr(-,root,root,-)
5a1a98
%{_libdir}/*.so*
5a1a98
%{_sysconfdir}/libibverbs.d/*.driver
4b7d77
%{_sysconfdir}/modprobe.d/truescale.conf
4b7d77
%dir %{dracutdir}/90qib
4b7d77
%{dracutdir}/90qib/*
4b7d77
%{_sbindir}/truescale-serdes.cmds
5a1a98
%doc AUTHORS COPYING README
5a1a98
5a1a98
%files static
5a1a98
%defattr(-,root,root,-)
5a1a98
%{_libdir}/*.a
5a1a98
5a1a98
%changelog
4b7d77
* Tue Dec 23 2014 Doug Ledford <dledford@redhat.com> - 1.3-2
4b7d77
- Add requires on rdma package
4b7d77
- Related: bz1164618
4b7d77
4b7d77
* Fri Oct 17 2014 Doug Ledford <dledford@redhat.com> - 1.3-1
4b7d77
- Update to latest upstream release and build against latest libibverbs
4b7d77
- Resolve mezzanine configure issue (1085946)
4b7d77
- Related: bz1137044
4b7d77
62810c
* Mon Mar 03 2014 Doug Ledford <dledford@redhat.com> - 1.2-8
62810c
- Bump and rebuild against latest libibverbs
62810c
- Related: bz1062281
62810c
62810c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2-7
62810c
- Mass rebuild 2013-12-27
62810c
5a1a98
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
5a1a98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5a1a98
5a1a98
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
5a1a98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5a1a98
5a1a98
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
5a1a98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5a1a98
5a1a98
* Wed Jul 20 2011 Doug Ledford <dledford@redhat.com> - 1.2-3
5a1a98
- Initial import into Fedora
5a1a98
- Fix pseudoprovide to match what the fedora libibverbs expects
5a1a98
5a1a98
* Mon Jan 25 2010 Doug Ledford <dledford@redhat.com> - 1.2-2.el6
5a1a98
- Minor updates for pkgwrangler review
5a1a98
- Related: bz543948
5a1a98
5a1a98
* Mon Dec 21 2009 Doug Ledford <dledford@redhat.com> - 1.2-1.el6
5a1a98
- Update to latest upstream source
5a1a98
- Change BuildRequires from valgrind to valgrind-devel for rhel6
5a1a98
- Drop ppc64 build as it isn't officially supported upstream
5a1a98
- Related: bz543948
5a1a98
5a1a98
* Mon Jun 22 2009 Doug Ledford <dledford@redhat.com> - 1.1-14.el5
5a1a98
- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro
5a1a98
- Related: bz506258
5a1a98
5a1a98
* Sun Jun 21 2009 Doug Ledford <dledford@redhat.com> - 1.1-13.el5
5a1a98
- Build against non-XRC libibverbs
5a1a98
- Enabled valgrind annotations
5a1a98
- Related: bz506258, bz504284
5a1a98
5a1a98
* Fri Apr 17 2009 Doug Ledford <dledford@redhat.com> - 1.1-12
5a1a98
- Update source to ofed 1.4.1-rc3 version
5a1a98
- Related: bz459652
5a1a98
5a1a98
* Tue Sep 16 2008 Doug Ledford <dledford@redhat.com> - 1.1-11
5a1a98
- Bump and rebuild against libibverbs-1.1.2
5a1a98
- Resolves: bz451456
5a1a98
5a1a98
* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 1.1-10
5a1a98
- Update to the OFED 1.3 version of libipathverbs-1.1.tar.gz (there is a 300k
5a1a98
  size difference between the libipathverbs-1.1.tar.gz in the OFED release
5a1a98
  and the file by the same name at openfabrics.org/downloads/...which is
5a1a98
  just insane, they should have different release numbers, but they don't,
5a1a98
  so for anyone to duplicate what I have here, you will need to get the
5a1a98
  libipathverbs-1.1.tar.gz file out of the libipathverbs-1.1-1.ofed1.3 src
5a1a98
  rpm out of the OFED-1.3.tar.gz download at the openfabrics site)
5a1a98
- Related: bz428197
5a1a98
5a1a98
* Thu Feb 14 2008 Doug Ledford <dledford@redhat.com> - 1.1-9
5a1a98
- Obsolete the old -devel package
5a1a98
- Related: bz432765
5a1a98
5a1a98
* Thu Feb 07 2008 Doug Ledford <dledford@redhat.com> - 1.1-8
5a1a98
- Bump version to be higher than the OFED 1.2 libipathverbs and rebuild
5a1a98
- Related: bz428197
5a1a98
5a1a98
* Tue Jan 15 2008 Doug Ledford <dledford@redhat.com> - 1.1-0.1
5a1a98
- Initial import to CVS
5a1a98