# Copyright 2018 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # Refer to the README and COPYING files for full details of the license Name: ovirt-lldp-labeler Version: 1.0.1 Release: f8ac69d%{?dist} Summary: The oVirt Link Layer Discovery Protocol labeler License: GPLv2+ BuildArch: noarch URL: https://github.com/almusil/ovirt-lldp-labeler Source0: %{name}-%{version}.tar.gz Requires: python-ovirt-engine-sdk4 >= 4.2.0 BuildRequires: python %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT %make_install %post %systemd_post ovirt-lldp-labeler.timer %preun %systemd_preun ovirt-lldp-labeler.timer %postun %systemd_postun_with_restart ovirt-lldp-labeler.timer %description The oVirt Link Layer Discovery Protocol labeler. %files %config(noreplace) %{_sysconfdir}/ovirt-lldp-labeler %{_datadir}/ovirt-lldp-labeler %{_unitdir}/ovirt-lldp-labeler.timer %{_unitdir}/ovirt-lldp-labeler.service %license LICENSE