hopefully this is the end of trouble with install script (some workaround)
authorqwark <bob@pozyton.net.pl>
Wed, 17 Oct 2001 07:30:46 +0000 (07:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tf.spec -> 1.2

tf.spec

diff --git a/tf.spec b/tf.spec
index 0cb8f397292521f3f66bae7ce2c3f024ca94f7ef..8be64c7b0f8ece77779a50850f90160194818533 100644 (file)
--- a/tf.spec
+++ b/tf.spec
@@ -49,36 +49,47 @@ mkdir $RPM_BUILD_ROOT
 mkdir $RPM_BUILD_ROOT/usr
 mkdir $RPM_BUILD_ROOT/usr/bin
 mkdir $RPM_BUILD_ROOT/usr/share
+mkdir $RPM_BUILD_ROOT/usr/share/%name-%version 
 export T_BIN="$RPM_BUILD_ROOT/usr/bin"
 export T_SHARE="$RPM_BUILD_ROOT/usr/share"
-ans=y sh unixmake reconfigure
-sh unixmake install
-#cd /$RPM_BUILD_ROOT/usr/share/doc/tf-${TFVER}
+cp $RPM_BUILD_DIR/%name-%version/src/tf  $RPM_BUILD_ROOT/usr/bin/%name-%version
+cp $RPM_BUILD_DIR/%name-%version/tf-lib/*  $RPM_BUILD_ROOT/usr/share/%name-%version/
 gzip -9nf CHANGES COPYING CREDITS README
-#cd $RPM_BUILD_ROOT/usr/bin/
+cd $RPM_BUILD_ROOT/usr/bin/
+ln -s %name-%version %name
+cd $RPM_BUILD_ROOT/usr/share/%name-%version
+ln -s kb-bash.tf bind-bash.tf
+ln -s kd-emacs.tf bind-emacs.tf
+ln -s complete.tf completion.tf
+ln -s factoral.tf factorial.tf
+ln -s filexfer.tf file-xfer.tf
+ln -s local.eg.tf local.tf.sample
+ln -s psh.tf pref-shell.tf
+ln -s spc-page.tf space_page.tf
+ln -s spedwalk.tf speedwalk.tf
+ln -s stack-q.tf stack-queue.tf
+ln -s world-q.tf worldqueue.tf
 %clean
 sh unixmake clean
 
-%post
-cd /usr/bin
-ln -s ./%name-%version ./tf
-
-%postun 
-rm /usr/bin/tf
-
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) /usr/bin/%name-%version
+%attr(755,root,root) /usr/bin/%name
 /usr/share/%name-%version
 %doc *.gz
-#%doc CHANGES COPYING CREDITS README
 
 %changelog                                                                      
 * %{date} PLD Team <pld-list@pld.org.pl>                                        
 All persons listed below can be reached at <cvs_login>@pld.org.pl
 
 $Log: tf.spec,v $
-Revision 1.1  2001-10-16 21:50:43  qwark
+Revision 1.2  2001-10-17 07:30:46  qwark
+hopefully  this is the end of trouble with install script (some workaround)
+
+Revision 1.2  2001/10/17 09:30:43  qwark
+
+Revision 1.1  2001/10/16 21:50:43  qwark
 it's itial relase after some troubles with tf install script
  Added Files:
        tf.spec
This page took 0.069691 seconds and 4 git commands to generate.