]> git.pld-linux.org Git - packages/esh.git/commitdiff
- updated to 0.8,
authorkloczek <kloczek@pld-linux.org>
Fri, 31 Mar 2000 05:09:15 +0000 (05:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- spec adapterized,
- partialy rewrited.

Changed files:
    esh.spec -> 1.2

esh.spec

index fee978cebfed761f3c7dc70b66eae6a4c7b67ae8..c4db5070d443f49185cfcf762c41aea91d87a0fa 100644 (file)
--- a/esh.spec
+++ b/esh.spec
@@ -1,25 +1,20 @@
-%define name esh
-%define version 0.7
-%define release 1
-%define serial 1
-
-Summary: esh, the easy shell.
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Serial: %{serial}
-Copyright: GPL
-Group: Shells
-URL: http://esh.netpedia.net
-Vendor: Ivan Tkatchev <ivantk@yahoo.com>
-Source: %{name}-%{version}.tar.gz
-Distribution: Freshmeat RPMs
-Packager: Ryan Weaver <ryanw@infohwy.com>
-BuildRoot: /tmp/%{name}-%{version}
+Summary:       esh, the easy shell
+Name:          esh
+Version:       0.8
+Release:       1
+License:       GPL
+Group:         Shells
+Group(pl):     Pow³oki
+Vendor:                Ivan Tkatchev <ivantk@yahoo.com>
+Source0:       http://esh.netpedia.net/%{name}-%{version}.tar.gz
+URL:           http://esh.netpedia.net/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _bindir         /bin
 
 %description
-esh was primarily written out of a need for a simple and lightweight
-shell for Unix. As such, it deviates completely from all of the traditional
+esh was primarily written out of a need for a simple and lightweight shell
+for Unix. As such, it deviates completely from all of the traditional
 shells, opting instead for a Lisp-like syntax. This allows exceptionally
 small size, both in terms of lines of code and memory consumption, while
 retaining remarkable flexibility and programmability.
@@ -30,40 +25,27 @@ retaining remarkable flexibility and programmability.
 %build
 make
 
-cp doc/esh.info .; gzip -9 esh.info
-
 %install
-if [ -e $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
+rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/bin
-install -d $RPM_BUILD_ROOT/usr/info
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_infodir}}
 
-install -s -m 755 esh $RPM_BUILD_ROOT/bin
-install    -m 644 esh.info.gz  $RPM_BUILD_ROOT/usr/info
+install -s esh $RPM_BUILD_ROOT%{_bindir}
+install esh.info $RPM_BUILD_ROOT%{_prefix}/info
 
 %post
-/sbin/install-info /usr/info/esh.info.gz /usr/info/dir --entry="* esh: (esh).                 esh, the easy shell."
+/sbin/install-info %{_prefix}/info/esh.info.gz %{_prefix}/info/dir --entry="* esh: (esh).                 esh, the easy shell."
 
 %preun
 if [ $1 = 0 ]; then
-       /sbin/install-info --delete /usr/info/esh.info.gz /usr/info/dir --entry="* esh: (esh).                 esh, the easy shell."
+       /sbin/install-info --delete %{_prefix}/info/esh.info.gz %{_prefix}/info/dir --entry="* esh: (esh).                 esh, the easy shell."
 fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
+%defattr(644,root,root,755)
 %doc doc emacs examples CHANGELOG CREDITS GC_README INSTALL LICENSE READLNE-HACKS TODO
 /bin/esh
-/usr/info/esh.info.gz
-
-%changelog
-* Wed Feb 23 1999 Ryan Weaver <ryanw@infohwy.com>
-  [esh-0.7-1]
-- Initial RPM Build
-- "run" and "run-simple" now return the exit status of the 
-  pipeline if the job was launched in the foreground.
-- "chop!" and "chop-nl!" now return their arguments.
-- Added "begin-last", which is like the "begin" in Scheme.
-- Added the "<" and ">" commands.
+%{_prefix}/info/esh.info.gz
This page took 0.037769 seconds and 4 git commands to generate.