Summary: An easy to use, modeless text editor Name: joe Version: 4.6 Release: 18%{?dist} License: GPL-2.0-or-later URL: http://sourceforge.net/projects/joe-editor/ Source: http://downloads.sourceforge.net/joe-editor/joe-%{version}.tar.gz %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Patch0: joe-3.7-joerc.patch Patch1: joe-3.8-selinux.patch Patch2: joe-3.8-time.patch Patch4: joe-3.8-indent-ow.patch Patch5: joe-3.8-aarch64.patch Patch6: joe-3.8-format-security.patch # https://sourceforge.net/p/joe-editor/mercurial/merge-requests/3/ Patch7: joe-4.6-c99.patch BuildRequires: gcc make BuildRequires: ncurses-devel libselinux-devel %description Joe is a powerful, easy to use, modeless text editor. It uses the same WordStar keybindings used in Borland's development environment. %prep %setup -q %patch0 -p1 -b .joerc %patch1 -p1 -b .selinux %patch2 -p1 -b .time %patch4 -p1 -b .of %patch5 -p1 -b .aarch64 %patch6 -p1 -b .format-security %patch7 -p1 -b .c99 iconv -f koi8-r -t utf-8 ./man/ru/joe.1.in >./man/ru/joe.1.in.aux touch -r ./man/ru/joe.1.in ./man/ru/joe.1.in.aux mv ./man/ru/joe.1.in.aux ./man/ru/joe.1.in iconv -f ISO_8859-1 -t UTF-8 ChangeLog > ChangeLog.tmp touch -r ChangeLog ChangeLog.tmp mv ChangeLog.tmp ChangeLog %build %configure --docdir=%{_pkgdocdir} make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT install -c -m 644 joe/TODO setup.hint $RPM_BUILD_ROOT%{_pkgdocdir} # This is automatically compressed afterwards... pushd $RPM_BUILD_ROOT/%{_mandir}/man1 ln -s joe.1 jmacs.1 ln -s joe.1 jpico.1 ln -s joe.1 jstar.1 ln -s joe.1 rjoe.1 popd %files %license COPYING %dir %{_pkgdocdir} %doc %{_pkgdocdir}/* %{_bindir}/* %dir /etc/joe %config(noreplace) /etc/joe/* %{_mandir}/man1/* %{_mandir}/ru/man1/* %{_datadir}/%{name} %exclude %{_datadir}/applications/j*desktop %changelog * Thu Jul 20 2023 Fedora Release Engineering - 4.6-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Mar 01 2023 Gwyn Ciesla - 4.6-17 - migrated to SPDX license * Tue Jan 31 2023 Nikita Popov - 4.6-16 - Port to C99 * Thu Jan 19 2023 Fedora Release Engineering - 4.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 4.6-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 4.6-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 4.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 28 2021 Gwyn Ciesla - 4.6-11 - Exclude desktop files. * Tue Jan 26 2021 Fedora Release Engineering - 4.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 4.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 4.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Sep 28 2019 István Tóth - 4.6-7 - Add missing make build dependency * Thu Jul 25 2019 Fedora Release Engineering - 4.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 4.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 4.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Feb 20 2018 Nikola Forró - 4.6-3 - Add missing gcc build dependency * Wed Feb 07 2018 Fedora Release Engineering - 4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Gwyn Ciesla - 4.6.1 - 4.6 * Mon Sep 25 2017 Nikola Forró - 4.5-1 - Update to version 4.5 resolves #1495027 * Thu Aug 03 2017 Fedora Release Engineering - 4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 24 2017 Nikola Forró - 4.4-1 - Update to version 4.4 resolves #1415523 * Thu Sep 01 2016 Nikola Forró - 4.3-1 - Update to version 4.3 resolves #1372116 * Wed Jul 20 2016 Jon Ciesla - 4.2-2 - Enable spec file syntax highlighting. * Tue Mar 08 2016 Nikola Forró - 4.2-1 - Update to version 4.2 resolves #1315126 * Thu Feb 04 2016 Fedora Release Engineering - 4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 24 2015 Nikola Forró - 4.1-2 - Fix use after free bug in edloop function resolves #1284862 * Tue Sep 08 2015 Nikola Forró - 4.1-1 - Update to version 4.1 resolves #1260893 * Thu Aug 20 2015 Jon Ciesla - 4.0-1 - Lastest upstream. * Mon Aug 17 2015 Nikola Forró - 3.8-3 - Fix failing build in rawhide by explicitly listing all files in %%{_pkgdocdir} resolves: #1254171 * Wed Jun 17 2015 Fedora Release Engineering - 3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Mar 23 2015 jchaloup - 3.8-1 - Update to 3.8 stable release resolves: #1204542 * Sat Aug 16 2014 Fedora Release Engineering - 3.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 3.7-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Dec 11 2013 Peter Schiffer - 3.7-14 - resolves: #1037147 fixed FTBFS after enabling "-Werror=format-security" flag * Wed Aug 07 2013 Ralf Corsépius - 3.7-13 - Reflect %%docdir changes (FTBFS RHBZ #992634). - Append --docdir to %%configure. * Sat Aug 03 2013 Fedora Release Engineering - 3.7-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Mar 26 2013 Peter Schiffer - 3.7-11 - cleaned .spec file - resolves: #925609 added support for aarch64 * Thu Feb 14 2013 Fedora Release Engineering - 3.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 3.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 3.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 3.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 3 2011 Ivana Hutarova Varekova - 3.7-6 - Resolves: #663503 memory corruption problem in wrapword function * Wed Feb 10 2010 Ivana Hutarova Varekova - 3.7-5 - fix 528817 - problem when orphan mode is set * Fri Jul 24 2009 Fedora Release Engineering - 3.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 3.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 14 2009 Hans de Goede - 3.7-2 - Install translations - Fix selinux patch so that it will apply to the new version - Convert HACKING and ChangeLog files to UTF-8 - Fix Source0 URL to match guidelines for sf.net URL's - Remove guideline violating explicit require for ncurses * Tue Feb 3 2009 Ivana Varekova - 3.7-1 - update to 3.7 * Wed Feb 20 2008 Fedora Release Engineering - 3.5-5 - Autorebuild for GCC 4.3 * Tue Jan 22 2008 Ivana Varekova 3.5-4 - rebuilt * Fri Feb 23 2007 Ivana Varekova 3.5-3 - incorporate the package review feedback * Wed Feb 7 2007 Ivana Varekova 3.5-2 - fix 227487 - joe wakes up spuriously once per ... patch by Arjan van de Ven - spec file cleanup * Mon Oct 23 2006 Ivana Varekova 3.5-1 - update to 3.5 * Fri Jul 14 2006 Ivana Varekova 3.4-3 - remove uncessary patches * Wed Jul 12 2006 Jesse Keating - 3.4-2.1 - rebuild * Fri Jun 09 2006 Martin Bacovsky 3.4-2 - fix nonworking PgUp - bug 194213 * Wed May 31 2006 Ivana Varekova 3.4-1 - update to 3.4 * Mon Apr 10 2006 Ivana Varekova 3.3-3 - fix problem with Polish characters - bug 188235 * Wed Mar 1 2006 Ivana Varekova 3.3-2 - add forgotten header files - bug 183455 * Fri Feb 10 2006 Jesse Keating - 3.3-1.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 3.3-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Jun 6 2005 Ivana Varekova 3.3-1 - new upstream version * Fri Mar 4 2005 Ivana Varekova 3.1-8 - rebuilt * Mon Jan 24 2005 Ivana Varekova 3.1-7 - Fix bug #137025 - missing return statement * Tue Oct 05 2004 Lon Hohberger 3.1-6 - Pass 2 at fixing UTF-8 decoding in help display (#134197) * Fri Oct 01 2004 Lon Hohberger 3.1-5 - Fix UTF-8 decoding in help display (#134197) * Sat Sep 25 2004 Bill Nottingham 3.1-4 - fix SELinux support (#133602) - clean up %%prep (#133601) * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Jun 08 2004 Lon Hohberger 3.1-2 - Rebuild * Tue Jun 01 2004 Lon Hohberger 3.1-1.2 - Rebuild * Tue Jun 01 2004 Lon Hohberger 3.1-1 - Import 3.1 from upstream - Include mktemp behavior from #124462 * Thu May 27 2004 Lon Hohberger 3.0-2.3 - Include HINTS NEWS LIST in doc line (#124464) * Mon May 03 2004 Lon Hohberger 3.0-2.1 - Fix /etc/joe/joe/* sysconf dirs; the new Makefile.am handles this for us. - Ensure we reference correct directories in manpages and joe-configs. * Wed Apr 28 2004 Lon Hohberger 3.0-2 - Rebuild. * Wed Apr 28 2004 Lon Hohberger 3.0-1.1 - Kill ancient configure scripts in tarball to cause it to build on ppc64. * Wed Apr 28 2004 Lon Hohberger 3.0-1 - Import of 3.0 upstream. - Removed zero-rc patch for now; it doesn't correctly fix the problem. - Merge new SELinux patch from Dan Walsh. * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Jan 29 2004 Dan Walsh 2.9.8-8 - Modify SELinux patch to only attempt change if the context is different - Change is_selinux_enabled to >0 check. * Mon Dec 15 2003 Lon Hohberger 2.9.8-7 - SELinux patch to keep context on backup files when saving. * Tue Jun 17 2003 Lon Hohberger 2.9.8-6 - Rebuild for FC2 tree * Tue Jun 17 2003 Lon Hohberger 2.9.8-5 - Rebuilt * Tue Jun 17 2003 Lon Hohberger 2.9.8-4 - Fixed incomplete patch for #80657 * Mon Jun 16 2003 Lon Hohberger 2.9.8-3 - Rebuilt * Mon Jun 16 2003 Lon Hohberger 2.9.8-2 - Import from 2.9.8 upstream. This eliminates most of the patches we maintained. Added patch from #80657 from Hans de Goede. * Wed Jun 04 2003 Elliot Lee - rebuilt * Thu May 22 2003 Jeremy Katz 2.9.7-13 - fix build with gcc 3.3 * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Jan 2 2003 Lon Hohberger 2.9.7-11 - Added fix for #80673 - 'restrict' (C99 keyword) used as variable. - Fixed build bugs on i386. * Mon Nov 11 2002 Lon Hohberger 2.9.7-9 - Fixed zero-byte rc file hang. * Wed Nov 06 2002 Lon Hohberger 2.9.7-8 - Cleaned up warnings on ppc/ia32/ia64. - Fixed help message. - Fixed bugs on ia64 and ppc architectures. - Fixed build bugs on ia64. * Mon Jul 22 2002 Trond Eivind Glomsrød 2.9.7-7 - Make it build again (auto*... sigh. #69409) * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Thu Feb 21 2002 Trond Eivind Glomsrød 2.9.7-4 - Rebuild * Mon Feb 4 2002 Trond Eivind Glomsrød 2.9.7-3 - The joe.1 man-page was called -joe.1 * Wed Jan 09 2002 Tim Powers - automated rebuild * Thu Nov 8 2001 Trond Eivind Glomsrød 2.9.7-1 - 2.9.7 * Mon Jul 30 2001 Trond Eivind Glomsrød - Patch for wordwrap problem (#50321) * Mon Jun 4 2001 Trond Eivind Glomsrød - 2.9.6 - someone's developing it again, on sourceforge - all patches absorbed or unnecesarry - add doc files and URL - use %%configure and %%makeinstall * Wed Feb 28 2001 Trond Eivind Glomsrød - Don't try to read .joerc from CWD (#30031) - make sure the docs say /etc/joe everywhere * Fri Nov 17 2000 Trond Eivind Glomsrød - clean up the patch file from yesterday * Thu Nov 16 2000 Trond Eivind Glomsrød - security fix - don't blindly write to DEADJOE, unlink it and create it safely first * Mon Oct 09 2000 Trond Eivind Glomsrød - added patch so it will build on Red Hat 6.x (#18639) * Wed Jul 19 2000 Jakub Jelinek - fix the vfile patch * Thu Jul 13 2000 Prospector - automatic rebuild * Fri Jun 30 2000 Trond Eivind Glomsrød - added new patch for supporting big files (15+ MB). - obsoleted one of our which is contained within the above patch * Tue Jun 27 2000 Trond Eivind Glomsrød - move config files to /etc/joe * Tue Jun 27 2000 Trond Eivind Glomsrød - added new patch for resizing, by Seth Vidal - removed an old patch which did almost the same thing, but not as well * Tue Jun 20 2000 Trond Eivind Glomsrød - disabled a patch which no longer works * Mon Jun 19 2000 Trond Eivind Glomsrød - and yet another * Mon Jun 19 2000 Trond Eivind Glomsrød - once more * Mon Jun 19 2000 Trond Eivind Glomsrød - rebuild * Wed Jun 07 2000 Trond Eivind Glomsrød - use symlinked man pages - use %%{_mandir} * Wed May 3 2000 Bill Nottingham - fix for ia64 (sizeof(int) != sizeof(time_t)) * Wed Apr 26 2000 Trond Eivind Glomsrød - fixed a problem loading .joerc. Thanks to Jeff Peters for the patch (#11049) * Wed Apr 26 2000 Trond Eivind Glomsrød - patched it to restore the tty after exiting * Thu Apr 20 2000 Trond Eivind Glomsrød - gzip man page - hardlink the joe man page to jmacs, jpico, jstar, rjoe * Fri Mar 31 2000 Bill Nottingham - add patch to fix coredumps on quit for large files (b4506055@csie,ntu.edu.tw, #5372) * Mon Feb 7 2000 Bill Nottingham - handle compressed manpages * Tue Jan 18 2000 Bernhard Rosenkraenzer - Add patch from Hans de Goede to fix the End key * Tue Sep 07 1999 Cristian Gafton - patch for closing on some buffer overflow problems (not that is really critical...) * Thu Sep 2 1999 Jeff Johnson - DEADJOE files shouldn't be world readable (#4219). * Thu Aug 12 1999 Cristian Gafton - add patch from Giuseppe Ghibo' to fix resizing problems * Sun May 16 1999 Jeff Johnson - don't rely on (broken!) rpm patch (#2735) * Fri Apr 09 1999 Cristian Gafton - added locale patch from Petr Kolar (yeah, finally!) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 17) * Wed Jan 20 1999 Alex deVries - added mipseb support * Fri Dec 18 1998 Cristian Gafton - build for glibc 2.1 * Tue Sep 15 1998 Cristian Gafton - built with Alan's -port patch * Fri May 08 1998 Cristian Gafton - enable -asis in the config files so international keyboards will be better supported * Fri May 01 1998 Prospector System - translations modified for de, fr, tr * Fri May 01 1998 Cristian Gafton - /usr/lib/joe/* are config files * Thu Apr 09 1998 Cristian Gafton - manhattan build * Thu Dec 11 1997 Cristian Gafton - fixed termcap problems for terms other than 80x25 - added support for buildroot and BuildRoot * Mon Jul 21 1997 Erik Troan - built against glibc