Sisyphus repository
Last update: 28 may 2020 | SRPMs: 17560 | Visits: 18623121
en ru br
ALT Linux repos
5.0: 4.1.5-alt2
4.1: 4.1.5-alt2
4.0: 4.1.5-alt2
3.0: 4.1.4-alt2

Group :: Editors
RPM: sed

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: sed
Version: 4.1.4
Release: alt2
Serial: 1

Summary: A GNU stream text editor
Group: Editors
License: GPL

%def_with test

Source1: subst.tar.gz

Patch0: sed-4.1.4-cvs-20050210.patch
Patch1: sed-4.0.9-alt-texinfo.patch
Patch2: sed-4.1.2-alt-man.patch
Patch3: sed-4.0.9-alt-doc-sedfaq.patch
Patch4: sed-4.1.2-deb-doc.patch

Provides: /bin/sed, %_bindir/subst
Requires(post): %install_info
Requires(preun): %uninstall_info

# for autoreconf/autopoint.

#BuildRequires: cvs

The sed (Stream EDitor) editor is a stream or batch (non-interactive)
editor.  Sed takes text as input, performs an operation or set of
operations on the text and outputs the modified text.  The operations
that sed performs (substitutions, deletions, insertions, etc.) can be
specified in a script file or from the command line.

%setup -q -a1
%patch0 -p0
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%__install -pm644 %SOURCE2 %SOURCE3 doc/
bzip2 -9 doc/*.txt
bzip2 -9fk NEWS

#autoreconf -fisv
%make_build -C subst
./subst/subst -p 's, at DOCDIR at ,%_docdir/%name-%version,' doc/sed-in.texi doc/sed.x

%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}

%__mv $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT/bin
make -C subst install

%find_lang %name



%files -f %name.lang
%doc BUGS NEWS.* README THANKS doc/*.txt.bz2


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin