diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-23 16:54:28 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-23 16:54:28 -0800 |
| commit | 0960985a5579aa22e4cad1b53e31d988d0815471 (patch) | |
| tree | fb93e4d945dc080cdde550a241a2325ac6492963 /src/vi/ex-070224/ex.spec | |
| parent | 1e06d782d2a8cdb9fe59e4932999869c95397cbd (diff) | |
add musl and vi
Diffstat (limited to 'src/vi/ex-070224/ex.spec')
| -rw-r--r-- | src/vi/ex-070224/ex.spec | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/vi/ex-070224/ex.spec b/src/vi/ex-070224/ex.spec new file mode 100644 index 0000000..2a3184a --- /dev/null +++ b/src/vi/ex-070224/ex.spec @@ -0,0 +1,58 @@ +# +# Sccsid @(#)ex.spec 1.8 (gritter) 7/12/05 +# +Summary: A port of the traditional ex/vi editors +Name: ex +Version: 040420 +Release: 1 +License: BSD +Source: %{name}-%{version}.tar.bz2 +Group: System Environment/Base +Vendor: Gunnar Ritter <gunnarr@acm.org> +URL: <http://ex-vi.sourceforge.net> +BuildRoot: %{_tmppath}/%{name}-root + +Requires: /etc/termcap + +# prefix applies to bindir, libexecdir, and mandir. +%define prefix /usr +%define bindir %{prefix}/5bin +%define libexecdir %{prefix}/5lib +%define mandir %{prefix}/share/man/5man + +%define preservedir /var/preserve + +# install command +%define ucbinstall install + +%define cflags -Os -fomit-frame-pointer + +%define makeflags PREFIX=%{prefix} BINDIR=%{bindir} LIBEXECDIR=%{libexecdir} MANDIR=%{mandir} PRESERVEDIR=%{preservedir} INSTALL=%{ucbinstall} RPMCFLAGS="%{cflags}" + +%description +This is a port of the traditional ex and vi editor implementation as +found on 2BSD and 4BSD. It was enhanced to support most of the additions +in System V and POSIX.2, and international character sets like UTF-8 and +many East Asian encodings. + +%prep +rm -rf %{buildroot} +%setup + +%build +make %{makeflags} + +%install +make DESTDIR=%{buildroot} %{makeflags} install + +%clean +cd ..; rm -rf %{_builddir}/%{name}-%{version} +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc Changes LICENSE README TODO +%{bindir}/* +%{libexecdir}/* +%{mandir}/man1/* +%{preservedir} |
