]> git.pld-linux.org Git - packages/mosh.git/blame - mosh.spec
- up to 1.2; boost dependency is gone
[packages/mosh.git] / mosh.spec
CommitLineData
0e141888
ER
1#
2# Conditional build:
3%bcond_without verbose # verbose build (V=1)
4
37060d63 5%include /usr/lib/rpm/macros.perl
dc576455
CM
6Summary: Mosh mobile shell
7Name: mosh
ec1247c8
ER
8Version: 1.2
9Release: 1
dc576455
CM
10License: GPL v3+
11Group: X11/Applications
12Source0: https://github.com/downloads/keithw/mosh/%{name}-%{version}.tar.gz
ec1247c8 13# Source0-md5: 2822792d362cc1539278ca3d3afb279a
dc576455 14URL: http://mosh.mit.edu/
dc576455
CM
15BuildRequires: libutempter-devel
16BuildRequires: ncurses-devel
ab99cc95 17BuildRequires: protobuf
dc576455 18BuildRequires: protobuf-devel
37060d63
ER
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRequires: sed >= 4.0
dc576455 21BuildRequires: zlib-devel
dc576455
CM
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
37060d63 34%{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
dc576455
CM
35
36%build
37%configure \
349c173b 38 --enable-compile-warnings=error \
dc576455 39 CPPFLAGS="-I/usr/include/ncurses"
0e141888
ER
40%{__make} \
41 %{?with_verbose:V=1}
dc576455
CM
42
43%install
44rm -rf $RPM_BUILD_ROOT
dc576455
CM
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
dc576455
CM
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.205826 seconds and 4 git commands to generate.