46 lines
1.4 KiB
RPMSpec
46 lines
1.4 KiB
RPMSpec
|
Name: reptyr
|
||
|
Version: 0.5
|
||
|
Release: 1mamba
|
||
|
Summary: A utility for taking an existing running program and attaching it to a new terminal
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/nelhage/reptyr
|
||
|
## GITSOURCE https://github.com/nelhage/reptyr.git reptyr-0.5
|
||
|
Source: https://github.com/nelhage/reptyr.git/reptyr-%{version}/reptyr-%{version}.tar.bz2
|
||
|
License: BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## note: run 'autospec -u -a6 reptyr' to get the list of build requirements.
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
reptyr is a utility for taking an existing running program and attaching it to a new terminal. Started a long-running process over ssh, but have to leave and don't want to interrupt it? Just start a screen, use reptyr to grab it, and then kill the ssh session and head on home.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%make PREFIX=%{_prefix}
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall PREFIX=%{_prefix}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/reptyr
|
||
|
%{_mandir}/fr/man1/reptyr.1*
|
||
|
%{_mandir}/man1/reptyr.1*
|
||
|
%doc COPYING
|
||
|
|
||
|
%changelog
|
||
|
* Sun Jun 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
|
||
|
- package created using the webbuild interface
|