Group :: Sistema/Base
RPM: dtach
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Summary: A simple program that emulates the detach feature of screen
Name: dtach
Version: 0.9
Release: alt1_4
License: GPLv2+
URL: http://dtach.sourceforge.net
Group: System/Base
Source: http://prdownloads.sourceforge.net/dtach/dtach-%{version}.tar.gz
Source44: import.info
%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 -q
%build
%configure
%make_build
%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
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
%files
%doc COPYING README
%{_bindir}/dtach
%{_mandir}/*/*
%changelog
…
Todas as alterações você pod ver aqui
%define _localstatedir %{_var}
Summary: A simple program that emulates the detach feature of screen
Name: dtach
Version: 0.9
Release: alt1_4
License: GPLv2+
URL: http://dtach.sourceforge.net
Group: System/Base
Source: http://prdownloads.sourceforge.net/dtach/dtach-%{version}.tar.gz
Source44: import.info
%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 -q
%build
%configure
%make_build
%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
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
%files
%doc COPYING README
%{_bindir}/dtach
%{_mandir}/*/*
%changelog
…
Todas as alterações você pod ver aqui