Blame SPECS/rshim.spec

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