+Summary: Simple tunneling for applications that don't speak IPv6
+Summary(pl): Proste narzêdzie do tunelowania
Name: 6tunnel
-Version: 0.04
+Version: 0.07
Release: 1
+License: GPL
Group: Networking/Utilities
+Group(de): Netzwerkwesen/Werkzeuge
Group(pl): Sieciowe/Narzêdzia
-License: GPL
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Source0: ftp://bzium.eu.org/pub/%{name}-%{version}.tar.gz
-Summary: Simple tunneling for applications that don't speak IPv6.
-Summary(pl): Proste narzêdzie do tunelowania.
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-If you want to access some services that are avaiable only for IPv6 hosts
-and the application doesn't support it or you have no time to play with
-patches, use this tool. Simple `6tunnel 6668 irc6.net 6667' will do :)
+If you want to access some services that are avaiable only for IPv6
+hosts and the application doesn't support it or you have no time to
+play with patches, use this tool. Simple `6tunnel 6668 irc6.net 6667'
+will do :)
%description -l pl
Je¶li chcesz uzyskaæ dostêp do niektórych us³ug, dostêpnych wy³±cznie
%setup -q -n %{name}
%build
-make CC="gcc $RPM_OPT_FLAGS -Wall"
+%{__make} CC="gcc %{rpmcflags} -Wall"
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install -s 6tunnel $RPM_BUILD_ROOT%{_bindir}
-install 6tunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/*
+install 6tunnel $RPM_BUILD_ROOT%{_bindir}
+install 6tunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/6tunnel
-%{_mandir}/man1/6tunnel.*
+%{_mandir}/man1/*