From 5e858d4e136b16c7cfbfca0286b8308fa492207b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:43:33 +0100 Subject: [PATCH] package created by autospec [release 1.5-1mamba;Tue Jun 22 2010] --- README.md | 2 ++ tunctl.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 tunctl.spec diff --git a/README.md b/README.md index 50deba3..2f5f3ad 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # tunctl +The tunctl tool for controlling the TUN/TAP driver in Linux. + diff --git a/tunctl.spec b/tunctl.spec new file mode 100644 index 0000000..a4d2281 --- /dev/null +++ b/tunctl.spec @@ -0,0 +1,41 @@ +Name: tunctl +Version: 1.5 +Release: 1mamba +Summary: The tunctl tool for controlling the TUN/TAP driver in Linux +Group: Network/Routing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/tunctl/ +Source: http://downloads.sourceforge.net/project/tunctl/tunctl/%{version}/tunctl-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The tunctl tool for controlling the TUN/TAP driver in Linux. + +%prep +%setup -q + +%build +%make CC=%{_host}-gcc + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sbindir}/tunctl +%{_mandir}/man8/tunctl* +%doc ChangeLog + +%changelog +* Tue Jun 22 2010 Silvan Calarco 1.5-1mamba +- package created by autospec