-
Notifications
You must be signed in to change notification settings - Fork 51
/
dtach.spec
108 lines (87 loc) · 3.51 KB
/
dtach.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Summary: A simple program that emulates the detach feature of screen.
Name: dtach
Version: 0.9
Release: 1
License: GPL
URL: http://dtach.sourceforge.net
Group: Applications/System
Source: http://prdownloads.sourceforge.net/dtach/dtach-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-root
%description
dtach is a program that emulates the detach feature of screen, with
less overhead. It is designed to be transparent and un-intrusive; it
avoids interpreting the input and output between attached terminals
and the program under its control. Consequently, it works best with
full-screen applications such as emacs.
%prep
%setup
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT/*
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/dtach-%{version}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 755 dtach $RPM_BUILD_ROOT/%{_bindir}/dtach
install -m 644 dtach.1 $RPM_BUILD_ROOT/%{_mandir}/man1/dtach.1
%clean
make clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/dtach
%{_mandir}/*/*
%changelog
* Sun May 8 2016 Ned T. Crigler <[email protected]> 0.9
- New release
* Wed Jan 30 2008 Ned T. Crigler <[email protected]> 0.8
- New release
* Sat Jul 3 2004 Ned T. Crigler <[email protected]> 0.7
- New release
* Fri Nov 30 2001 Ned T. Crigler <[email protected]> 0.5
- Fix fd leakage.
- Prevent atexit from being called twice on dtach -A.
* Fri Nov 30 2001 Trond Eivind Glomsrød <[email protected]> 0.4-1
- s/Copyright/License/
- Minor description change
- fix use of %%doc
- Add full location of source tarball
* Sat Nov 03 2001 Ned T. Crigler <[email protected]> 0.4
- Portability updates thanks to sourceforge's compile farm. dtach should now
work on: FreeBSD, Debian/alpha, Debian/PPC, Debian/sparc, Debian/PPC, and
Solaris.
* Thu Sep 27 2001 Ned T. Crigler <[email protected]>
- Modified spec file URL: to point to http://dtach.sourceforge.net
* Wed Sep 26 2001 Ned T. Crigler <[email protected]> 0.3
- Use getrlimit and dynamically allocate the data structures, if possible.
- Added some more autoconf checks.
- Initial sourceforge release.
* Thu Sep 20 2001 Ned T. Crigler <[email protected]>
- Changed the master to send a stream of text to attaching clients instead
of sending a huge packet all the time.
- Decreased the client <-> master packet size.
- Changed the attach code so that it tells the master when a suspend occurs.
* Tue Sep 18 2001 Ned T. Crigler <[email protected]>
- Fixed a typo in dtach.1
* Tue Sep 18 2001 Ned T. Crigler <[email protected]> 0.2
- Removed silly thinko regarding terminal settings in attach, we
always set the terminal to raw mode now.
- Moved redraw code into the master, which tries to be smarter when
using ^L.
- Moved the code that obtains the current terminal settings into main,
preventing a race condition between the master and attach processes.
- Rewrote argument parsing code.
- Changed name to dtach.
- Added a man page.
* Mon Sep 17 2001 Ned T. Crigler <[email protected]>
- Changed fchmod to chmod in create_socket.
* Mon Sep 17 2001 Isaiah Weiner <[email protected]>
- Modified spec file to correct detach binary permissions
- Modified spec file to correct detach documentation path
- Modified spec file URL: to point to http://people.redhat.com/iweiner/detach
- Modified spec file %clean to remove buildroot and builddir.
* Mon Sep 17 2001 Ned T. Crigler <[email protected]> 0.1
- Initial rpm release.