]>
Commit | Line | Data |
---|---|---|
c67f764c ER |
1 | # TODO |
2 | # - package /usr/share/bash-completion/completions/reptyr | |
61bc4b81 | 3 | Summary: A tool for "re-ptying" programs |
913d92b3 | 4 | Summary(pl.UTF-8): Narzędzie do przepinania programów do nowego terminala (re-pty) |
61bc4b81 | 5 | Name: reptyr |
35384a13 | 6 | Version: 0.10.0 |
dbe2e087 | 7 | Release: 1 |
61bc4b81 | 8 | License: BSD-like |
9 | Group: Applications | |
dbe2e087 | 10 | Source0: https://github.com/nelhage/reptyr/archive/%{name}-%{version}.tar.gz |
35384a13 | 11 | # Source0-md5: 6418ef71c4352350edbf3274330896ee |
c67f764c | 12 | Patch0: https://github.com/nelhage/reptyr/compare/%{name}-%{version}...master.diff |
35384a13 | 13 | # Patch0-md5: bf3abf2a8887237c07b17d50b8eb0d6f |
61bc4b81 | 14 | URL: https://github.com/nelhage/reptyr |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
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 | |
22 | on home. | |
23 | ||
913d92b3 JB |
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ć | |
30 | sesję ssh. | |
31 | ||
61bc4b81 | 32 | %prep |
dbe2e087 | 33 | %setup -q -n %{name}-%{name}-%{version} |
c67f764c | 34 | %patch0 -p1 |
61bc4b81 | 35 | |
36 | %build | |
37 | %{__make} \ | |
dbe2e087 AM |
38 | CC="%{__cc}" \ |
39 | CPPFLAGS="%{rpmcppflags}" \ | |
61bc4b81 | 40 | CFLAGS="%{rpmcflags}" \ |
41 | LDFLAGS="%{rpmldflags}" | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | %{__make} install \ | |
46 | PREFIX=%{_prefix} \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
dbe2e087 | 54 | %doc ChangeLog NOTES README.md |
61bc4b81 | 55 | %attr(755,root,root) %{_bindir}/reptyr |
dbe2e087 AM |
56 | %{_mandir}/man1/reptyr.1* |
57 | %lang(fr) %{_mandir}/fr/man1/reptyr.1* |