File fetch-ethercodes.spec of Package fetch-ethercodes

# spec file for package fetch-ethercodes
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 LISA GmbH, Bingen, Germany.
# 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

Name:           fetch-ethercodes
Version:        0.5
Release:        0
License:        MIT
Summary:        Fetch and generate ethercodes data for arpwatch
Group:          Productivity/Networking/Diagnostic
Source:         %{name}-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  python3 >= 3.3
BuildRequires:  python3-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Fetch current IEEE MA-L Assignments file (oui.csv) from,
and generate ethercodes.dat for arpwatch consumption.

%setup -q

python3 build

python3 install --prefix=%{_prefix} --root=%{buildroot}

%doc LICENSE.txt