]>
Commit | Line | Data |
---|---|---|
13738a70 | 1 | Summary: AICCU - SixXS Automatic IPv6 Connectivity Client Utility |
5f17c48c | 2 | Summary(pl.UTF-8): AICCU - Klient automatycznych połączeń IPv6 z SixXS |
13738a70 | 3 | Name: aiccu |
6eb70a5e | 4 | Version: 2007.01.15 |
5 | %define _fileversion 20070115 | |
3ed092f9 | 6 | Release: 3 |
6eb70a5e | 7 | License: BSD |
13738a70 | 8 | Vendor: SixXS |
29bd2f2b | 9 | Group: Networking/Utilities |
6eb70a5e | 10 | Source0: http://www.sixxs.net/archive/sixxs/aiccu/unix/%{name}_%{_fileversion}.tar.gz |
11 | # Source0-md5: c9bcc83644ed788e22a7c3f3d4021350 | |
13738a70 | 12 | Patch0: %{name}-makefile.diff |
3ed092f9 JR |
13 | Patch1: 02_skip-strip.patch |
14 | Patch2: 03_no-quiet-gcc.patch | |
15 | Patch3: 05_spelling-error.patch | |
16 | Patch4: 06_syslog_openlog.patch | |
17 | Patch5: 07_allow_tunnels.patch | |
18 | Patch6: 08_setup_script.patch | |
19 | Patch7: 09_binutils_gold.patch | |
20 | Patch8: 10_gnutls34.patch | |
21 | Patch9: 11_gnutls-cleanup.patch | |
22 | Patch10: 12_memset-sizeof.patch | |
23 | Patch11: 13_autotest_description.patch | |
29bd2f2b JB |
24 | URL: http://www.sixxs.net/tools/aiccu/ |
25 | Requires(post,preun): /sbin/chkconfig | |
6eb70a5e | 26 | Requires: gnutls |
13738a70 | 27 | Requires: iproute2 |
6eb70a5e | 28 | BuildRequires: gnutls-devel |
29bd2f2b | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13738a70 | 30 | |
31 | %description | |
32 | This client automatically gives one IPv6 connectivity without having | |
33 | to manually configure interfaces etc. One does need a SixXS account | |
34 | and at least a tunnel. These can be freely & gratis requested from the | |
35 | SixXS website. For more information about SixXS check | |
29bd2f2b | 36 | <http://www.sixxs.net/>. |
13738a70 | 37 | |
678b9dbe JR |
38 | %description -l pl.UTF-8 |
39 | Ten klient automatycznie pozwala na stworzenie połączenia IPv6 bez | |
40 | konieczności ręcznej konfiguracji interfejsów itp. Potrzeba do tego | |
41 | konta w serwisie SixXS oraz co najmniej tunelu. Mogą one być uzyskane | |
42 | na stronie SixXS <http://www.sixx.net/>, na której można znaleźć | |
43 | więcej szczegółów. | |
13738a70 | 44 | |
45 | %prep | |
46 | %setup -q -n %{name} | |
47 | %patch0 -p1 | |
3ed092f9 JR |
48 | %patch1 -p1 |
49 | %patch2 -p1 | |
50 | %patch3 -p1 | |
51 | %patch4 -p1 | |
52 | %patch5 -p1 | |
53 | %patch6 -p1 | |
54 | %patch7 -p1 | |
55 | %patch8 -p1 | |
56 | %patch9 -p1 | |
57 | %patch10 -p1 | |
58 | %patch11 -p1 | |
13738a70 | 59 | |
60 | %build | |
29bd2f2b JB |
61 | %{__make} \ |
62 | RPM_OPT_FLAGS="%{rpmcflags}" | |
13738a70 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
29bd2f2b JB |
66 | |
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
13738a70 | 72 | |
73 | %post | |
74 | #if [ "$1" = "1" ]; then | |
29bd2f2b | 75 | # /sbin/chkconfig --add aiccu |
13738a70 | 76 | #fi |
77 | ||
78 | %preun | |
79 | #if [ "$1" = "0" ]; then | |
29bd2f2b | 80 | # /etc/rc.d/init.d/aiccu stop >/dev/null 2>&1 |
13738a70 | 81 | # /sbin/chkconfig --del aiccu |
82 | #fi | |
83 | ||
13738a70 | 84 | %files |
85 | %defattr(644,root,root,755) | |
13738a70 | 86 | %doc doc/README doc/LICENSE |
87 | %attr(755,root,root) %{_sbindir}/aiccu | |
29bd2f2b JB |
88 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aiccu.conf |
89 | %attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/rc.d/init.d/aiccu |