Summary: An easy to use, modeless text editor Name: joe Version: 4.6 Release: 1 License: GPLv2+ Group: Applications/Editors Source: http://prdownloads.sourceforge.net/joe-editor/%{name}-%{version}.tar.gz URL: http://sourceforge.net/projects/joe-editor/ Patch0: %{name}-3.7-joerc.patch Patch2: %{name}-3.8-time.patch Patch4: %{name}-4.2-indent-ow.patch Patch6: %{name}-4.1-format-security.patch Patch10: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: patch %description Joe is a powerful, easy to use, modeless text editor. It uses the same WordStar keybindings used in Borland's development environment. %prep export PATH=/opt/freeware/bin:$PATH %setup -q %patch0 -p1 -b .joerc %patch2 -p1 -b .time %patch4 -p1 -b .of %patch6 -p1 -b .format-security %patch10 %build export CC=xlc_r ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc README.md NEWS.md COPYING %{_bindir}/* %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/* %{_mandir}/man1/* /usr/bin/* %changelog * Tue Jun 12 2018 Michael Perzl - 4.6-1 - updated to version 4.6 * Wed Nov 15 2017 Michael Perzl - 4.5-1 - updated to version 4.5 * Mon Mar 20 2017 Michael Perzl - 4.4-1 - updated to version 4.4 * Mon Mar 20 2017 Michael Perzl - 4.3-1 - updated to version 4.3 * Mon Mar 20 2017 Michael Perzl - 4.2-1 - updated to version 4.2 * Fri Jan 01 2016 Michael Perzl - 4.1-1 - updated to version 4.1 * Fri Jan 01 2016 Michael Perzl - 4.0-1 - updated to version 4.0 * Fri Jan 01 2016 Michael Perzl - 3.8-1 - updated to version 3.8 * Mon Jun 21 2010 Michael Perzl - 3.7-1 - updated to version 3.7 * Fri Oct 31 2008 Michael Perzl - 3.6-1 - updated to version 3.6 * Wed Jul 16 2008 Michael Perzl - 3.5-1 - first version for AIX V5.1 and higher