Blame SPECS/pf-bb-config.spec

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