Applied dtach.spec patch from Trond Eivind Glomsrød <teg@redhat.com>.

This commit is contained in:
Ned T. Crigler 2001-11-30 21:56:21 +00:00
parent 3653366fd8
commit f598a8ad34
1 changed files with 17 additions and 13 deletions

View File

@ -2,21 +2,20 @@ Summary: A simple program that emulates the detach feature of screen.
Name: dtach Name: dtach
Version: 0.4 Version: 0.4
Release: 1 Release: 1
Copyright: GPL License: GPL
URL: http://dtach.sourceforge.net URL: http://dtach.sourceforge.net
Group: Applications/System Group: Applications/System
Source: dtach-%{version}.tar.gz Source: http://prdownloads.sourceforge.net/dtach/dtach-%{version}.tar.gz
Prefix: /usr Buildroot: %{_tmppath}/%{name}-%{version}-root
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: detach
%description %description
dtach is a program that emulates the detach feature of screen, without the
other overhead that screen has. It is designed to be transparent and dtach is a program that emulates the detach feature of screen, with
un-intrusive; it avoids interpreting the input and output between attached less overhead. It is designed to be transparent and un-intrusive; it
terminals and the program under its control. Consequently, it works best with 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. full-screen applications such as emacs.
%prep %prep
%setup %setup
@ -30,7 +29,6 @@ mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/dtach-%{version} mkdir -p $RPM_BUILD_ROOT/usr/share/doc/dtach-%{version}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 755 dtach $RPM_BUILD_ROOT/%{_bindir}/dtach install -m 755 dtach $RPM_BUILD_ROOT/%{_bindir}/dtach
install -m 644 COPYING $RPM_BUILD_ROOT/usr/share/doc/dtach-%{version}
install -m 644 dtach.1 $RPM_BUILD_ROOT/%{_mandir}/man1/dtach.1 install -m 644 dtach.1 $RPM_BUILD_ROOT/%{_mandir}/man1/dtach.1
%clean %clean
@ -40,11 +38,17 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc /usr/share/doc/dtach-%{version}/COPYING %doc COPYING README
%{_bindir}/dtach %{_bindir}/dtach
%{_mandir}/man1/* %{_mandir}/*/*
%changelog %changelog
* Fri Nov 30 2001 Trond Eivind Glomsrød <teg@redhat.com> 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 <crigler@hell-city.org> 0.4 * Sat Nov 03 2001 Ned T. Crigler <crigler@hell-city.org> 0.4
- Portability updates thanks to sourceforge's compile farm. dtach should now - Portability updates thanks to sourceforge's compile farm. dtach should now
work on: FreeBSD, Debian/alpha, Debian/PPC, Debian/sparc, Debian/PPC, and work on: FreeBSD, Debian/alpha, Debian/PPC, Debian/sparc, Debian/PPC, and