File: pdmenu.spec

package info (click to toggle)
pdmenu 1.2.89
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 824 kB
  • ctags: 242
  • sloc: sh: 2,972; ansic: 2,028; makefile: 131; perl: 58
file content (44 lines) | stat: -rw-r--r-- 1,130 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
Summary: A simple text-based menu program
Name: pdmenu
Packager: jeff.covey@pobox.com
Version: 1.2.89
Release: 1
Url: http://kitenet.net/programs/pdmenu/
Source: ftp://kitenet.net/pub/code/pdmenu/pdmenu_1.2.89.tar.gz
Copyright: GPL
Group: Shells/Menus
Buildroot: /tmp
Requires: gpm, slang >= 0.99.34

%description
A simple full screen menu program, intended to be a comfortable
login shell for inexperienced users.

%prep
%setup -n pdmenu
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man

%build
make

%install
make INSTALL_PREFIX=$RPM_BUILD_ROOT install

install examples/newbie/modem-check examples/newbie/rpm-info-on-command \
    /tmp/usr/lib/pdmenu

# What a hack.
cp -a examples redhat/examples
rm -f redhat/examples/*.in
rm -f redhat/examples/newbie/*.in
rm -f redhat/examples/newbie/modem-check 
rm -f redhat/examples/newbie/rpm-info-on-command
rm -f redhat/examples/editdir.pl redhat/examples/showdir.pl

%files
%config /etc/pdmenurc
/usr/bin/pdmenu
/usr/share/man/man1/pdmenu.1
/usr/share/man/man5/pdmenurc.5
/usr/lib/pdmenu
%doc README doc/BUGS doc/TODO doc/ANNOUNCE debian/changelog redhat/examples