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