diff --git a/README.md b/README.md index 51223c3..5d97cc3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # bar +This is a small shell script intended to be used in portable Unix install scripts for showing progress bars. +The overall goal is to write a minimally complex shell script (thus a program that needs no compilation) that is as robust as possible to work on as many Bourne shells and operating systems as possible, and that implements ‘cat’ with an ASCII progress bar and some other nifty features. +This is pure Bourne shell code. (For sh, ash, ksh, zsh, bash, ...) +The script is mainly intended to be used in portable install scripts, where you can use the body of the script. + diff --git a/bar.spec b/bar.spec new file mode 100644 index 0000000..0956819 --- /dev/null +++ b/bar.spec @@ -0,0 +1,40 @@ +### AUTOUPDATE-OFF: 9 +Name: bar +Version: 1.4 +Release: 1mamba +Summary: A small shell script intended to be used in portable Unix install scripts for showing progress bars +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.theiling.de/projects/bar.html +Source: http://www.theiling.de/downloads/bar-%{version}-src.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This is a small shell script intended to be used in portable Unix install scripts for showing progress bars. +The overall goal is to write a minimally complex shell script (thus a program that needs no compilation) that is as robust as possible to work on as many Bourne shells and operating systems as possible, and that implements ‘cat’ with an ASCII progress bar and some other nifty features. +This is pure Bourne shell code. (For sh, ash, ksh, zsh, bash, ...) +The script is mainly intended to be used in portable install scripts, where you can use the body of the script. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 bar %{buildroot}%{_bindir}/bar + +%files +%defattr(-,root,root) +%{_bindir}/bar +%doc COPYING README + +%changelog +* Thu Feb 10 2011 Silvan Calarco src-1mamba +- package created by autospec