File jupp.spec of Package jupp
# norootforbuild
Name: jupp
Version: 3.1jupp41
Release: 1
Summary: Wordstar compatible Text Editor which sucks less
License: GPL-1.0-only
Group: Productivity/Text/Editors
URL: http://mirbsd.de/jupp
Source: https://www.mirbsd.org/MirOS/dist/jupp/joe-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifnos FreeMiNT
# add libselinux on GNU/Linux systems that have it (optional)
BuildRequires: gcc glibc-devel ncurses-devel
%endif
Conflicts: joe
AutoReqProv: on
%description
“Joe is world-famous Wordstar like text editor.”
-- Sourcefrog
joe is the professional freeware ASCII text screen editor for
UNIX®. It makes full use of the power and versatility of UNIX, but
lacks the steep learning curve and basic nonsense you have to deal
with in every other UNIX editor. jupp has the feel of most IBM PC
text editors: The key sequences are reminiscent of WordStar (in
non-document mode) and Turbo C. However, joe is much more powerful
than those editors. joe has all of the features a UNIX user should
expect: full use of termcap/terminfo, excellent screen update op‐
timisations (joe is fully usable at 2400 baud), simple installa‐
tion, and all of the UNIX-integration features of vi. A number of
reference cards are always available as online help in an intui‐
tive, simple, and well thought-out user interface, with deferred
screen update to handle typeahead, not bypassed by tty buffering.
SELinux context copying is supported (needs the development
headers installed, which we cannot do in this portable SRPM).
joe has a great screen update optimisation algorithm, multiple
windows (through/between which you can scroll) and lacks the
confusing notion of named buffers. It has command history, tab
expansion in file selection menus, undo and redo functions,
(un)indenting and paragraph formatting, filtering highlighted
blocks through any external Unix command, editing a pipe into
or out of a command, and block move, copy, delete or filter; a
rectangle selection and a picture drawing mode, and a mode to
display whitespace as printable characters.
jupp is a customisation of joe which provides easy conversion
for former PC users as well as powerfulness for programmers,
while not doing annoying things “automagically” (word wrap,
for example). It can also double as hex editor and comes with
a character map (ASCII / 8-bit) plus Unicode support.
This is joe-3.x-jupp«y», a GNU GPL version 1 licenced fork
of the current state-of-the-art JOE editor from Sourceforge,
with Joe H. Allen himself starting development again after
over eight years. The MirOS fork has added UTF-8 Support for
non-LOCALE-aware operating systems (such as OpenBSD and older
versions of MirOS), the “jupp” flavour, not doing tab comple‐
tion in the search and replace dialogues, as well as -Wall
-Werror fixes, numerous bug, portability and security fixes.
It also contains an extension to visibly display tabs and
spaces, has a cleaned up, extended and beautified options
menu, more CUA style keybindings, improved math functionality
and a bracketed paste mode automatically used with XTerm.
Unix integration features: a marked block of text can be
filtered through a UNIX command, and wherever jupp accepts
a filename parameter, the following can also be used:
!command : to redirect from or to another command
>>filename : to append onto an existing file
fn,start,size : to edit a part of a file or device
- : to use standard input/output
Authors:
Joseph “Joe” H. Allen <jhallen@world.std.com>
Marek “Marx” Grac <xgrac@fi.muni.cz>
Thorsten “mirabilos” Glaser <tg@mirbsd.org>
… and their contributors.
%prep
%setup -n %{name}
%build
wflags="-Wall -Wformat"
wflags="$wflags -fno-omit-frame-pointer -fno-strict-aliasing" # safer
wflags="$wflags -fwrapv" # safe
wflags="$wflags -Wextra -Wno-pointer-sign" # or just -W
wflags="$wflags -Wno-unused-parameter"
wflags="$wflags -Wno-strict-prototypes" # for now
CC="%__cc" CFLAGS="%{?mageia:-g }%{optflags} $wflags" sh configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--docdir=%{_defaultdocdir}/%name \
--disable-dependency-tracking \
--disable-termidx \
--enable-sysconfjoesubdir=/jupp
make
%install
make install DESTDIR="$RPM_BUILD_ROOT"
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp COPYING HINTS INFO LIST NEWS README \
$RPM_BUILD_ROOT%{_docdir}/%{name}/
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root,-)
%dir %{_sysconfdir}/jupp
%dir %{_sysconfdir}/jupp/charmaps
%dir %{_sysconfdir}/jupp/syntax
%config %{_sysconfdir}/jupp/*rc*
%config %{_sysconfdir}/jupp/charmaps/*
%config %{_sysconfdir}/jupp/syntax/*
%{_bindir}/*
%{_docdir}/%{name}
%doc %{_mandir}/man1/*
%changelog
* Fri Sep 30 2022 Thorsten Glaser <tg@mirbsd.org> 3.1jupp41-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j41
* Fri Oct 30 2020 Thorsten Glaser <tg@mirbsd.org> 3.1jupp40-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j40
* Sun May 17 2020 Thorsten Glaser <tg@mirbsd.org> 3.1jupp39-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j39
* Sun Nov 11 2018 Thorsten Glaser <tg@mirbsd.org> 3.1jupp38-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j38
* Thu Mar 15 2018 Thorsten Glaser <tg@mirbsd.org> 3.1jupp36-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j36
* Wed Feb 14 2018 Thorsten Glaser <tg@mirbsd.org> 3.1jupp35-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j35
* Tue Feb 13 2018 Thorsten Glaser <tg@mirbsd.org> 3.1jupp33-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j33
- update CFLAGS
* Sat Dec 16 2017 Thorsten Glaser <tg@mirbsd.org> 3.1jupp32-2
- address rpmlint and build log warnings
* Sat Dec 16 2017 Thorsten Glaser <tg@mirbsd.org> 3.1jupp32-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j32
- mention WordStar similarity is only for non-document mode
* Wed Aug 9 2017 Thorsten Glaser <tg@mirbsd.org> 3.1jupp31-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j31
* Wed Jan 11 2017 Thorsten Glaser <tg@mirbsd.org> 3.1jupp30-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j30
* Sun Oct 30 2016 Thorsten Glaser <tg@mirbsd.org> 3.1jupp29-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j29
* Thu Oct 23 2014 Thorsten Glaser <tg@mirbsd.org> 3.1jupp28-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j28
* Tue Jul 1 2014 Thorsten Glaser <tg@mirbsd.org> 3.1jupp27-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j27
* Thu Nov 7 2013 Thorsten Glaser <tg@mirbsd.org> 3.1jupp26-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j26
* Mon Aug 19 2013 Thorsten Glaser <tg@mirbsd.org> 3.1jupp25-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j25
- remove cpio nōnsense
* Sun Jan 6 2013 Thorsten Glaser <tg@mirbsd.org> 3.1jupp24-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j24
* Sun Dec 30 2012 Thorsten Glaser <tg@mirbsd.org> 3.1jupp23-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j23
- stop installing developer-only documentation files
- mention in a comment that libselinux-dev enhances this
* Sun Sep 2 2012 Thorsten Glaser <tg@mirbsd.org> 3.1jupp22-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j22
* Wed Jul 18 2012 Thorsten Glaser <tg@mirbsd.org> 3.1jupp21-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j21
- important bugfixes!
* Fri Jun 08 2012 Thorsten Glaser <tg@mirbsd.org> 3.1jupp20-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j20
* Fri Jun 08 2012 Thorsten Glaser <tg@mirbsd.org> 3.1jupp19-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j19
* Wed Mar 28 2012 Thorsten Glaser <tg@mirbsd.org> 3.1jupp18-20
- apply patch from Bernd Mueller <ragnar76@googlemail.com> for
SpareMiNT support: comment out build dependencies (a correct
full set will have to be supllied by the porters/maintainers)
- don’t we all love OBS Release numbers? bump to 20 to STFU
* Wed Oct 5 2011 Thorsten Glaser <tg@mirbsd.org> 3.1jupp18-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j18
* Wed Aug 3 2011 Thorsten Glaser <tg@mirbsd.org> 3.1jupp17-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j17
* Sat Jul 16 2011 Thorsten Glaser <tg@mirbsd.org> 3.1jupp16-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j16
* Sat Jul 2 2011 Thorsten Glaser <tg@mirbsd.org> 3.1jupp15-1
- new upstream version; changelog: https://www.mirbsd.org/jupp.htm#r3_1j15
* Tue Mar 22 2011 Thorsten Glaser <t.glaser@tarent.de> 3.1jupp14-3
- conflict with joe (reported by gecko2@mirbsd, fix confirmed by rsc@fedora)
* Tue Apr 8 2010 Thorsten Glaser <tg@mirbsd.org> 3.1jupp14-2
- mitigate some compiler warnings
* Tue Apr 8 2010 Thorsten Glaser <tg@mirbsd.org> 3.1jupp14-1
- new upstream; changelog: https://www.mirbsd.org/jupp.htm#r3_1j14
* Sun Oct 18 2009 Thorsten Glaser <tg@mirbsd.org> 3.1jupp12-1
- new upstream; changelog: https://www.mirbsd.org/jupp.htm#r3_1j12
* Mon Aug 3 2009 Thorsten Glaser <tg@mirbsd.org> 3.1jupp11-12
- initial package