diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | mpio.spec.in | 24 |
3 files changed, 25 insertions, 9 deletions
@@ -1,3 +1,11 @@ +2002-11-14 Andreas Buesching <crunchy@tzi.de> + + * tools/mpiologo.c: renamed logotool.c to mpiologo.c + + * mpio.spec.in (): another way to add the kernel module to + the file list; add mpiologo to file list + + 2002-11-13 Markus Germeier <mager@tzi.de> * mpiosh/callback.c (mpiosh_cmd_format): backup and restore diff --git a/configure.in b/configure.in index 4edd5ef..5738bfb 100644 --- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ case "$kernel_version" in esac echo $kernel_version if test "$_k_verc_fail" ; then - echo " Your kernel version is to old." + echo " Your kernel version is too old." echo " Please update your system to a kernel version of 2.2.x or higher." AC_ERROR(too old) fi diff --git a/mpio.spec.in b/mpio.spec.in index a013347..ce87e46 100644 --- a/mpio.spec.in +++ b/mpio.spec.in @@ -2,6 +2,7 @@ %define version @VERSION@ %define release 1 %define name mpio +%define spec_path @SPEC_PATH@ Version: %version Summary: MPIO - providing access to MPIO mp3 players @@ -28,6 +29,19 @@ make %install rm -rf $RPM_BUILD_ROOT +KVERSION=`uname -r` + +echo "%defattr(755,root,root)" > /tmp/mpio-files.lst +echo "%prefix/bin/mpiosh" >> /tmp/mpio-files.lst +echo "%prefix/bin/mpiologo" >> /tmp/mpio-files.lst +echo "%prefix/lib/libmpio*" >> /tmp/mpio-files.lst +echo "%defattr(700,root,root)" >> /tmp/mpio-files.lst +echo "%prefix/sbin/mkmpiodev" >> /tmp/mpio-files.lst +echo "%defattr(644,root,root)" >> /tmp/mpio-files.lst +echo "/lib/modules/$KVERSION/%{spec_path}/mpio.o" >> /tmp/mpio-files.lst +echo "%defattr(640,root,root)" >> /tmp/mpio-files.lst +echo "/etc/mpio/mpioshrc" >> /tmp/mpio-files.lst + make DESTDIR=$RPM_BUILD_ROOT install %post @@ -38,18 +52,12 @@ depmod -a %preun mkmpiodev -r -%files -%defattr(755,root,root) -%prefix/bin/mpiosh -%prefix/lib/libmpio* -%defattr(700,root,root) -%prefix/sbin/mkmpiodev -%defattr(644,root,root) -/lib/modules/*/@SPEC_PATH@/mpio.o +%files -f /tmp/mpio-files.lst %doc COPYING ChangeLog INSTALL NEWS %doc README TODO %clean rm -rf $RPM_BUILD_ROOT +rm -f /tmp/mpio-files.lst |