]>
Commit | Line | Data |
---|---|---|
1 | # TODO: decide to use libinet6 or not | |
2 | Summary: Simple tunneling for applications that don't speak IPv6 | |
3 | Summary(pl.UTF-8): Proste narzędzie do tunelowania | |
4 | Name: 6tunnel | |
5 | Version: 0.11 | |
6 | %define _rc rc1 | |
7 | Release: 0.%{_rc}.1 | |
8 | License: GPL | |
9 | Group: Networking/Utilities | |
10 | Source0: http://toxygen.net/6tunnel/%{name}-%{version}%{_rc}.tar.gz | |
11 | # Source0-md5: b325fa9d238e32195fbb3fc3646b0d28 | |
12 | URL: http://toxygen.net/6tunnel/ | |
13 | # probably not needed, but used if found, so BR or BC is needed | |
14 | # to force stable build environment | |
15 | # (should be disabled in configure if not needed) | |
16 | BuildRequires: autoconf | |
17 | BuildRequires: libinet6 | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | If you want to access some services that are avaiable only for IPv6 | |
22 | hosts and the application doesn't support it or you have no time to | |
23 | play with patches, use this tool. Simple `6tunnel 6668 irc6.net 6667' | |
24 | will do :) | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Jeśli chcesz uzyskać dostęp do niektórych usług, dostępnych wyłącznie | |
28 | poprzez IPv6 z aplikacji, która nie wspiera IPv6 możesz użyć tego | |
29 | narzędzia. Np. `6tunnel 6668 irc6.net 6667'. | |
30 | ||
31 | %prep | |
32 | %setup -q -n %{name}-0.11 | |
33 | ||
34 | %build | |
35 | %{__autoconf} | |
36 | %configure | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
42 | ||
43 | install 6tunnel $RPM_BUILD_ROOT%{_bindir} | |
44 | install 6tunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc ChangeLog contrib/cron.sh | |
52 | %attr(755,root,root) %{_bindir}/6tunnel | |
53 | %{_mandir}/man?/* |