diff --git a/README.md b/README.md index bca8f45..ac8fa8d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # picocom +picocom is a minimal dumb-terminal emulation program. It is, in principle, very much like minicom, only it's pico instead of mini! + +Picocom was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech "terminal-window" to allow operator intervention in PPP connection scripts (something like the ms-windows "open terminal window before / after dialing" feature). It could also prove useful in many other similar tasks. + +Picocom is ideal for embedded systems since its memory footprint is minimal (less than 20K, when stripped). + diff --git a/picocom.spec b/picocom.spec new file mode 100644 index 0000000..b279eb2 --- /dev/null +++ b/picocom.spec @@ -0,0 +1,55 @@ +Name: picocom +Version: 1.7 +Release: 1mamba +Summary: A minimal dumb-terminal emulation program. +Group: Applications/Communication +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://code.google.com/p/picocom/ +Source: http://picocom.googlecode.com/files/picocom-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%debug_package + +%description +picocom is a minimal dumb-terminal emulation program. It is, in principle, very much like minicom, only it's pico instead of mini! + +Picocom was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech "terminal-window" to allow operator intervention in PPP connection scripts (something like the ms-windows "open terminal window before / after dialing" feature). It could also prove useful in many other similar tasks. + +Picocom is ideal for embedded systems since its memory footprint is minimal (less than 20K, when stripped). + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 picocom %{buildroot}%{_bindir}/picocom +for f in pcasc pcxm pcym pczm; do + install -m0755 $f %{buildroot}%{_bindir}/$f +done +install -D -m0644 picocom.8 %{buildroot}%{_mandir}/man8/picocom.8 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/pcasc +%{_bindir}/pcxm +%{_bindir}/pcym +%{_bindir}/pczm +%{_bindir}/picocom +%{_mandir}/man8/picocom.8.gz +%doc LICENSE.txt CONTRIBUTORS + +%changelog +* Thu Mar 29 2012 Silvan Calarco 1.7-1mamba +- package created by autospec