2024-01-05 22:02:16 +01:00
|
|
|
Name: ed
|
2024-01-05 22:02:16 +01:00
|
|
|
Version: 1.15
|
2024-01-05 22:02:16 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: The GNU line editor
|
|
|
|
Group: Applications/Text
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
|
|
|
URL: http://www.gnu.org/software/ed/ed.html
|
|
|
|
Source: http://ftp.gnu.org/gnu/ed/ed-%{version}.tar.lz
|
|
|
|
Patch: %{name}-0.5-makefile_lns.patch
|
|
|
|
License: GPL
|
|
|
|
Requires(post):%{__install_info}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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 (emacs and vi, for example).
|
|
|
|
|
|
|
|
Ed was the original UNIX editor, and may be used by some programs.
|
|
|
|
In general, however, you probably don't need to install it and you probably won't use it much.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
# LHS 2.2 requires ed to be in /bin
|
|
|
|
%configure --bindir=/bin CC=%{_host}-gcc
|
|
|
|
%make all CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall install-man
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info %{name}.info
|
|
|
|
#%{__install_info} %{_infodir}/ed.info.gz \
|
|
|
|
# %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor."
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ] ; then
|
|
|
|
%uninstall_info %{name}.info
|
|
|
|
# %{__install_info} --delete %{_infodir}/ed.info.gz \
|
|
|
|
# %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor."
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/bin/ed
|
|
|
|
/bin/red
|
|
|
|
%{_infodir}/ed.info.*
|
|
|
|
%{_mandir}/man1/ed.*
|
|
|
|
%{_mandir}/man1/red.*
|
|
|
|
%doc COPYING ChangeLog TODO NEWS README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 22:02:16 +01:00
|
|
|
* Sun Feb 24 2019 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:02:16 +01:00
|
|
|
* Fri Jul 14 2017 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:02:16 +01:00
|
|
|
* Sun Jan 22 2017 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:02:16 +01:00
|
|
|
* Tue Feb 23 2016 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:02:16 +01:00
|
|
|
* Fri Aug 14 2015 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:02:16 +01:00
|
|
|
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:02:16 +01:00
|
|
|
* Sun Feb 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-1mamba
|
|
|
|
- update to 1.10
|
|
|
|
|
|
|
|
* Wed Jun 26 2013 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 03 2013 Automatic Build System <autodist@mambasoft.it> 1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 24 2012 Automatic Build System <autodist@mambasoft.it> 1.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 07 2012 Automatic Build System <autodist@mambasoft.it> 1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Sep 04 2010 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 16 2009 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
|
|
|
|
- update to 1.4
|
|
|
|
|
|
|
|
* Mon Dec 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
|
|
|
|
- update to 1.1
|
|
|
|
|
|
|
|
* Mon Aug 30 2007 Aleph0 <aleph0@openmamba.org> 0.9-1mamba
|
|
|
|
- update to 0.9
|
|
|
|
|
|
|
|
* Mon Jul 02 2007 Aleph0 <aleph0@openmamba.org> 0.6-1mamba
|
|
|
|
- update to 0.6
|
|
|
|
- build with the CFLAGS used in openmamba
|
|
|
|
|
|
|
|
* Mon Jun 04 2007 Aleph0 <aleph0@openmamba.org> 0.5-1mamba
|
|
|
|
- update to 0.5
|
|
|
|
|
|
|
|
* Mon Oct 03 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.2-4qilnx
|
|
|
|
- install/uninstall info pages
|
|
|
|
|
|
|
|
* Mon Nov 10 2003 Mirko Cortillaro <mirko.cortillaro@qinet.it> 0.2-3qilnx
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Oct 16 2003 Davide Madrisan <davide.madrisan@qilinux.it> 0.2-2qilnx
|
|
|
|
- various specfile improvements and fixes
|
|
|
|
|
|
|
|
* Mon Apr 14 2003 Mirko Cortillaro <mirko.cortillaro@qinet.it>
|
|
|
|
- modified file list and created infodir
|
|
|
|
|
|
|
|
* Mon Apr 07 2003 Mirko Cortillaro <mirko.cortillaro@qinet.it>
|
|
|
|
- write a spec file for ed
|