diff --git a/.cvsignore b/.cvsignore index e69de29..709e631 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +sed-3.02.tar.gz diff --git a/sed.spec b/sed.spec new file mode 100644 index 0000000..405a6ef --- /dev/null +++ b/sed.spec @@ -0,0 +1,99 @@ +Summary: A GNU stream text editor. +Name: sed +Version: 3.02 +Release: 8 +Copyright: GPL +Group: Applications/Text +Source0: ftp://prep.ai.mit.edu/pub/gnu/sed-%{version}.tar.gz +Prereq: /sbin/install-info +Prefix: %{_prefix} +Buildroot: %{_tmppath}/%{name}-root + +%description +The sed (Stream EDitor) editor is a stream or batch (non-interactive) +editor. Sed takes text as input, performs an operation or set of +operations on the text and outputs the modified text. The operations +that sed performs (substitutions, deletions, insertions, etc.) can be +specified in a script file or from the command line. + +%prep +%setup -q + +%build + +%configure +make + +%install +rm -rf ${RPM_BUILD_ROOT} + +%makeinstall + +{ cd ${RPM_BUILD_ROOT} + +%ifos linux + mkdir -p ./bin + mv .%{_bindir}/sed ./bin/sed + rmdir .%{_bindir} +%endif + + gzip -9nf .%{_infodir}/sed.info* + rm -f .%{_infodir}/dir +} + +%post +/sbin/install-info %{_infodir}/sed.info.gz %{_infodir}/dir + +%preun +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/sed.info.gz %{_infodir}/dir +fi + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%doc ANNOUNCE BUGS NEWS README TODO +%ifos linux +/bin/sed +%else +%{_bindir}/sed +%endif +%{_infodir}/*.info* +%{_mandir}/man*/* + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jun 5 2000 Jeff Johnson +- FHS packaging. + +* Mon Feb 7 2000 Jeff Johnson +- compress man pages. + +* Tue Jan 18 2000 Jakub Jelinek +- rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 4) + +* Tue Aug 18 1998 Jeff Johnson +- update to 3.02 + +* Sun Jul 26 1998 Jeff Johnson +- update to 3.01 + +* Mon Apr 27 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Oct 23 1997 Donnie Barnes +- removed references to the -g option from the man page that we add + +* Fri Oct 17 1997 Donnie Barnes +- spec file cleanups +- added BuildRoot + +* Mon Jun 02 1997 Erik Troan +- built against glibc diff --git a/sources b/sources index e69de29..8698f09 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +74db866f052b47fa8ec1c2b8f967bc69 sed-3.02.tar.gz