]> git.pld-linux.org Git - packages/aiccu.git/blob - aiccu.spec
- release 2
[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:        2
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 URL:            http://www.sixxs.net/tools/aiccu/
14 Requires(post,preun):   /sbin/chkconfig
15 Requires:       gnutls
16 Requires:       iproute2
17 BuildRequires:  gnutls-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This client automatically gives one IPv6 connectivity without having
22 to manually configure interfaces etc. One does need a SixXS account
23 and at least a tunnel. These can be freely & gratis requested from the
24 SixXS website. For more information about SixXS check
25 <http://www.sixxs.net/>.
26
27 %description -l pl.UTF-8
28 Ten klient automatycznie pozwala na stworzenie połączenia IPv6 bez
29 konieczności ręcznej konfiguracji interfejsów itp. Potrzeba do tego
30 konta w serwisie SixXS oraz co najmniej tunelu. Mogą one być uzyskane
31 na stronie SixXS <http://www.sixx.net/>, na której można znaleźć
32 więcej szczegółów.
33
34 %prep
35 %setup -q -n %{name}
36 %patch0 -p1
37
38 %build
39 %{__make} \
40         RPM_OPT_FLAGS="%{rpmcflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post
52 #if [ "$1" = "1" ]; then
53 #       /sbin/chkconfig --add aiccu
54 #fi
55
56 %preun
57 #if [ "$1" = "0" ]; then
58 #       /etc/rc.d/init.d/aiccu stop >/dev/null 2>&1
59 #       /sbin/chkconfig --del aiccu
60 #fi
61
62 %files
63 %defattr(644,root,root,755)
64 %doc doc/README doc/LICENSE
65 %attr(755,root,root) %{_sbindir}/aiccu
66 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aiccu.conf
67 %attr(754,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/rc.d/init.d/aiccu
This page took 0.071437 seconds and 3 git commands to generate.