picocom/picocom.spec

56 lines
1.8 KiB
RPMSpec

Name: picocom
Version: 1.7
Release: 1mamba
Summary: A minimal dumb-terminal emulation program.
Group: Applications/Communication
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.7-1mamba
- package created by autospec