Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:microchip8
spoofmac
spoofmac.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spoofmac.spec of Package spoofmac
# # spec file for package spoofmac # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, 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 http://bugs.opensuse.org/ # Name: spoofmac Version: 1.0.1 Release: 0 Summary: Spoof network interface MAC addresses License: GPL-2.0+ Group: Hardware URL: https://build.opensuse.org/package/show/home:microchip8/spoofmac Source0: %{name}-%{version}.tar.gz Requires: iproute2 BuildRequires: pkgconfig(systemd) %{?systemd_requires} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description spoofmac is a small script that can spoof the MAC address of network interfaces (NICs). %prep %setup -q %build %install install -D -m 755 %{name} %{buildroot}/%{_sbindir}/%{name} install -D -m 644 %{name}.service %{buildroot}/%{_unitdir}/%{name}.service ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} install -D -m 644 %{name}.conf %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf install -d -m 755 %{buildroot}/%{_sysconfdir}/%{name}/hwmac %pre %service_add_pre %{name}.service %post %service_add_post %{name}.service %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %defattr(-,root,root) %{_sbindir}/* %{_unitdir}/* %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/hwmac %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %doc README LICENSE AUTHORS ChangeLog %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor