summaryrefslogtreecommitdiff
path: root/rc.spec
blob: 337964c2ee4fb0115e8601655d1a07c383db8589 (plain)
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
%define name rc
%define version 1.7.1
%define release 1

Summary:	rc - the Plan 9 and Tenth Edition shell
Name:	%name
Version:	%version
Release:	%release
Group:	Shells
License:	distributable
Source0:	http://www.libra-aries-books.co.uk/software/rc/release/%name-%version.tar.gz
Buildroot:	/var/tmp/%{name}-rpmroot

%description
This is a reimplementation for Unix, by Byron Rakitzis, of the Plan 9
shell. rc offers much the same capabilities as a traditional Bourne
shell, but with a much cleaner syntax.

%prep
%setup

%build
sh configure --with-readline --prefix "$RPM_BUILD_ROOT" --mandir "$RPM_BUILD_ROOT/usr/share/man"
make

%install
make install

%files
/bin/rc
/usr/share/man/man1/rc.1.gz