Packaging for Fedora

This commit is contained in:
Alexander Chernyakhovsky
2012-03-16 15:30:47 -04:00
committed by Keith Winstein
parent 0f011b030c
commit bdb0ecc2fd
+44
View File
@@ -0,0 +1,44 @@
Name: mosh
Version: 1.02
Release: 1%{?dist}
Summary: Mobile shell that supports roaming and intelligent local echo
License: GPLv3+
Group: Applications/Internet
URL: http://mosh.mit.edu/
Source0: https://github.com/downloads/keithw/mosh/mosh-%{version}.tar.gz
BuildRequires: protobuf-compiler, protobuf-devel, libutempter-devel, boost-devel, zlib-devel, ncurses-devel
Requires: openssh-clients, perl-IO-Tty
%description
Mosh is a remote terminal application that supports:
- intermittent network connectivity,
- roaming to different IP address without dropping the connection, and
- intelligent local echo and line editing to reduce the effects
of "network lag" on high-latency connections.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%files
%doc README.md COPYING ChangeLog
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Fri Mar 16 2012 <achernya@mit.edu> - 1.02-1
- Initial packaging for mosh.