2006-12-19 00:15:46 +01:00
|
|
|
#
|
|
|
|
# spec file for package ed (Version 0.2)
|
|
|
|
#
|
2008-10-23 04:30:00 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:15:46 +01:00
|
|
|
#
|
2008-10-23 04:30:00 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:15:46 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 04:30:00 +02:00
|
|
|
|
2006-12-19 00:15:46 +01:00
|
|
|
Name: ed
|
2008-10-23 04:30:00 +02:00
|
|
|
Url: http://www.gnu.org/software/ed/
|
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2006-12-19 00:15:46 +01:00
|
|
|
Group: Productivity/Editors/Other
|
|
|
|
PreReq: %install_info_prereq
|
2008-10-23 04:30:00 +02:00
|
|
|
AutoReqProv: on
|
2006-12-19 00:15:46 +01:00
|
|
|
Version: 0.2
|
2008-10-23 04:30:00 +02:00
|
|
|
Release: 1001
|
2006-12-19 00:15:46 +01:00
|
|
|
Summary: Standard UNIX Line Editor
|
|
|
|
Source: ed-0.2.tar.gz
|
|
|
|
Patch: ed-0.2.diff
|
|
|
|
Patch1: ed-0.2-tmpfile.patch
|
|
|
|
Patch2: proto.patch
|
|
|
|
Patch3: signal.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The standard, old Unix line editor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Andrew Moore <alm@worm.talke.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch
|
|
|
|
%patch1
|
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
rm -f regex.*
|
|
|
|
|
|
|
|
%build
|
|
|
|
chmod +w configure
|
|
|
|
autoreconf -fi
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
./configure --prefix=/usr --infodir=%{_infodir} --mandir=%{_mandir}
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make prefix=$RPM_BUILD_ROOT/usr mandir=$RPM_BUILD_ROOT%{_mandir} \
|
|
|
|
infodir=$RPM_BUILD_ROOT%{_infodir} install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/bin
|
|
|
|
mv $RPM_BUILD_ROOT/usr/bin/ed $RPM_BUILD_ROOT/bin/ed
|
|
|
|
ln -s /bin/ed $RPM_BUILD_ROOT/usr/bin/ed
|
|
|
|
|
2008-10-23 04:30:00 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-12-19 00:15:46 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/bin/ed
|
|
|
|
/usr/bin/ed
|
|
|
|
/usr/bin/red
|
|
|
|
%doc %{_infodir}/ed.info.gz
|
|
|
|
%doc %{_mandir}/man1/ed.1.gz
|
|
|
|
%doc %{_mandir}/man1/red.1.gz
|
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --entry="* ed: (ed). Line-oriented text editor" --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2008-10-23 04:30:00 +02:00
|
|
|
%changelog
|
|
|
|
* Fri Oct 20 2006 lrupp@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- revert to 0.2: new version is broken (#212749)
|
2008-10-23 04:30:00 +02:00
|
|
|
* Tue Oct 10 2006 agruen@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- dash-option.diff: Fix `ed - filename' invocation.
|
2008-10-23 04:30:00 +02:00
|
|
|
* Mon Oct 09 2006 schwab@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- Update to ed 0.3-pre2.
|
|
|
|
* The symlink vulnerability has been fixed using the "tmpfile" function.
|
|
|
|
* The manual has been updated.
|
|
|
|
* An extensive code cleanup has been done.
|
|
|
|
- Fix signal handing again.
|
2008-10-23 04:30:00 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-10-23 04:30:00 +02:00
|
|
|
* Fri Oct 01 2004 schwab@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- Fix signal handling
|
|
|
|
(<http://lists.gnu.org/archive/html/bug-gnu-utils/2004-09/msg00123.html>).
|
2008-10-23 04:30:00 +02:00
|
|
|
* Sat Sep 11 2004 schwab@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- Don't use __P from glibc headers.
|
2008-10-23 04:30:00 +02:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- add %%defattr
|
2008-10-23 04:30:00 +02:00
|
|
|
* Thu Apr 24 2003 ro@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- fix install_info --delete call and move from preun to postun
|
2008-10-23 04:30:00 +02:00
|
|
|
* Tue Apr 15 2003 coolo@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- use BuildRoot
|
2008-10-23 04:30:00 +02:00
|
|
|
* Mon Mar 03 2003 ro@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- fixed typo in dir entry
|
2008-10-23 04:30:00 +02:00
|
|
|
* Mon Mar 03 2003 ro@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- added info dir entry
|
2008-10-23 04:30:00 +02:00
|
|
|
* Fri Feb 07 2003 ro@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- use install_info macros
|
2008-10-23 04:30:00 +02:00
|
|
|
* Tue Sep 17 2002 ro@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- removed bogus self-provides
|
2008-10-23 04:30:00 +02:00
|
|
|
* Tue Dec 19 2000 werner@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- Close temporary file security hole
|
2008-10-23 04:30:00 +02:00
|
|
|
* Fri Feb 25 2000 kukuk@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- Use RPM_OPT_FLAGS
|
|
|
|
- Move /usr/{info,man} -> /usr/share/{info,man}
|
2008-10-23 04:30:00 +02:00
|
|
|
* Sat Nov 06 1999 bs@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- moved binary to /bin/ed and provide symlink /usr/bin/ed
|
2008-10-23 04:30:00 +02:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2006-12-19 00:15:46 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|