File: wcd-3.2.0-1.spec

package info (click to toggle)
wcd 3.2.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 804 kB
  • ctags: 640
  • sloc: ansic: 8,260; makefile: 43; sh: 6; csh: 1
file content (47 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Summary: chdir for DOS and Unix
Name: wcd
Version: 3.2.0
Release: 1
Copyright: GPL
Group: Applications/File
Source: wcd-3.2.0-src.tar.gz
URL: http://www.xs4all.nl/~waterlan/
Packager: Erwin Waterlander <waterlan@xs4all.nl>

%description
Wcd.   Directory changer for DOS and Unix.  Another Norton
Change Directory (NCD) clone with more features.

Wcd is a program to change directory fast. It  saves  time
typing at the keyboard. One needs to type only a part of a
directory name and wcd will jump to it.  Wcd  has  a  fast
selection  method  in  case of multiple matches and allows
aliasing and banning of directories. Wcd also  includes  a
full-screen   interactive  directory  browser  with  speed
search.

%prep
%setup

%build
#make
make -f Makefile.ncurses.gcc

%install
install -s -m 755 -o 0 -g 0 wcd.exe /usr/bin/wcd.exe
install -m 644 -o 0 -g 0 wcd.1 /usr/share/man/man1

%post
if ! /bin/grep "function wcd" /etc/bashrc > /dev/null ; then
 echo "function wcd"          >> /etc/bashrc
 echo "{"                       >> /etc/bashrc
 echo "   /usr/bin/wcd.exe \$*" >> /etc/bashrc
 echo "   . \$HOME/bin/wcd.go"  >> /etc/bashrc
 echo "}"                       >> /etc/bashrc ; 
fi

%files
%doc wcd.txt copying.txt dosdir.txt whatsnew.txt faq.txt README wcd.ps wcd.pdf
/usr/bin/wcd.exe
/usr/share/man/man1/wcd.1