File rtl8168-eeprom.spec of Package rtl8168-eeprom
#
# spec file for package rtl8168-eeprom
#
# Copyright (c) 2022, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: rtl8168-eeprom
Version: 0~git20220516
Release: 0
Summary: EEPROM programming tool for RTL8168/8111E devices
License: GPL-2.0-or-later
Group: Hardware/Other
URL: https://gitea.sysmocom.de/sysmocom/rtl8168-eeprom
#Git-Clone: https://gitea.sysmocom.de/sysmocom/rtl8168-eeprom.git
Source: %{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libpci)
%description
Tool to set MAC address in EEPROM of RTL8168/8111E devices.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
%make_build
%install
install -Dm 0755 rtl8168-eeprom %{buildroot}%{_bindir}/rtl8168-eeprom
%files
%license COPYING
%doc README
%{_bindir}/rtl8168-eeprom
%changelog