update to 1.10 [release 1.10-1mamba;Sun Feb 23 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 22:02:16 +01:00
parent 677a18052f
commit 94601a49b5
4 changed files with 136 additions and 0 deletions

View File

@ -1,2 +1,8 @@
# ed
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.

20
ed-0.5-makefile_lns.patch Normal file
View File

@ -0,0 +1,20 @@
--- ed-0.5/Makefile.in 2006-11-16 21:33:09.000000000 +0100
+++ ed-0.5/Makefile.in.lns 2007-06-04 20:16:02.000000000 +0200
@@ -48,7 +48,7 @@
if test ! -d $(DESTDIR)$(bindir) ; then $(INSTALL) -d $(DESTDIR)$(bindir) ; fi
$(INSTALL_PROGRAM) ./$(progname) $(DESTDIR)$(bindir)/$(progname)
-rm -f $(DESTDIR)$(bindir)/r$(progname)
- cd $(DESTDIR)$(bindir) ; ln $(progname) r$(progname)
+ cd $(DESTDIR)$(bindir) ; ln -s $(progname) r$(progname)
install-info :
if test ! -d $(DESTDIR)$(infodir) ; then $(INSTALL) -d $(DESTDIR)$(infodir) ; fi
@@ -59,7 +59,7 @@
if test ! -d $(DESTDIR)$(mandir)/man1 ; then $(INSTALL) -d $(DESTDIR)$(mandir)/man1 ; fi
$(INSTALL_DATA) $(VPATH)/doc/$(progname).1 $(DESTDIR)$(mandir)/man1/$(progname).1
-rm -f $(DESTDIR)$(mandir)/man1/r$(progname).1
- cd $(DESTDIR)$(mandir)/man1 ; ln $(progname).1 r$(progname).1
+ cd $(DESTDIR)$(mandir)/man1 ; ln -s $(progname).1 r$(progname).1
install-strip : all
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install

BIN
ed-1.10.tar.lz Normal file

Binary file not shown.

110
ed.spec Normal file
View File

@ -0,0 +1,110 @@
Name: ed
Version: 1.10
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
* 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