File shish.spec of Package shish

Name: shish
Version: 0.7
%define pre -pre3
Release: 0.1
Summary: Small and fast as possible shell
License: GPL-2.0
Group: System/Shells
URL: https://github.com/rsenn/%name
Source: %url/%name-%version%pre.tar.gz

BuildRequires: autoconf automake

%description
%name aims to be a small and fast as possible shell.
It also aims at more or less conforming to the IEEE P1003 draft for POSIX
compatible shells by version 1.0, after that it will stay a minimal POSIX shell
in the default configuration but it will be extendable by compile-time switches
and possibly loadable modules.
This implementation avoids stdio and format string bloat by using libowfat by
Felix von Leitner (see lib/README) and using as few libc as possible, except for
the (mostly POSIX) syscall wrappers.


%prep
%setup -q -n %name-%version%pre
sed -i '/^[[:blank:]].*\$(PROGRAM)/s/\$^/$(PREADD) & $(POSTADD)/' build.mk.in
sed -i 's|@slibdir@|/%_lib|;s|@plugindir@|%_libdir/%name|' config.mk.in


%build
./autogen.sh
%configure \
	CC="%__cc" \
	--without-dietlibc \
	--disable-debug \
	--disable-quiet
make


%install
%make_install


%files
%doc AUTHORS BUGS ChangeLog README TODO
%_bindir/*


%changelog
openSUSE Build Service is sponsored by