summaryrefslogtreecommitdiff
path: root/6tunnel.spec
blob: 81798dd34dcef04df9aa6314bf7f9da8d3649ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Summary:	Simple tunneling for applications that don't speak IPv6
Summary(pl):	Proste narzędzie do tunelowania
Name:		6tunnel
Version:	0.04
Release:	1
License:	GPL
Group:		Networking/Utilities
Group(pl):	Sieciowe/Narzędzia
Source0:	ftp://bzium.eu.org/pub/%{name}-%{version}.tar.gz
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 :)

%description -l pl
Jeśli chcesz uzyskać dostęp do niektórych usług, dostępnych wyłącznie
poprzez IPv6 z aplikacji, która nie wspiera IPv6 możesz użyć tego
narzędzia. Np. `6tunnel 6668 irc6.net 6667'.

%prep
%setup -q -n %{name}

%build
%{__make} CC="gcc $RPM_OPT_FLAGS -Wall"

%install
rm -rf $RPM_BUILD_ROOT
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*/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/6tunnel
%{_mandir}/man1/*