%define name nstx %define version 1.1 %define beta beta6 %define release 0.%{beta}.1mdk Name: %{name} Version: %{version} Release: %{release} Summary: Nameserver Transfer Protocol Group: Networking/Other License: GPL URL: http://nstx.dereference.de/nstx/ Source: http://nstx.dereference.de/nstx/%{name}-%{version}-%{beta}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %description NSTX (the Nameserver Transfer Protocol) makes it possible to create IP tunnels using DNS queries and replies for IP packet encapsulation where IP traffic other than DNS isn't possible. %prep %setup -n %{name}-%{version}-%{beta} %build %make CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT install -d -m 755 %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_sbindir} install -m 755 nstxcd %{buildroot}%{_bindir} install -m 755 nstxd %{buildroot}%{_sbindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README COPYING Changelog %{_bindir}/nstxcd %{_sbindir}/nstxd %changelog * Fri Mar 11 2005 Guillaume Rousse <guillomovitch@mandrake.org> 1.1-0.beta6.1mdk - first mdk release