%kmdl arc4 Summary: ARC4 Cipher Algorithm Name: arc4 Version: 0.0.0 Release: 3%{?dist} License: GPL2 Group: System Environment/Kernel Source0: arc4.c Source1: Makefile BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %kmdl_parentdependencies %description ARC4 Cipher Algorithm %package -n %kmdl_name %kmdl_dependencies Summary: Kernel module for the ARC4 Cipher Algorithm. Group: System Environment/Kernel %description -n %kmdl_name This package contains kernel drivers for the ARC4 Cipher Algorithm. %kmdl_desc %prep %setup -q -c -T cp -a %{SOURCE0} %{SOURCE1} . %build %if %{kmdl_userland} %else %kmdl_config make -C %{kmdl_kernelsrcdir} SUBDIRS=`pwd` modules %endif %install rm -rf %{buildroot} %if %{kmdl_userland} %else mkdir -p %{buildroot}%{kmdl_moduledir}/crypto/ cp *.o %{buildroot}%{kmdl_moduledir}/crypto/ %endif %clean rm -rf %{buildroot} %post -n %kmdl_name %kmdl_install %postun -n %kmdl_name %kmdl_remove %if %{kmdl_userland} %files %defattr(-,root,root,-) %else %files -n %kmdl_name %defattr(-,root,root,-) %{kmdl_moduledir}/crypto/arc4.*o %endif %changelog * Wed Jul 21 2004 Axel Thimm - Initial build.