]>
Commit | Line | Data |
---|---|---|
d39efb72 | 1 | # TODO: decide to use libinet6 or not |
d145e963 | 2 | Summary: Simple tunneling for applications that don't speak IPv6 |
65f99e29 | 3 | Summary(pl.UTF-8): Proste narzędzie do tunelowania |
fedb8ddf | 4 | Name: 6tunnel |
369765f1 | 5 | Version: 0.11 |
6dd1afe1 | 6 | %define _rc rc1 |
7 | Release: 0.%{_rc}.1 | |
d145e963 | 8 | License: GPL |
fedb8ddf | 9 | Group: Networking/Utilities |
6dd1afe1 | 10 | Source0: http://toxygen.net/6tunnel/%{name}-%{version}%{_rc}.tar.gz |
bf68afc8 | 11 | # Source0-md5: b325fa9d238e32195fbb3fc3646b0d28 |
13ea5b23 | 12 | URL: http://toxygen.net/6tunnel/ |
d39efb72 JB |
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) | |
c42bb422 | 16 | BuildRequires: autoconf |
d39efb72 | 17 | BuildRequires: libinet6 |
d145e963 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9d820a95 AM |
19 | |
20 | %description | |
98911f3a | 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 :) | |
9d820a95 | 25 | |
65f99e29 JR |
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'. | |
fedb8ddf | 30 | |
9d820a95 | 31 | %prep |
bf68afc8 | 32 | %setup -q -n %{name}-0.11 |
fedb8ddf | 33 | |
9d820a95 | 34 | %build |
83dbefde AG |
35 | %{__autoconf} |
36 | %configure | |
d39efb72 | 37 | %{__make} |
9d820a95 AM |
38 | |
39 | %install | |
fedb8ddf | 40 | rm -rf $RPM_BUILD_ROOT |
d145e963 | 41 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
fedb8ddf | 42 | |
520e7d7e AM |
43 | install 6tunnel $RPM_BUILD_ROOT%{_bindir} |
44 | install 6tunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
9d820a95 AM |
45 | |
46 | %clean | |
fedb8ddf | 47 | rm -rf $RPM_BUILD_ROOT |
9d820a95 AM |
48 | |
49 | %files | |
fedb8ddf | 50 | %defattr(644,root,root,755) |
83dbefde | 51 | %doc ChangeLog contrib/cron.sh |
01af20d9 | 52 | %attr(755,root,root) %{_bindir}/6tunnel |
2ffac7d6 | 53 | %{_mandir}/man?/* |