ed/ed.spec

147 lines
4.5 KiB
RPMSpec

Name: ed
Version: 1.19
Release: 1mamba
Summary: The GNU line editor
Group: Applications/Text
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
Provides: /bin/ed
%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
%configure
%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."
:
%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
:
%files
%defattr(-,root,root)
%{_bindir}/ed
%{_bindir}/red
%{_infodir}/ed.info.*
%{_mandir}/man1/ed.*
%{_mandir}/man1/red.*
%doc COPYING
#ChangeLog NEWS README
%changelog
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 1.19-1mamba
- automatic version update by autodist
* Fri Feb 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18-2mamba
- provide /bin/ed for lsb compliance
* Mon Feb 07 2022 Automatic Build System <autodist@mambasoft.it> 1.18-1mamba
- automatic version update by autodist
* Sun Jan 24 2021 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
- automatic version update by autodist
* Mon Mar 02 2020 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
- automatic version update by autodist
* Sun Feb 24 2019 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
- automatic version update by autodist
* Fri Jul 14 2017 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
- automatic version update by autodist
* Sun Jan 22 2017 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
- automatic version update by autodist
* Tue Feb 23 2016 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
- automatic version update by autodist
* Fri Aug 14 2015 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
- automatic version update by autodist
* 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
* Thu 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