Blame SPECS/rshim.spec

57486c
# SPDX-License-Identifier: GPL-2.0-only
57486c
# Copyright (C) 2019 Mellanox Technologies. All Rights Reserved.
57486c
#
57486c
57486c
Name: rshim
57486c
Version: 2.0.4
57486c
Release: 4%{?dist}
57486c
Summary: User-space driver for Mellanox BlueField SoC
57486c
57486c
License: GPLv2
57486c
57486c
URL: https://github.com/mellanox/rshim-user-space
57486c
Source0: https://github.com/Mellanox/rshim-user-space/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
57486c
57486c
BuildRequires: gcc, autoconf, automake, make
57486c
BuildRequires: pkgconfig(libpci), pkgconfig(libusb-1.0), pkgconfig(fuse)
57486c
BuildRequires: systemd
57486c
BuildRequires: systemd-rpm-macros
57486c
57486c
Requires: kmod(cuse.ko)
57486c
Suggests: kernel-modules-extra
57486c
57486c
%description
57486c
This is the user-space driver to access the BlueField SoC via the rshim
57486c
interface. It provides ways to push boot stream, debug the target or login
57486c
via the virtual console or network interface.
57486c
57486c
%prep
57486c
%setup -q -n %{name}-%{version}
57486c
57486c
%build
57486c
./bootstrap.sh
57486c
%configure
57486c
%make_build
57486c
57486c
%install
57486c
%make_install
57486c
57486c
%post
57486c
%systemd_post rshim.service
57486c
57486c
%preun
57486c
%systemd_preun rshim.service
57486c
57486c
%postun
57486c
%systemd_postun_with_restart rshim.service
57486c
57486c
%files
57486c
%license LICENSE
57486c
%doc README.md
57486c
%{_sbindir}/rshim
57486c
%{_unitdir}/rshim.service
57486c
%{_mandir}/man8/rshim.8.gz
57486c
57486c
%changelog
57486c
* Tue Jan 26 2021 Dean Nelson <dnelson@redhat.com> - 2.0.4-4
57486c
- Expose gating.yaml file in order to enable manual CI gating for rshim
57486c
  in RHEL-8.4, by bumping release and doing a Brew build.
57486c
- Partially resolves: rhbz#1912248
57486c
57486c
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-3
57486c
- Second attempt - Rebuilt for
57486c
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
57486c
57486c
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
57486c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
57486c
57486c
* Tue Apr 21 2020 Liming Sun <lsun@mellanox.com> - 2.0.4-1
57486c
- Update .spec file according to review comments
57486c
- Fix the 'KillMode' in rshim.service
57486c
- Support process termination by SIGTERM
57486c
- Fix some compiling warnings and configure issue for FreeBSD
57486c
- Fix a read()/write() issue in rshim_pcie.c caused by optimization
57486c
57486c
* Tue Apr 14 2020 Liming Sun <lsun@mellanox.com> - 2.0.3-1
57486c
- Enable pci device during probing
57486c
- Map the pci resource0 file instead of /dev/mem
57486c
- Add copyright header in bootstrap.sh
57486c
- Add 'Requires' tag check in the rpm .spec for kernel-modules-extra
57486c
- Fix the 'rshim --version' output
57486c
57486c
* Thu Apr 09 2020 Liming Sun <lsun@mellanox.com> - 2.0.2-1
57486c
- Remove unnecessary dependency in .spec and use make_build
57486c
- Add package build for debian/ubuntu
57486c
- Fix some format in the man page
57486c
- Add check for syslog headers
57486c
57486c
* Mon Mar 23 2020 Liming Sun <lsun@mellanox.com> - 2.0.1-1
57486c
- Rename bfrshim to rshim
57486c
- Remove rshim.spec since it's auto-generated from rshim.spec.in
57486c
- Fix warnings reported by coverity
57486c
- Add rhel/rshim.spec.in for fedora
57486c
- Move rshim to sbin and move man page to man8
57486c
57486c
* Fri Mar 13 2020 Liming Sun <lsun@mellanox.com> - 2.0-1
57486c
- Update the spec file according to fedora packaging-guidelines
57486c
57486c
* Mon Dec 16 2019 Liming Sun <lsun@mellanox.com>
57486c
- Initial packaging