%define kversion @RELEASE@
%define linuxdir @LINUX@
%define portalsdir @PORTALS@
-Release: 1
+Release: 2
Summary: Lustre Lite File System
Name: lustre-lite
%package -n lustre-modules
Summary: Kernel Lustre drivers for Linux %{kversion}
+Requires: portals-modules
Group: Development/Kernel
%description -n lustre-modules
%files
%attr(-, root, root) %doc COPYING FDL
%attr(-, root, root) %doc doc/master.pdf doc/lustre-HOWTO.txt
-%attr(-, root, root) /usr/bin/directio
-%attr(-, root, root) /usr/bin/fsx
-%attr(-, root, root) /usr/bin/mcreate
-%attr(-, root, root) /usr/bin/obdctl
-%attr(-, root, root) /usr/bin/openme
-%attr(-, root, root) /usr/bin/openunlink
-%attr(-, root, root) /usr/bin/tchmod
-%attr(-, root, root) /usr/bin/toexcl
-%attr(-, root, root) /usr/bin/truncate
-%attr(-, root, root) /usr/bin/writeme
+%attr(-, root, root) /usr/sbin/obdctl
+%attr(-, root, root) /usr/sbin/lctl
+%attr(-, root, root) /usr/sbin/llsetup.sh
+%attr(-, root, root) /usr/sbin/llrsetup.sh
+%attr(-, root, root) /usr/sbin/llcleanup.sh
+%attr(-, root, root) /lib/lustre/common.sh
+%attr(-, root, root) /etc/lustre/lustre.cfg
%files -n lustre-modules
%attr(-, root, root) %doc COPYING
CFLAGS := -g -Wall
# LDADD = -lldap
# LDADD := -lreadline -ltermcap # -lefence
-bin_PROGRAMS = openunlink testreq truncate directio openme writeme mcreate tchmod toexcl fsx #ldaptest
+pkglibdir = @libdir@/lustre
+pkgcfgdir = @sysconfdir@/lustre
+EXTRA_DIST = llsetup.sh llrsetup.sh llcleanup.sh common.sh lustre.cfg
+sbin_SCRIPTS = llsetup.sh llrsetup.sh llcleanup.sh
+pkglib_SCRIPTS = common.sh
+pkgcfg_DATA = lustre.cfg
+noinst_PROGRAMS = openunlink testreq truncate directio openme writeme mcreate tchmod toexcl fsx #ldaptest
# ldaptest_SOURCES = ldaptest.c
tchmod_SOURCES = tchmod.c