Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 36916394
en ru br
Репозитории ALT
S:0.2-alt10
5.1: 0.2-alt9
4.1: 0.2-alt7
4.0: 0.2-alt7
+updates:0.2-alt7
3.0: 0.2-alt4
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: ed

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: ed
Version: 0.2
Release: alt7
Serial: 1

Summary: The GNU line-oriented text editor
License: GPL
Group: Text tools
Url: http://www.gnu.org/software/ed/
Packager: Dmitry V. Levin <ldv at altlinux.org>

# ftp://ftp.gnu.org/gnu/ed/ed-%version.tar.gz

Source: ed-%version.tar

Patch1: ed-0.2-alt-configure.patch
Patch2: ed-0.2-alt-error.patch
Patch3: ed-0.2-deb-makefile.patch
Patch4: ed-0.2-deb-parentheses.patch
Patch5: ed-0.2-alt-tmp.patch
Patch6: ed-0.2-alt-progname.patch
Patch7: ed-0.2-deb-owl-man.patch
Patch8: ed-0.2-alt-man-tmp.patch
Patch9: ed-0.2-alt-texinfo.patch
Patch10: ed-0.2-alt-glibc.patch
Patch11: ed-0.2-alt-warnings.patch
Patch12: ed-0.2-alt-bound.patch

Requires(post): %install_info
Requires(preun): %uninstall_info

%description
ed is a line-oriented text editor, used to create, display, and modify
text files (both interactively and via shell scripts).
For most purposes, ed has been replaced in normal usage by full-screen
editors such as vi and emacs.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1

find -type f -name \*.orig -delete
rm getopt.h regex.h

%build
# ed lives in /bin.
%define _bindir /bin
# Disable rscid information.
%add_optflags -Dlint
# glibc does have sigsetjmp, it's just a macro, which confuses autoconf.
export ac_cv_func_sigsetjmp=yes
autoreconf -fisv
%configure

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

%install
%makeinstall mandir=%buildroot%_man1dir

%post
%install_info ed.info

%preun
%uninstall_info ed.info

%files
%_bindir/*
%_mandir/man?/*
%_infodir/*.info*
%doc ChangeLog NEWS POSIX README THANKS TODO

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin