Whamcloud - gitweb
- change PACKAGE to lustre
[fs/lustre-release.git] / lustre / scripts / lustre.spec.in
index bb67b7a..b5810f4 100644 (file)
@@ -1,9 +1,9 @@
-# obd.spec
+# lustre.spec
 %define version 0.3.2.1
 %define kversion @RELEASE@
 %define linuxdir @LINUX@
 %define portalsdir @PORTALS@
-Release: 1
+Release: 2
 
 Summary: Lustre Lite File System
 Name: lustre-lite
@@ -12,7 +12,7 @@ Copyright: GPL
 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,
@@ -20,6 +20,7 @@ servers and utilities.
 
 %package -n lustre-modules
 Summary: Kernel Lustre drivers for Linux %{kversion}
+Requires: portals-modules
 Group: Development/Kernel
 
 %description -n lustre-modules
@@ -33,7 +34,7 @@ Group: Development/Kernel
 Lustre Lite Source for further development
 
 %prep
-%setup -n obd-%{version}
+%setup -n lustre-%{version}
 
 %build
 rm -rf $RPM_BUILD_ROOT
@@ -54,17 +55,14 @@ find . -print | cpio -ap  $RPM_BUILD_ROOT/usr/src/obd-%{version}
 
 %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) %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
+%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