From a4f8d358510c268ed7a96bf5856302d3e1781782 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:39:28 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.7.0-1mamba;Sun Feb 15 2015] --- README.md | 2 ++ macchanger.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 macchanger.spec diff --git a/README.md b/README.md index bb9884b..037ca41 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # macchanger +GNU MAC Changer is an utility that makes the maniputation of MAC addresses of network interfaces easier. + diff --git a/macchanger.spec b/macchanger.spec new file mode 100644 index 0000000..a0a0e22 --- /dev/null +++ b/macchanger.spec @@ -0,0 +1,61 @@ +Name: macchanger +Version: 1.7.0 +Release: 1mamba +Summary: An utility that makes the maniputation of MAC addresses of network interfaces easier +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/alobbs/macchanger +## GITSOURCE https://github.com/alobbs/macchanger.git 1.7.0 +Source: https://github.com/alobbs/macchanger.git/%{version}/macchanger-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +Requires(post): %{__install_info} +Requires(preun): %{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GNU MAC Changer is an utility that makes the maniputation of MAC addresses of network interfaces easier. + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +## modify the infopage name as required +%install_info %{name}.info +exit 0 + +%preun +## modify the infopage name as required +%uninstall_info %{name}.info +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/macchanger +%{_infodir}/macchanger.info.gz +%{_datadir}/macchanger/OUI.list +%{_datadir}/macchanger/wireless.list +%{_mandir}/man1/macchanger.1.gz +%doc AUTHORS COPYING + +%changelog +* Sun Feb 15 2015 Silvan Calarco 1.7.0-1mamba +- package created using the webbuild interface