Update ex.spec

rpm creation fixes
This commit is contained in:
deepend-tildeclub 2024-10-10 14:04:44 -06:00 committed by GitHub
parent df257837fe
commit 0d7b306269
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 12 deletions

29
ex.spec
View File

@ -1,12 +1,12 @@
#
# Sccsid @(#)ex.spec 1.7 (gritter) 1/22/05
# Sccsid @(#)ex.spec 1.7 (gritter) 1/22/05
#
Summary: A port of the traditional ex/vi editors
Name: ex
Version: 050325
Name: ex-vi
Version: 10102024
Release: 1
License: BSD
Source: %{name}-%{version}.tar.bz2
Source: %{name}-%{version}.tar.gz
Group: System Environment/Base
Vendor: Gunnar Ritter <Gunnar.Ritter@pluto.uni-freiburg.de>
URL: <http://ex-vi.sourceforge.net>
@ -15,19 +15,20 @@ 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
%global debug_package %{nil}
%define prefix /usr
%define bindir %{prefix}/5bin
%define libexecdir %{prefix}/5lib
%define mandir %{prefix}/share/man/5man
%define preservedir /var/preserve
%define preservedir /var/preserve
# install command
%define ucbinstall install
%define ucbinstall install
%define cflags -Os -fomit-frame-pointer
%define cflags -Os -fomit-frame-pointer
%define makeflags PREFIX=%{prefix} BINDIR=%{bindir} LIBEXECDIR=%{libexecdir} MANDIR=%{mandir} PRESERVEDIR=%{preservedir} INSTALL=%{ucbinstall} RPMCFLAGS="%{cflags}"
%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
@ -35,6 +36,10 @@ 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.
%changelog
* Thu Oct 10 2024 Your Name <you@example.com> - 10102024-1
- Initial build of ex-vi package.
%prep
rm -rf %{buildroot}
%setup