# # Openafs LAL startup script # # Jacquelin Charbonnel # # Summary: OpenAFS LAL startup script Name: openafs-lal Version: 1.0.0 Vendor: LAL Release: 1 Copyright: http://www.eu-datagrid.org/license.html Group: System Environment/Daemons Source: %{name}-%{version}.tar.gz BuildArch: noarch BuildRoot: /var/tmp/%{name}-build Packager: Jacquelin Charbonnel Requires: openafs URL: http://lal.in2p3.fr %description AFS LAL startup script %prep %setup %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d cp $RPM_BUILD_DIR/%{name}-%{version}/openafs-lal $RPM_BUILD_ROOT/etc/rc.d/init.d/openafs-lal %post /sbin/service openafs stop /sbin/chkconfig --del openafs /sbin/chkconfig --add openafs-lal /sbin/service openafs-lal start %files %defattr(-,root,root) /etc/rc.d/init.d/openafs-lal %clean rm -rf $RPM_BUILD_ROOT %changelog * Sat Oct 04 2005 Jacquelin Charbonnel - Initial version by copying ncm-dirperm --- end of ChangeLog ---