258 lines
9.1 KiB
RPMSpec
258 lines
9.1 KiB
RPMSpec
|
#
|
||
|
# spec file for package joe (Version 3.5)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: joe
|
||
|
License: GPL
|
||
|
Group: Productivity/Editors/Other
|
||
|
Autoreqprov: on
|
||
|
Version: 3.5
|
||
|
Release: 1
|
||
|
Summary: A Text Editor
|
||
|
URL: http://sourceforge.net/projects/joe-editor
|
||
|
Source: joe-%{version}.tar.bz2
|
||
|
Source1: spec.jsf
|
||
|
Patch: joe-3.1.patch
|
||
|
Patch1: joe-3.0-rc.patch
|
||
|
Patch2: joe-3.1-ia64.patch
|
||
|
Patch3: joe-3.3-warnings.patch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
JOE (Joe's Own Editor) is a freeware ASCII editor for UNIX. Joe is
|
||
|
similar to most IBM PC text editors. The keyboard combinations are
|
||
|
similar to WordStar[tm] and Turbo C. Some of Joe's features include:
|
||
|
|
||
|
-full support of termcap and terminfo (useful for device-independent
|
||
|
descriptions to control screen output) -optimized screen refresh like
|
||
|
GNU Emacs (Joe can even be used at 2400 baud) -easy installation with
|
||
|
all features for UNIX integration with vi: a marked block of text can
|
||
|
be filtered through a UNIX command and wherever JOE accepts a filename
|
||
|
parameter, the following can also be substituted:
|
||
|
|
||
|
!command\t\t:to redirect from or to another command
|
||
|
|
||
|
>>filename\t\t:to append onto an existing file
|
||
|
|
||
|
filename,start,size\t:to edit a part of a file or device
|
||
|
|
||
|
-\t\t\t:to use standard input/output
|
||
|
|
||
|
When JOE has several files opened at the same time, each file is
|
||
|
displayed in its own window. Additionally, JOE allows for shell windows
|
||
|
from which the output of the executed commands are saved in a buffer,
|
||
|
automatic filename completion (via TAB), help windows, undo and redo,
|
||
|
and search and replace using regular expressions.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Joseph H. Allen <jhallen@world.std.com>
|
||
|
|
||
|
Marek 'Marx' Grac <xgrac@fi.muni.cz>
|
||
|
|
||
|
%prep
|
||
|
%setup
|
||
|
%patch
|
||
|
%patch1
|
||
|
%patch2
|
||
|
%patch3
|
||
|
|
||
|
%build
|
||
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wall -W -Wno-unused"
|
||
|
./configure \
|
||
|
--prefix=%{_prefix} \
|
||
|
--mandir=%{_mandir} \
|
||
|
--sysconfdir=%{_sysconfdir}
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
make \
|
||
|
prefix=$RPM_BUILD_ROOT%{_prefix} \
|
||
|
mandir=$RPM_BUILD_ROOT%{_mandir} \
|
||
|
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
|
||
|
install
|
||
|
for i in jmacs jpico jstar rjoe; do
|
||
|
ln -s joe.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$i.1.gz
|
||
|
done
|
||
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/joe/syntax
|
||
|
# docs should go to /usr/share/doc/packages/joe
|
||
|
rm -rf $RPM_BUILD_ROOT/etc/joe/doc
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc COPYING ChangeLog NEWS HINTS HACKING LIST README TODO docs/*.html
|
||
|
%doc %{_mandir}/man1/*
|
||
|
%config %{_sysconfdir}/joe/*rc
|
||
|
%{_sysconfdir}/joe
|
||
|
%{_bindir}/*
|
||
|
|
||
|
%changelog -n joe
|
||
|
* Sat Jul 22 2006 - cthiel@suse.de
|
||
|
- update to 3.5
|
||
|
* Fix $# in shell highlighter.
|
||
|
* Fix .in files in ftype
|
||
|
* Tags file patch: allows you to put a path in TAGS environment variable.
|
||
|
* Fix possible querysave bug.
|
||
|
* Fix query window bug: cursor was not left in original windows for new
|
||
|
multi-line query window thing.
|
||
|
* Fix bug where we could not find ^@
|
||
|
* Accept ,start,size notation only if it is correct.
|
||
|
* Fix bug from undo_keep: undo_keep has to be a multiple of 2 for redo to
|
||
|
work properly.
|
||
|
* New undo_keep option.
|
||
|
* Add built-in joerc file.
|
||
|
* Fix menu bug: coredump on left arrow.
|
||
|
* allow |comments| in gettext strings.
|
||
|
* dnelson's patches for large files, tty.c include file problems and
|
||
|
$(srcdir).
|
||
|
* new syntax files: m4 joerc
|
||
|
* use hash table in rc file parser.
|
||
|
* use hash table in syntax parser.
|
||
|
* add auto-expanding hash table.
|
||
|
* i18n of other single-key prompts. add joe_gettext to yncheck.
|
||
|
* fix bug coredump when doing multi-file search and replace
|
||
|
* internationalized y/n handling.
|
||
|
* new spell check macro which uses 'language'
|
||
|
* fix sh highlight bug: do not try to highlight $( )
|
||
|
* query windows can now be multi-line. Also they should handle wide
|
||
|
characters properly.
|
||
|
* you can now type a macro right into the ESC X prompt.
|
||
|
* New * Startup Log * window catches .jsf file errors.
|
||
|
* Tue May 30 2006 - cthiel@suse.de
|
||
|
- update to 3.4
|
||
|
* Paragraph reformatter and word wrap now handle '*' and '-' bullet lists.
|
||
|
* Better internationalization (i18n)
|
||
|
* Multi-file search and replace
|
||
|
* Build and grep window work more like Turbo-C: the messages window is
|
||
|
forced onto the screen when you hit ^[ = and ^[ -.
|
||
|
* Syntax highlighter definition files (.jsf files) can now have
|
||
|
subroutines. This eases highlighter reuse: for example, Mason and PHP
|
||
|
can share the HTML highlighter.
|
||
|
* You can now define which characters can indent paragraphs. Also the
|
||
|
default list has been reduced so that formatting of TeX/LaTeX files
|
||
|
works better.
|
||
|
* Highlighting now uses less CPU time and always parses from the beginning
|
||
|
of the file (the number of sync lines option is deprecated).
|
||
|
* File selection menu/completion-list is now above the prompt (which is
|
||
|
more like bash). Also it is transposed, so that it is sorted by columns
|
||
|
instead of rows.
|
||
|
* "Bufed" (prompt for a buffer to edit), works like other file prompt
|
||
|
commands: it's a real prompt with history and completion.
|
||
|
* Automatic horizontal left scroll jumps by 5-10 columns.
|
||
|
* New syntax files: troff, Haskell, Cadance SKILL, REXX, LUA, RUBY. Many
|
||
|
of the existing syntax files have been improved.
|
||
|
- removed joe-3.0-processing.patch, joe-3.1-compilesubdir.patch,
|
||
|
joe-3.1-syntaxsegv.patch
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Fri Jan 13 2006 - schwab@suse.de
|
||
|
- Don't strip binaries.
|
||
|
* Tue Jul 05 2005 - uli@suse.de
|
||
|
- build with warnings
|
||
|
- fixed warnings Autobuild objects to (fixes s390x)
|
||
|
* Sun Jun 05 2005 - cthiel@suse.de
|
||
|
- update to 3.3
|
||
|
- disabled joe-3.1-compilesubdir.patch
|
||
|
* Wed Jun 23 2004 - uli@suse.de
|
||
|
- parse entering/leaving dir msgs from make
|
||
|
* Thu Jun 17 2004 - uli@suse.de
|
||
|
- update -> 3.1
|
||
|
* Tue Apr 27 2004 - uli@suse.de
|
||
|
- fixed segfault in syntax highlighting
|
||
|
- added highlighting rules for spec files
|
||
|
* Mon Apr 26 2004 - uli@suse.de
|
||
|
- update -> 3.0 (UTF-8 support, syntax highlighting)
|
||
|
* Sat Jan 10 2004 - adrian@suse.de
|
||
|
- build as user
|
||
|
* Tue Feb 05 2002 - egmont@suselinux.hu
|
||
|
- updated to 2.9.8-pre1
|
||
|
* Mon Jan 28 2002 - egmont@suselinux.hu
|
||
|
- disabled undo patch, seems to be very buggy
|
||
|
- use relative symlinks instead of absolute ones
|
||
|
- added symlinks for manpages
|
||
|
- added URL
|
||
|
- added defattr(-,root,root) to spec file
|
||
|
* Wed Sep 26 2001 - pmladek@suse.cz
|
||
|
- fixed problem with large files (#5833)
|
||
|
* fixed by joe-2.9.7-pre1
|
||
|
* Thu Sep 13 2001 - pmladek@suse.cz
|
||
|
- added three patches from SourceForge, thanks to
|
||
|
Koblinger Egmont <egmont@suselinux.hu> for hints
|
||
|
* resize - solves pause after xterm resizing
|
||
|
* asis - turns off -asis in the default config, as it
|
||
|
is no longer needed
|
||
|
* undo - solves a problem with undo and the "Modified" mark
|
||
|
after many savings
|
||
|
* Fri Aug 10 2001 - pmladek@suse.cz
|
||
|
- downgraded to stable version 2.9.5
|
||
|
* thanks to Koblinger Egmont <egmont@suselinux.hu> and
|
||
|
his experiences
|
||
|
* Thu Jul 19 2001 - pmladek@suse.cz
|
||
|
- updated to version 2.9.6
|
||
|
- config files moved from /usr/lib to /etc
|
||
|
- cleaned up spec file
|
||
|
* Thu May 24 2001 - pmladek@suse.cz
|
||
|
- fixed cast warnings on ia64
|
||
|
- fixed to run on ia64:
|
||
|
* argument of function isblank must have the value
|
||
|
of an unsigned char or EOF but function brc returns
|
||
|
sometimes MAXINT
|
||
|
* Fri Mar 30 2001 - uli@suse.de
|
||
|
- update -> 2.9.5 (all fixes are still there)
|
||
|
* Thu Mar 15 2001 - pblaha@suse.cz
|
||
|
- add build root
|
||
|
* Wed Mar 14 2001 - pblaha@suse.cz
|
||
|
- applied patch from Thomas Biege
|
||
|
- This patch protects a user to open a .joerc file,
|
||
|
- that doesn't belongs to him, in public writeable
|
||
|
- directories (like /tmp). Commands can be executed
|
||
|
- via .joerc.
|
||
|
* Fri Jun 23 2000 - nadvornik@suse.cz
|
||
|
- added locale patch
|
||
|
- sorted
|
||
|
* Fri May 19 2000 - schwab@suse.de
|
||
|
- conf.c: don't redeclare time on ia64
|
||
|
* Tue Apr 04 2000 - dipa@suse.de
|
||
|
- a patch that take the resizing of a X terminal into consideration
|
||
|
+#include <sys/ioctl.h> in tty.c
|
||
|
* Thu Mar 02 2000 - kukuk@suse.de
|
||
|
- Move /usr/man -> /usr/share/man
|
||
|
* Mon Sep 13 1999 - bs@suse.de
|
||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||
|
* Tue Aug 24 1999 - uli@suse.de
|
||
|
- added -fsigned-char to CFLAGS (PPC)
|
||
|
* Sat Jul 24 1999 - garloff@suse.de
|
||
|
- Applied better security fix (w/o unlinking) from thomas@suse.de
|
||
|
* Tue Jul 20 1999 - garloff@suse.de
|
||
|
- Additionally added unlink("DEADJOE");
|
||
|
* Tue Jul 20 1999 - garloff@suse.de
|
||
|
- Checked in DEADJOE permissions security fix from thomas@suse.de
|
||
|
* Wed Feb 03 1999 - ro@suse.de
|
||
|
- conf.c: don't redeclare time on alpha
|
||
|
* Mon Nov 23 1998 - max@suse.de
|
||
|
- termcap support is broken with glibc2
|
||
|
but ncurses seems to work now.
|
||
|
* Fri Sep 18 1998 - max@suse.de
|
||
|
- applied Home/End key fix from joe to the other *rc files
|
||
|
* Mon Aug 10 1998 - max@suse.de
|
||
|
- added some doc files to the file list
|
||
|
* Fri Dec 12 1997 - max@suse.de
|
||
|
- using terminfo again for bugfix reasons
|
||
|
* Tue Oct 28 1997 - max@suse.de
|
||
|
- cleaned up generated specfile
|
||
|
- configured for terminfo instead of termcap
|
||
|
- fixed the Home/End key bug
|