2010-06-26 08:29:45 +00:00
|
|
|
Name: nvi
|
|
|
|
Version: 1.81.6
|
2018-07-13 14:36:47 +00:00
|
|
|
Release: 19%{?dist}
|
2010-06-26 08:29:45 +00:00
|
|
|
Summary: 4.4BSD re-implementation of vi
|
|
|
|
|
|
|
|
Group: Applications/Editors
|
|
|
|
License: BSD
|
|
|
|
URL: http://www.bostic.com/vi/
|
|
|
|
Source0: http://www.kotnet.org/~skimo/%{name}/devel/%{name}-%{version}.tar.bz2
|
|
|
|
Patch1: nvi-01-additional_upstream_data.patch
|
|
|
|
Patch2: nvi-03-db4.patch
|
|
|
|
Patch3: nvi-04-confdefs.patch
|
|
|
|
Patch4: nvi-06-default_value_escapetime.patch
|
|
|
|
Patch5: nvi-07-flush_cache.patch
|
|
|
|
Patch6: nvi-08-lfs.patch
|
|
|
|
Patch7: nvi-08-safe_printf.patch
|
|
|
|
Patch8: nvi-08-tempfile_umask.patch
|
|
|
|
Patch9: nvi-09-casting.patch
|
|
|
|
Patch10: nvi-10-no_one_line_visual.patch
|
|
|
|
Patch11: nvi-11-backward_sentence_moving.patch
|
|
|
|
Patch12: nvi-12-horiz_scroll_count.patch
|
|
|
|
Patch13: nvi-13-widechar_horrors.patch
|
|
|
|
Patch14: nvi-14-private_regex_fixes.patch
|
|
|
|
Patch15: nvi-15-search_word.patch
|
|
|
|
Patch16: nvi-16-manpage_errors.patch
|
|
|
|
Patch17: nvi-17-tutorial_typos.patch
|
|
|
|
Patch18: nvi-18-dbpagesize_binpower.patch
|
|
|
|
Patch19: nvi-19-include_term_h.patch
|
|
|
|
Patch20: nvi-20-glibc_has_grantpt.patch
|
|
|
|
Patch21: nvi-21-exrc_writability_check.patch
|
|
|
|
Patch22: nvi-23-debian_alternatives.patch
|
|
|
|
Patch23: nvi-24-fallback_to_dumb_term.patch
|
|
|
|
Patch24: nvi-25-manpage_note_dropped_F.patch
|
|
|
|
Patch25: nvi-26-trailing_tab_segv.patch
|
|
|
|
Patch26: nvi-27-support_C_locale.patch
|
|
|
|
Patch27: nvi-28-regex_widechar.patch
|
|
|
|
Patch28: nvi-29-file_backup.patch
|
2013-08-25 07:54:09 +00:00
|
|
|
Patch29: nvi-30-autoconf-269-aarch64.patch
|
2010-06-26 08:29:45 +00:00
|
|
|
|
|
|
|
|
2018-07-09 17:06:49 +00:00
|
|
|
BuildRequires: gcc
|
2012-08-05 10:22:48 +00:00
|
|
|
BuildRequires: ncurses-devel, libdb-devel
|
2010-06-26 08:29:45 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Vi is the original screen based text editor for Unix systems.
|
|
|
|
It is considered the standard text editor, and is available on
|
|
|
|
almost all Unix systems.
|
|
|
|
|
|
|
|
Nvi is intended as a "bug-for-bug compatible" clone of the original
|
|
|
|
BSD vi editor. As such, it doesn't have a lot of snazzy features as do
|
|
|
|
some of the other vi clones such as elvis and vim. However, if all
|
|
|
|
you want is vi, this is the one to get.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1 -b .additional_upstream_data
|
|
|
|
%patch2 -p1 -b .db4
|
|
|
|
%patch3 -p1 -b .confdefs
|
|
|
|
%patch4 -p1 -b .default_value_escapetime
|
|
|
|
%patch5 -p1 -b .flush_cache
|
|
|
|
%patch6 -p1 -b .lfs
|
|
|
|
%patch7 -p1 -b .safe_printf
|
|
|
|
%patch8 -p1 -b .tempfile_umask
|
|
|
|
%patch9 -p1 -b .casting
|
|
|
|
%patch10 -p1 -b .no_one_line_visual
|
|
|
|
%patch11 -p1 -b .backward_sentence_moving
|
|
|
|
%patch12 -p1 -b .horiz_scroll_count
|
|
|
|
%patch13 -p1 -b .widechar_horrors
|
|
|
|
%patch14 -p1 -b .private_regex_fixes
|
|
|
|
%patch15 -p1 -b .search_word
|
|
|
|
%patch16 -p1 -b .manpage_errors
|
|
|
|
%patch17 -p1 -b .tutorial_typos
|
|
|
|
%patch18 -p1 -b .dbpagesize_binpower
|
|
|
|
%patch19 -p1 -b .include_term_h
|
|
|
|
%patch20 -p1 -b .glibc_has_grantpt
|
|
|
|
%patch21 -p1 -b .exrc_writability_check
|
|
|
|
%patch22 -p1 -b .debian_alternatives
|
|
|
|
%patch23 -p1 -b .fallback_to_dumb_term
|
|
|
|
%patch24 -p1 -b .manpage_note_dropped_F
|
|
|
|
%patch25 -p1 -b .trailing_tab_segv
|
|
|
|
%patch26 -p1 -b .support_C_locale
|
|
|
|
#patch27 -p1 -b .regex_widechar.patch
|
|
|
|
%patch28 -p1 -b .file_backup
|
2013-08-25 07:54:09 +00:00
|
|
|
%patch29 -p1 -b .autoconf269
|
2010-06-26 08:29:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2014-09-09 14:33:10 +00:00
|
|
|
cp -f /usr/lib/rpm/config.{guess,sub} dist/
|
2010-06-26 08:29:45 +00:00
|
|
|
(cd build.unix && \
|
|
|
|
OPTFLAG="$RPM_OPT_FLAGS" \
|
|
|
|
ac_cv_path_vi_cv_path_sendmail=/usr/sbin/sendmail \
|
|
|
|
vi_cv_revoke=no \
|
|
|
|
../dist/configure \
|
|
|
|
--disable-curses \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--disable-shared --enable-static \
|
|
|
|
--enable-widechar \
|
|
|
|
--disable-threads \
|
|
|
|
--without-x \
|
|
|
|
--with-gnu-ld=yes \
|
|
|
|
--datadir='%{_datadir}' \
|
|
|
|
--mandir='%{_mandir}' \
|
|
|
|
--program-prefix=n
|
|
|
|
)
|
|
|
|
sed -i -e '/define.*_PATH_MSGCAT/ s/".*"/"\/usr\/share\/vi\/catalog\/"/' \
|
|
|
|
build.unix/pathnames.h
|
|
|
|
make -C build.unix %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make -C build.unix install prefix=%{_prefix} DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT \( -name \*.a -o -name \*.la \) -delete
|
|
|
|
mv $RPM_BUILD_ROOT%{_datadir}/{vi,nvi}
|
|
|
|
mv $RPM_BUILD_ROOT%{_datadir}/nvi/recover \
|
|
|
|
$RPM_BUILD_ROOT%{_bindir}/nvi.recover
|
|
|
|
chmod 775 $RPM_BUILD_ROOT%{_bindir}/nvi.recover
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENSE README* TODO
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_datadir}/nvi/
|
|
|
|
%{_bindir}/nex
|
|
|
|
%{_bindir}/nvi
|
|
|
|
%{_bindir}/nview
|
|
|
|
%{_bindir}/nvi.recover
|
|
|
|
|
|
|
|
%changelog
|
2018-07-13 14:36:47 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.81.6-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 08:38:52 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.81.6-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 04:10:39 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.81.6-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:22:17 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.81.6-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 00:24:42 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.81.6-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 11:00:45 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.81.6-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 23:28:10 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-09-09 14:33:10 +00:00
|
|
|
* Tue Sep 09 2014 Karsten Hopp <karsten@redhat.com> 1.81.6-12
|
|
|
|
- use uptodate config.guess and config.sub to be able to build on ppc64le
|
|
|
|
|
2014-08-17 12:33:13 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 15:19:22 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-25 07:54:09 +00:00
|
|
|
* Sun Aug 25 2013 Matěj Cepl <mcepl@redhat.com> - 1.81.6-9
|
|
|
|
- Apply patch by Dennis Gilmore (bug#926255)
|
|
|
|
|
2013-08-03 14:38:13 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 08:49:37 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-05 10:22:48 +00:00
|
|
|
* Sat Aug 04 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 1.81.6-6
|
|
|
|
- Change BR: db4-devel to libdb-devel
|
|
|
|
|
2012-07-20 05:39:11 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 11:21:30 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 01:23:52 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-06-26 08:29:45 +00:00
|
|
|
* Thu Jun 24 2010 Matěj Cepl <mcepl@redhat.com> - 1.81.6-2
|
|
|
|
- Fixing review comments
|
|
|
|
|
|
|
|
* Tue Jun 22 2010 Matěj Cepl <mcepl@redhat.com> - 1.81.6-1
|
|
|
|
- Initial experimental package
|