# See the file COPYING in this distribution
# Automake variables. Steal the version number from lustre.spec.in.
-AM_INIT_AUTOMAKE(obd, builtin([esyscmd], [sed -ne '/^%define version /{ s/.*version //; p; q; }' scripts/lustre.spec.in]))
+AM_INIT_AUTOMAKE(lustre, builtin([esyscmd], [sed -ne '/^%define version /{ s/.*version //; p; q; }' scripts/lustre.spec.in]))
#AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_RANLIB
* by Peter Braam <braam@clusterfs.com>
*/
+static char rcsid[] __attribute ((unused)) = "$Id: echo.c,v 1.17 2002/07/05 20:05:27 rread Exp $";
+#define OBDECHO_VERSION "$Revision: 1.17 $"
+
#define EXPORT_SYMTAB
#include <linux/version.h>
o_commitrw: echo_commitrw,
};
-#define OBDECHO_VERSION "$Revision: 1.16 $"
-
static int __init obdecho_init(void)
{
printk(KERN_INFO "Echo OBD driver " OBDECHO_VERSION " info@clusterfs.com\n");
-# obd.spec
+# lustre.spec
%define version 0.3.2.1
%define kversion @RELEASE@
%define linuxdir @LINUX@
Group: Utilities/System
Requires: lustre-modules, libxml2
BuildRoot: /var/tmp/obd-%{version}-root
-Source: ftp://ftp.lustre.com/pub/lustre/obd-%{version}.tar.gz
+Source: ftp://ftp.lustre.com/pub/lustre/lustre-%{version}.tar.gz
%description
The Lustre Lite Cluster File System: kernel drivers for file system,
Lustre Lite Source for further development
%prep
-%setup -n obd-%{version}
+%setup -n lustre-%{version}
%build
rm -rf $RPM_BUILD_ROOT
%files
%attr(-, root, root) %doc COPYING FDL
-%attr(-, root, root) %doc doc/master.pdf doc/lustre-HOWTO.txt
+%attr(-, root, root) %doc doc/lustre.pdf doc/lustre-HOWTO.txt
%attr(-, root, root) /usr/sbin/obdctl
%attr(-, root, root) /usr/sbin/lctl
%attr(-, root, root) /usr/sbin/llsetup.sh
CFLAGS := -g -Wall
# LDADD = -lldap
# LDADD := -lreadline -ltermcap # -lefence
-pkglibdir = @libdir@/lustre
-pkgcfgdir = @sysconfdir@/lustre
+pkglibdir = @libdir@/$(PACKAGE)
+pkgcfgdir = @sysconfdir@/$(PACKAGE)
EXTRA_DIST = llsetup.sh llrsetup.sh llcleanup.sh common.sh lustre.cfg
sbin_SCRIPTS = llsetup.sh llrsetup.sh llcleanup.sh
pkglib_SCRIPTS = common.sh