picocom/picocom.spec

57 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: picocom
Version: 2.0
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: https://github.com/npat-efault/picocom.git/%{version}/picocom-%{version}.tar.bz2
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!
It 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.
It 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.1 %{buildroot}%{_mandir}/man1/picocom.1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/pcasc
%{_bindir}/pcxm
%{_bindir}/pcym
%{_bindir}/pczm
%{_bindir}/picocom
%{_mandir}/man1/picocom.1*
%doc LICENSE.txt CONTRIBUTORS
%changelog
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0
* Thu Mar 29 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-1mamba
- package created by autospec