]> git.pld-linux.org Git - packages/aiccu.git/blob - aiccu.spec
- add various fixes from debian
[packages/aiccu.git] / aiccu.spec
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         _fileversion    20070115
6 Release:        3
7 License:        BSD
8 Vendor:         SixXS
9 Group:          Networking/Utilities
10 Source0:        http://www.sixxs.net/archive/sixxs/aiccu/unix/%{name}_%{_fileversion}.tar.gz
11 # Source0-md5:  c9bcc83644ed788e22a7c3f3d4021350
12 Patch0:         %{name}-makefile.diff
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
24 URL:            http://www.sixxs.net/tools/aiccu/
25 Requires(post,preun):   /sbin/chkconfig
26 Requires:       gnutls
27 Requires:       iproute2
28 BuildRequires:  gnutls-devel
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
36 <http://www.sixxs.net/>.
37
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.
44
45 %prep
46 %setup -q -n %{name}
47 %patch0 -p1
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
59
60 %build
61 %{__make} \
62         RPM_OPT_FLAGS="%{rpmcflags}"
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 #if [ "$1" = "1" ]; then
75 #       /sbin/chkconfig --add aiccu
76 #fi
77
78 %preun
79 #if [ "$1" = "0" ]; then
80 #       /etc/rc.d/init.d/aiccu stop >/dev/null 2>&1
81 #       /sbin/chkconfig --del aiccu
82 #fi
83
84 %files
85 %defattr(644,root,root,755)
86 %doc doc/README doc/LICENSE
87 %attr(755,root,root) %{_sbindir}/aiccu
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
This page took 0.087726 seconds and 3 git commands to generate.