From 13738a70096a73b8db180d5801f42ff2e35b5444 Mon Sep 17 00:00:00 2001 From: zergin Date: Wed, 11 May 2005 23:40:08 +0000 Subject: [PATCH] - import release based on .spec from source tarball Changed files: aiccu.spec -> 1.1 --- aiccu.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 aiccu.spec diff --git a/aiccu.spec b/aiccu.spec new file mode 100644 index 0000000..ec6029c --- /dev/null +++ b/aiccu.spec @@ -0,0 +1,62 @@ +Summary: AICCU - SixXS Automatic IPv6 Connectivity Client Utility +Summary(pl): AICCU - Klient automatycznych po³±czeñ IPv6 z SixXS +Name: aiccu +Version: 2005.01.31 +Release: 0.2 +License: GPL +Group: Networking/Utilities +URL: http://www.sixxs.net/tools/aiccu/ +Vendor: SixXS +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Source0: %{name}_%{version}.tar.gz +Patch0: %{name}-makefile.diff +Requires: iproute2 +Requires(post,preun): chkconfig + +%description +This client automatically gives one IPv6 connectivity without having +to manually configure interfaces etc. One does need a SixXS account +and at least a tunnel. These can be freely & gratis requested from the +SixXS website. For more information about SixXS check +http://www.sixxs.net + +%description -l pl +Ten klient automatycznie pozwala na stworzenie po³±czenia IPv6 bez +konieczno¶ci rêcznej konfiguracji interfejsów itp. Potrzeba do tego +konta w serwisie SixXS oraz conajmniej tunelu. Mog± one byæ uzyskane +na stronie SixXS http://www.sixx.net, któr± odwied¼ w celu uzyskania +szczegó³ów. + +%prep +%setup -q -n %{name} +%patch0 -p1 + +%build +%{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%post +#if [ "$1" = "1" ]; then +# chkconfig --add aiccu +#fi + +%preun +#if [ "$1" = "0" ]; then +# service aiccu stop >/dev/null 2>&1 +# /sbin/chkconfig --del aiccu +#fi + +%clean +make clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(600, root, root) %{_sysconfdir}/aiccu.conf +%doc doc/README doc/LICENSE +%attr(755,root,root) %{_sbindir}/aiccu +%config %{_sysconfdir}/aiccu.conf +%attr(754,root,root) %config /etc/rc.d/init.d/aiccu -- 2.44.0