Blame SPECS/pf-bb-config.spec

08c397
Name:           pf-bb-config
08c397
Version:        22.11
08c397
Release:        2%{?dist}
08c397
Summary:        PF BBDEV (baseband device) Configuration Application
08c397
08c397
License:        Apache-2.0
08c397
URL:            https://github.com/intel/pf-bb-config
08c397
Source0:        %{url}/archive/v%{version}/pf-bb-config-%{version}.tar.gz
08c397
Patch0:         %{url}/commit/2b02af16cdd0b704d49fe0cc621a3b5845c2ee2a.patch
08c397
08c397
# Currently big endian is not supported due to a bug
08c397
ExcludeArch:    s390x
08c397
08c397
BuildRequires:  gcc
08c397
BuildRequires:  make
08c397
08c397
08c397
%description
08c397
The PF BBDEV (baseband device) Configuration Application "pf_bb_config"
08c397
provides a means to configure the baseband device at the host-level.
08c397
The program accesses the configuration space and sets the various parameters
08c397
through memory-mapped IO read/writes.
08c397
08c397
08c397
%prep
08c397
%autosetup -p1
08c397
sed -i "s/#VERSION_STRING#/%{version}/g" config_app.c
08c397
08c397
08c397
%build
08c397
%make_build CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="${RPM_LD_FLAGS}"
08c397
08c397
08c397
%install
08c397
install -d -m 755 %{buildroot}%{_bindir}
08c397
install -d -m 755 %{buildroot}%{_datadir}/pf-bb-config/acc100/
08c397
install -p -D -m 755 pf_bb_config %{buildroot}%{_bindir}/pf_bb_config
08c397
cp -a acc100/*.cfg %{buildroot}%{_datadir}/pf-bb-config/acc100/
08c397
08c397
08c397
%files
08c397
%license LICENSE
08c397
%doc README.md
08c397
%{_bindir}/pf_bb_config
08c397
%{_datadir}/pf-bb-config/
08c397
08c397
08c397
%changelog
08c397
* Thu Feb 16 2023 Timothy Redaelli <tredaelli@redhat.com> - 22.11-2
08c397
- Rebuilt after adding gating
08c397
08c397
* Mon Jan 16 2023 Timothy Redaelli <tredaelli@redhat.com> - 22.11-1
08c397
- Update to 22.11
08c397
08c397
* Mon Oct 03 2022 Timothy Redaelli <tredaelli@redhat.com> - 22.07-1
08c397
- Initial import (fedora#2101769)