]> git.pld-linux.org Git - packages/mosh.git/blame_incremental - mosh.spec
- up to 1.2; boost dependency is gone
[packages/mosh.git] / mosh.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without verbose # verbose build (V=1)
4
5%include /usr/lib/rpm/macros.perl
6Summary: Mosh mobile shell
7Name: mosh
8Version: 1.2
9Release: 1
10License: GPL v3+
11Group: X11/Applications
12Source0: https://github.com/downloads/keithw/mosh/%{name}-%{version}.tar.gz
13# Source0-md5: 2822792d362cc1539278ca3d3afb279a
14URL: http://mosh.mit.edu/
15BuildRequires: libutempter-devel
16BuildRequires: ncurses-devel
17BuildRequires: protobuf
18BuildRequires: protobuf-devel
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRequires: sed >= 4.0
21BuildRequires: zlib-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Remote terminal application that allows roaming, supports intermittent
26connectivity, and provides intelligent local echo and line editing of
27user keystrokes.
28
29Mosh is a replacement for SSH. It's more robust and responsive,
30especially over Wi-Fi, cellular, and long-distance links.
31
32%prep
33%setup -q
34%{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
35
36%build
37%configure \
38 --enable-compile-warnings=error \
39 CPPFLAGS="-I/usr/include/ncurses"
40%{__make} \
41 %{?with_verbose:V=1}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc AUTHORS ChangeLog NEWS THANKS
54%attr(755,root,root) %{_bindir}/%{name}
55%attr(755,root,root) %{_bindir}/%{name}-client
56%attr(755,root,root) %{_bindir}/%{name}-server
57%{_mandir}/man1/%{name}.1*
58%{_mandir}/man1/%{name}-client.1*
59%{_mandir}/man1/%{name}-server.1*
This page took 0.202926 seconds and 4 git commands to generate.