Sisyphus repository
Last update: 15 january 2021 | SRPMs: 17777 | Visits: 20053095
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.5
Release: alt2
Serial: 1

Summary: A GNU stream text editor
Group: Editors
License: GPL
Packager: Dmitry V. Levin <ldv at>

%def_with test


Source: sed-%version.tar
Source1: subst.tar

Patch1: sed-4.0.9-alt-texinfo.patch
Patch2: sed-4.1.2-alt-man.patch
Patch3: sed-4.1.5-alt-doc-sedfaq.patch
Patch4: sed-4.1.2-deb-doc.patch
Patch5: sed-4.1.5-alt-warnings.patch
Patch6: sed-4.1.5-up-utf8.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
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
find -type f -name \*.orig -delete

install -pm644 %_sourcedir/{sedfaq,sed1line}.txt doc/
bzip2 -9 doc/*.txt
bzip2 -9k 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 %buildroot%_bindir %buildroot/bin
make -C subst install

%find_lang %name



%files -f %name.lang
%doc BUGS NEWS.bz2 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