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