2 # - package /usr/share/bash-completion/completions/reptyr
3 Summary: A tool for "re-ptying" programs
4 Summary(pl.UTF-8): Narzędzie do przepinania programów do nowego terminala (re-pty)
10 Source0: https://github.com/nelhage/reptyr/archive/%{name}-%{version}.tar.gz
11 # Source0-md5: 6418ef71c4352350edbf3274330896ee
12 Patch0: https://github.com/nelhage/reptyr/compare/%{name}-%{version}...master.diff
13 # Patch0-md5: bf3abf2a8887237c07b17d50b8eb0d6f
14 URL: https://github.com/nelhage/reptyr
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 reptyr is a utility for taking an existing running program and
19 attaching it to a new terminal. Started a long-running process over
20 ssh, but have to leave and don't want to interrupt it? Just start a
21 screen, use reptyr to grab it, and then kill the ssh session and head
24 %description -l pl.UTF-8
25 reptyr to narzędzie służące do podłączania już działającego programu
26 do nowego terminala. Jest to pomocne szczególnie w przypadku
27 uruchomienia długo trwającego procesu po ssh, kiedy zachodzi potrzeba
28 rozłączenia się bez przerywania programu - wystarczy uruchomić
29 screena, użyć reptyra do przechwycenia programu, a następnie zabić
33 %setup -q -n %{name}-%{name}-%{version}
39 CPPFLAGS="%{rpmcppflags}" \
40 CFLAGS="%{rpmcflags}" \
41 LDFLAGS="%{rpmldflags}"
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc ChangeLog NOTES README.md
55 %attr(755,root,root) %{_bindir}/reptyr
56 %{_mandir}/man1/reptyr.1*
57 %lang(fr) %{_mandir}/fr/man1/reptyr.1*