%if 0%{?fedora} %global debug_package %{nil} %endif Name: xmm7360-pci Version: 0.0.git.260.d2561ba4 Release: 1%{?dist} Summary: Driver for Fibocom L850-GL / Intel XMM7360. License: GPLv3 URL: https://github.com/ignic/xmm7360-pci VCS: git+https://github.com/ignic/xmm7360-pci.git#d2561ba4904da4062bfebfa8f3d8929b9f9adcd9: Source: xmm7360-pci-d2561ba4.tar.gz Requires: python3-configargparse Requires: python3-pyroute2 BuildRequires: systemd-rpm-macros %description Driver for Fibocom L850-GL / Intel XMM7360. %prep %setup -T -b 0 -q -n xmm7360-pci %install install -m 755 -D -t %{buildroot}%{_datadir}/%{name}/rpc rpc/open_xdatachannel.py install -m 644 -D -t %{buildroot}%{_datadir}/%{name}/rpc rpc/rpc*.py install -m 644 -D -t %{buildroot}%{_unitdir} examples/xmm7360.service install -m 644 -D xmm7360.ini.sample %{buildroot}%{_sysconfdir}/xmm7360 %files %doc README.md %{_datadir}/%{name}/rpc/* %{_unitdir}/* %{_sysconfdir}/xmm7360 %changelog * Wed May 15 2024 ignic - 1 - First package