2007-01-16 00:19:02 +01:00
|
|
|
#
|
2011-08-04 14:48:26 +02:00
|
|
|
# spec file for package joe
|
2007-01-16 00:19:02 +01:00
|
|
|
#
|
- Update to 4.2:
* New or improved syntax files for the following languages:
* Dockerfile
* Usability Enhancements
* The top Google help searches for JOE include:
* How do I save and exit? The startup copyright notice
has been replaced with basic help for beginners
* How do I dismiss the region highlighting?
Changed to Ctrl-C will do it.
* How do I close all files and exit? Now Ctrl-K Q does this.
* Restyle the help screens.
* Remove time and "Ctrl-K H for help" message from status bar.
* Add ^KH for help to search and replace prompts.
* Provide aborthint and helphint options
* Enable -noxon by default (disable ^S/^Q flow control).
* Document ESC X (command prompt) in the help screens.
* "joe --help" now prints all command line options.
* Other Enhancements
* Tags search now tries to find the tags file in parent directories
if it does not exist in the current directory and if the TAGS
environment variable was not set.
* Built-in calculator can now print and accept numbers in binary,
octal and engineering formats:
__dec__ 12_345
__eng__ 12.345_0e3
__bin__ 0b11_0000_0011_1001
__oct__ 0o3_0071
__hex__ 0x3039
* Built-in calculator now prints and accepts separating underscores
for clarity.
* Enhanced calculator statistics functions:
* __dev__ computes standard deviation with full population
* __samp__ computes standard deviation with sample of population
* Linear regression analysis. Select a region of x
and y values, then:
* __lr__(x) provide estimate of y given x
* __rlr__(y) provide estimate of x given y
* __Lr__, __lR__, __LR__: log, exponential, power regression
* Calculator region functions now assume the entire buffer if no
region is set.
* Tab completion now works at the calculator prompt (and in all
prompts which allow numeric input, such as ^KL- go to line).
* Make new regex engine (from JOE 4.1) more compatible with the
classic engine. \\y is now shorthand for \\(\\.\\\*\\), so that it does
what \\\* did in the old engine. Also:
* \\. no longer matches newline.
* \\\* matches shortest match, not longest match.
* Add -left and -right options to control the amount scrolling when
the cursor moves past the left or right edge of the screen.
* Bugs fixed
* Fix use after free bug which shows up as a crash in OpenBSD
* Fix bug where indent step value was not shown on ^T menu
* Fix bug where setting margin doesn't work on big-endian systems
* Fix issue where highest valued unicode character equivalent was
not translating to its corresponding 8-bit character. Effect
of this was that Delete key was not working in shell windows in
ASCII character set.
* Standard deviation calculator function was not producing correct
results.
* Allow koi8r and koi8-r for KOI8-R in joe_getcodeset (which is only
used if there is no setlocale).
* Guess_crlf forced UNIX line endings for new files even though
crlf was set. Now crlf is left alone if guess_crlf can not
determine the line ending.
* If cursor was at end of a long line and you switched to hex dump
display mode, then hex dump was scrolled. Now scroll offset is
reset when you switch to hex display mode.
- Resynched patches:
joe-3.3-warnings.patch
joe-3.7-spec_association.patch
- Update German translations
OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=26
2016-05-02 10:57:57 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:19:02 +01:00
|
|
|
#
|
2009-01-21 14:09:50 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:19:02 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-03-06 19:35:44 +01:00
|
|
|
|
2007-01-16 00:19:02 +01:00
|
|
|
Name: joe
|
- Update to 4.2:
* New or improved syntax files for the following languages:
* Dockerfile
* Usability Enhancements
* The top Google help searches for JOE include:
* How do I save and exit? The startup copyright notice
has been replaced with basic help for beginners
* How do I dismiss the region highlighting?
Changed to Ctrl-C will do it.
* How do I close all files and exit? Now Ctrl-K Q does this.
* Restyle the help screens.
* Remove time and "Ctrl-K H for help" message from status bar.
* Add ^KH for help to search and replace prompts.
* Provide aborthint and helphint options
* Enable -noxon by default (disable ^S/^Q flow control).
* Document ESC X (command prompt) in the help screens.
* "joe --help" now prints all command line options.
* Other Enhancements
* Tags search now tries to find the tags file in parent directories
if it does not exist in the current directory and if the TAGS
environment variable was not set.
* Built-in calculator can now print and accept numbers in binary,
octal and engineering formats:
__dec__ 12_345
__eng__ 12.345_0e3
__bin__ 0b11_0000_0011_1001
__oct__ 0o3_0071
__hex__ 0x3039
* Built-in calculator now prints and accepts separating underscores
for clarity.
* Enhanced calculator statistics functions:
* __dev__ computes standard deviation with full population
* __samp__ computes standard deviation with sample of population
* Linear regression analysis. Select a region of x
and y values, then:
* __lr__(x) provide estimate of y given x
* __rlr__(y) provide estimate of x given y
* __Lr__, __lR__, __LR__: log, exponential, power regression
* Calculator region functions now assume the entire buffer if no
region is set.
* Tab completion now works at the calculator prompt (and in all
prompts which allow numeric input, such as ^KL- go to line).
* Make new regex engine (from JOE 4.1) more compatible with the
classic engine. \\y is now shorthand for \\(\\.\\\*\\), so that it does
what \\\* did in the old engine. Also:
* \\. no longer matches newline.
* \\\* matches shortest match, not longest match.
* Add -left and -right options to control the amount scrolling when
the cursor moves past the left or right edge of the screen.
* Bugs fixed
* Fix use after free bug which shows up as a crash in OpenBSD
* Fix bug where indent step value was not shown on ^T menu
* Fix bug where setting margin doesn't work on big-endian systems
* Fix issue where highest valued unicode character equivalent was
not translating to its corresponding 8-bit character. Effect
of this was that Delete key was not working in shell windows in
ASCII character set.
* Standard deviation calculator function was not producing correct
results.
* Allow koi8r and koi8-r for KOI8-R in joe_getcodeset (which is only
used if there is no setlocale).
* Guess_crlf forced UNIX line endings for new files even though
crlf was set. Now crlf is left alone if guess_crlf can not
determine the line ending.
* If cursor was at end of a long line and you switched to hex dump
display mode, then hex dump was scrolled. Now scroll offset is
reset when you switch to hex display mode.
- Resynched patches:
joe-3.3-warnings.patch
joe-3.7-spec_association.patch
- Update German translations
OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=26
2016-05-02 10:57:57 +02:00
|
|
|
Version: 4.2
|
2011-12-02 20:06:45 +01:00
|
|
|
Release: 0
|
2007-01-16 00:19:02 +01:00
|
|
|
Summary: A Text Editor
|
2013-03-06 19:35:44 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Editors/Other
|
2008-04-06 10:27:32 +02:00
|
|
|
Url: http://sourceforge.net/projects/joe-editor
|
2015-10-04 22:57:00 +02:00
|
|
|
Source: http://downloads.sf.net/joe-editor/%name-%version.tar.gz
|
2007-06-24 11:46:28 +02:00
|
|
|
Source2: de.po
|
2015-07-08 16:37:15 +02:00
|
|
|
Source3: joe-rpmlintrc
|
2009-01-21 14:09:50 +01:00
|
|
|
Patch2: joe-3.1-fix_isblanck_argument.patch
|
2007-01-16 00:19:02 +01:00
|
|
|
Patch3: joe-3.3-warnings.patch
|
2009-01-22 13:10:27 +01:00
|
|
|
Patch7: joe-3.7-additional_key_mappings.patch
|
|
|
|
Patch8: joe-3.7-spec_association.patch
|
2009-10-26 16:55:32 +01:00
|
|
|
Patch10: joe-sigiot.patch
|
2015-07-08 09:36:46 +02:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: ncurses-devel
|
2007-01-16 00:19:02 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2015-07-08 09:36:46 +02:00
|
|
|
Joe is a powerful, easy to use, modeless text editor. It uses the same
|
|
|
|
WordStar keybindings used in Borland's development environment.
|
2007-01-16 00:19:02 +01:00
|
|
|
|
|
|
|
%prep
|
2007-06-24 11:46:28 +02:00
|
|
|
%setup -q
|
2015-07-08 09:36:46 +02:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch10 -p1
|
2013-03-06 19:35:44 +01:00
|
|
|
|
2007-01-16 00:19:02 +01:00
|
|
|
%build
|
2009-01-21 14:09:50 +01:00
|
|
|
autoreconf -fi
|
|
|
|
export CFLAGS="%{optflags} -W -Wno-unused"
|
2011-10-20 08:45:06 +02:00
|
|
|
%configure \
|
2007-01-16 00:19:02 +01:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--mandir=%{_mandir} \
|
2009-01-21 14:09:50 +01:00
|
|
|
--sysconfdir=%{_sysconfdir} \
|
2015-07-08 09:36:46 +02:00
|
|
|
--docdir=%{_defaultdocdir}/%{name}
|
|
|
|
|
2013-11-30 11:13:44 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:19:02 +01:00
|
|
|
|
|
|
|
%install
|
2015-07-08 09:36:46 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2007-01-16 00:19:02 +01:00
|
|
|
for i in jmacs jpico jstar rjoe; do
|
2009-01-21 14:09:50 +01:00
|
|
|
ln -s joe.1.gz %{buildroot}%{_mandir}/man1/$i.1.gz
|
2007-01-16 00:19:02 +01:00
|
|
|
done
|
2015-07-08 09:36:46 +02:00
|
|
|
rm -rf %{buildroot}/%{_datadir}/%{name}/lang
|
2007-01-16 00:19:02 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-01-21 14:09:50 +01:00
|
|
|
%doc %{_defaultdocdir}/%{name}
|
2015-07-08 09:36:46 +02:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/*/man1/*
|
2009-01-21 14:09:50 +01:00
|
|
|
%config %{_sysconfdir}/joe/*
|
|
|
|
%dir %{_sysconfdir}/joe
|
|
|
|
%dir %{_datadir}/%{name}
|
2009-01-22 13:10:27 +01:00
|
|
|
%dir %{_mandir}/ru
|
|
|
|
%dir %{_mandir}/ru/man1
|
2007-01-16 00:19:02 +01:00
|
|
|
%{_bindir}/*
|
2009-01-21 14:09:50 +01:00
|
|
|
%{_datadir}/%{name}/charmaps
|
2009-10-26 16:55:32 +01:00
|
|
|
%dir %{_datadir}/%{name}/syntax
|
|
|
|
%config(noreplace) %{_datadir}/%{name}/syntax/*
|
2007-01-16 00:19:02 +01:00
|
|
|
|
2007-04-03 21:34:02 +02:00
|
|
|
%changelog
|