]> git.pld-linux.org Git - packages/esh.git/blobdiff - esh.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/esh.git] / esh.spec
index c4db5070d443f49185cfcf762c41aea91d87a0fa..814034164a8d4c8ecd7a2d246585b2809013afbc 100644 (file)
--- a/esh.spec
+++ b/esh.spec
@@ -1,51 +1,60 @@
 Summary:       esh, the easy shell
+Summary(pl.UTF-8):     esh - prosta powłoka
 Name:          esh
-Version:       0.8
+Version:       0.8.5
 Release:       1
 License:       GPL
-Group:         Shells
-Group(pl):     Pow³oki
+Group:         Applications/Shells
 Vendor:                Ivan Tkatchev <ivantk@yahoo.com>
-Source0:       http://esh.netpedia.net/%{name}-%{version}.tar.gz
-URL:           http://esh.netpedia.net/
+#Source0:      http://esh.netpedia.net/%{name}-%{version}.tar.gz
+Source0:       %{name}-%{version}.tar.gz
+# Source0-md5: ab8dc77db3eb7aa5b1097336a91cdd39
+#URL:          http://esh.netpedia.net/
+BuildRequires: readline-devel
 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
-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.
+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.
+
+%description -l pl.UTF-8
+esh został napisany w pierwszej kolejności z potrzeby posiadania
+prostej i małej powłoki uniksowej. Jako taki różni się od wszystkich
+innych powłok, przyjmując składnię podobną do Lispa. To pozwala na
+uzyskać wyjątkowo małe rozmiary, w rozmiarach kodu jak i w zużyciu
+pamięci przy zachowaniu dużej elastyczności i programowalności.
 
 %prep
 %setup -q -n esh
 
 %build
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_infodir}}
 
-install -s esh $RPM_BUILD_ROOT%{_bindir}
-install esh.info $RPM_BUILD_ROOT%{_prefix}/info
+install esh $RPM_BUILD_ROOT%{_bindir}
+install doc/esh.info $RPM_BUILD_ROOT%{_infodir}
 
-%post
-/sbin/install-info %{_prefix}/info/esh.info.gz %{_prefix}/info/dir --entry="* esh: (esh).                 esh, the easy shell."
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%preun
-if [ $1 = 0 ]; then
-       /sbin/install-info --delete %{_prefix}/info/esh.info.gz %{_prefix}/info/dir --entry="* esh: (esh).                 esh, the easy shell."
-fi
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc emacs examples CHANGELOG CREDITS GC_README INSTALL LICENSE READLNE-HACKS TODO
-/bin/esh
-%{_prefix}/info/esh.info.gz
+%doc CHANGELOG CREDITS GC_README INSTALL READLNE-HACKS TODO doc/*.html emacs examples
+%attr(755,root,root) %{_bindir}/esh
+%{_infodir}/esh.info*
This page took 0.066131 seconds and 4 git commands to generate.