# # Autofs LAL startup script # # Michel Jouvin # # Summary: openAFS kernel module Name: openafs-kernel-module Version: 1.2.13.ELsmp Vendor: LAL Release: 1 Copyright: http://www.eu-datagrid.org/license.html Group: System Environment/Daemons Source: %{name}-%{version}.tar.gz #BuildArch: i386 BuildRoot: /var/tmp/%{name}-build #BuildRequires: kernel-source openafs-kernel-src Packager: Michel Jouvin #Requires: URL: http://lal.in2p3.fr modulesrc=/usr/src/openafs.... %description openAFS kernel module %prep %setup %build cd /usr/src/openafsxxxx/src ./configure make %install MODULE_DIR=$RPM_BUILD_ROOT/lib/modules/2.4.21-32.0.1.ELsmp/kernel/fs/openafs rm -rf $RPM_BUILD_ROOT mkdir -p $MODULE_DIR #cp $RPM_BUILD_DIR/%{name}-%{version}/openafs.o $MODULE_DIR cp %{modulesrc}/MODULES/libafsxxx.o $MODULE_DIR %post depmod -a %files %defattr(-,root,root) /lib/modules/2.4.21-32.0.1.ELsmp/kernel/fs/openafs/openafs.o %clean rm -rf $RPM_BUILD_ROOT %changelog * Sat Jun 04 2005 Michel Jouvin - Initial version by copying ncm-dirperm --- end of ChangeLog ---