]> git.pld-linux.org Git - packages/aiccu.git/blame - aiccu.spec
- add various fixes from debian
[packages/aiccu.git] / aiccu.spec
CommitLineData
13738a70 1Summary: AICCU - SixXS Automatic IPv6 Connectivity Client Utility
5f17c48c 2Summary(pl.UTF-8): AICCU - Klient automatycznych połączeń IPv6 z SixXS
13738a70 3Name: aiccu
6eb70a5e 4Version: 2007.01.15
5%define _fileversion 20070115
3ed092f9 6Release: 3
6eb70a5e 7License: BSD
13738a70 8Vendor: SixXS
29bd2f2b 9Group: Networking/Utilities
6eb70a5e 10Source0: http://www.sixxs.net/archive/sixxs/aiccu/unix/%{name}_%{_fileversion}.tar.gz
11# Source0-md5: c9bcc83644ed788e22a7c3f3d4021350
13738a70 12Patch0: %{name}-makefile.diff
3ed092f9
JR
13Patch1: 02_skip-strip.patch
14Patch2: 03_no-quiet-gcc.patch
15Patch3: 05_spelling-error.patch
16Patch4: 06_syslog_openlog.patch
17Patch5: 07_allow_tunnels.patch
18Patch6: 08_setup_script.patch
19Patch7: 09_binutils_gold.patch
20Patch8: 10_gnutls34.patch
21Patch9: 11_gnutls-cleanup.patch
22Patch10: 12_memset-sizeof.patch
23Patch11: 13_autotest_description.patch
29bd2f2b
JB
24URL: http://www.sixxs.net/tools/aiccu/
25Requires(post,preun): /sbin/chkconfig
6eb70a5e 26Requires: gnutls
13738a70 27Requires: iproute2
6eb70a5e 28BuildRequires: gnutls-devel
29bd2f2b 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13738a70 30
31%description
32This client automatically gives one IPv6 connectivity without having
33to manually configure interfaces etc. One does need a SixXS account
34and at least a tunnel. These can be freely & gratis requested from the
35SixXS website. For more information about SixXS check
29bd2f2b 36<http://www.sixxs.net/>.
13738a70 37
678b9dbe
JR
38%description -l pl.UTF-8
39Ten klient automatycznie pozwala na stworzenie połączenia IPv6 bez
40konieczności ręcznej konfiguracji interfejsów itp. Potrzeba do tego
41konta w serwisie SixXS oraz co najmniej tunelu. Mogą one być uzyskane
42na stronie SixXS <http://www.sixx.net/>, na której można znaleźć
43wię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
65rm -rf $RPM_BUILD_ROOT
29bd2f2b
JB
66
67%{__make} install \
68 DESTDIR=$RPM_BUILD_ROOT
69
70%clean
71rm -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
This page took 0.08714 seconds and 4 git commands to generate.