summaryrefslogtreecommitdiff
path: root/rc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rc.spec')
-rw-r--r--rc.spec31
1 files changed, 31 insertions, 0 deletions
diff --git a/rc.spec b/rc.spec
new file mode 100644
index 0000000..337964c
--- /dev/null
+++ b/rc.spec
@@ -0,0 +1,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