2006-12-21 13:32:37 +01:00
|
|
|
#
|
2011-03-01 04:15:35 +01:00
|
|
|
# spec file for package nano
|
2006-12-21 13:32:37 +01:00
|
|
|
#
|
2020-01-31 18:20:47 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2006-12-21 13:32:37 +01:00
|
|
|
#
|
2008-08-27 01:56:32 +02: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.
|
|
|
|
|
2018-11-12 08:58:42 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-21 13:32:37 +01:00
|
|
|
#
|
|
|
|
|
2011-03-01 10:01:41 +01:00
|
|
|
|
Accepting request 823380 from home:polslinux:branches:editors
- GNU nano 5.0:
* With --indicator (or -q or 'set indicator') nano will show a kind
of scrollbar on the righthand side of the screen to indicate where
in the buffer the viewport is located and how much it covers.
* With <Alt+Insert> any line can be "tagged" with an anchor, and
<Alt+PageUp> and <Alt+PageDown> will jump to the nearest anchor.
When using line numbers, an anchor is shown as "+" in the margin.
* The Execute Command prompt is now directly accessible from the
main menu (with ^T, replacing the Spell Checker). The Linter,
Formatter, Spell Checker, Full Justification, Suspension, and
Cut-Till-End functions are available in this menu too.
* On terminals that support at least 256 colors, nine new color
names are available: pink, purple, mauve, lagoon, mint, lime,
peach, orange, and latte. These do not have lighter versions.
* For the color names red, green, blue, yellow, cyan, magenta,
white, and black, the prefix 'light' gives a brighter color.
Prefix 'bright' is deprecated, as it means both bold AND light.
* All color names can be preceded with "bold," and/or "italic,"
(in that order) to get a bold and/or italic typeface.
* With --bookstyle (or -O or 'set bookstyle') nano considers any
line that begins with whitespace as the start of a paragraph.
* Refreshing the screen with ^L now works in every menu.
* In the main menu, ^L also centers the line with the cursor.
* Toggling the help lines with M-X now works in all menus except
in the help viewer and the linter.
* At a filename prompt, the first <Tab> lists the possibilities,
and these are listed near the bottom instead of near the top.
* Bindable function 'curpos' has been renamed to 'location'.
* Long option --tempfile has been renamed to --saveonexit.
* Short option -S is now a synonym of --softwrap.
* The New Buffer toggle (M-F) has become non-persistent. Options
--multibuffer and 'set multibuffer' still make it default to on.
* Backup files will retain their group ownership (when possible).
* Data is synced to disk before "... lines written" is shown.
* The raw escape sequences for F13 to F16 are no longer recognized.
* Distro-specific syntaxes, and syntaxes of less common languages,
have been moved down to subdirectory syntax/extra/. The affected
distros and others may wish to move wanted syntaxes one level up.
Syntaxes for Markdown, Haskell, and Ada were added.
OBS-URL: https://build.opensuse.org/request/show/823380
OBS-URL: https://build.opensuse.org/package/show/editors/nano?expand=0&rev=130
2020-07-29 14:31:24 +02:00
|
|
|
%define _version 5
|
2006-12-21 13:32:37 +01:00
|
|
|
Name: nano
|
2020-08-24 14:59:51 +02:00
|
|
|
Version: 5.2
|
2013-03-26 12:38:18 +01:00
|
|
|
Release: 0
|
2015-03-25 17:24:29 +01:00
|
|
|
Summary: Pico editor clone with enhancements
|
2018-05-20 09:25:12 +02:00
|
|
|
License: GPL-3.0-or-later
|
2016-08-04 10:05:56 +02:00
|
|
|
Group: Productivity/Text/Editors
|
2018-09-10 10:20:02 +02:00
|
|
|
URL: https://nano-editor.org/
|
2017-07-25 19:39:57 +02:00
|
|
|
Source0: https://nano-editor.org/dist/v%{_version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://nano-editor.org/dist/v%{_version}/%{name}-%{version}.tar.xz.asc
|
2016-06-20 15:05:54 +02:00
|
|
|
Source2: https://savannah.gnu.org/people/viewgpg.php?user_id=42085#/%{name}.keyring
|
2011-03-01 04:15:35 +01:00
|
|
|
BuildRequires: file-devel
|
2017-02-24 20:33:56 +01:00
|
|
|
BuildRequires: groff-full
|
|
|
|
BuildRequires: makeinfo
|
2016-06-20 15:05:54 +02:00
|
|
|
BuildRequires: pkgconfig
|
2019-03-26 10:10:46 +01:00
|
|
|
BuildRequires: pkgconfig(ncurses)
|
2017-05-10 12:54:47 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2015-03-25 17:24:29 +01:00
|
|
|
Requires(post): info
|
|
|
|
Requires(preun): info
|
2011-03-01 04:15:35 +01:00
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
%description
|
2015-03-25 17:24:29 +01:00
|
|
|
GNU nano is a small and friendly text editor. It aims to emulate
|
|
|
|
the Pico text editor while also offering a few enhancements.
|
2006-12-21 13:32:37 +01:00
|
|
|
|
2011-03-01 10:01:41 +01:00
|
|
|
%lang_package
|
2013-03-26 12:38:18 +01:00
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
%prep
|
2011-03-01 04:15:35 +01:00
|
|
|
%setup -q
|
2011-05-12 21:32:34 +02:00
|
|
|
|
2006-12-21 13:32:37 +01:00
|
|
|
%build
|
2015-03-25 17:24:29 +01:00
|
|
|
%configure \
|
|
|
|
--disable-rpath \
|
|
|
|
--enable-utf8
|
2020-04-07 22:01:39 +02:00
|
|
|
%make_build
|
2006-12-21 13:32:37 +01:00
|
|
|
|
|
|
|
%install
|
2015-03-25 17:24:29 +01:00
|
|
|
%make_install
|
2006-12-21 13:32:37 +01:00
|
|
|
|
2015-03-25 17:24:29 +01:00
|
|
|
# Move documents to a proper directory.
|
|
|
|
mkdir -p %{buildroot}%{_docdir}/
|
|
|
|
mv -f %{buildroot}%{_datadir}/doc/%{name}/ %{buildroot}%{_docdir}/%{name}/
|
2011-03-01 04:15:35 +01:00
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2008-09-13 05:55:48 +02:00
|
|
|
|
2008-02-25 17:30:35 +01:00
|
|
|
%post
|
2015-03-25 17:24:29 +01:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{?ext_info}
|
2011-03-01 10:01:41 +01:00
|
|
|
|
2011-03-01 04:15:35 +01:00
|
|
|
%preun
|
2015-03-25 17:24:29 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{?ext_info}
|
2008-02-25 17:30:35 +01:00
|
|
|
|
2010-02-18 16:42:56 +01:00
|
|
|
%files
|
2018-05-20 09:25:12 +02:00
|
|
|
%license COPYING COPYING.DOC
|
|
|
|
%doc AUTHORS ChangeLog* IMPROVEMENTS NEWS README THANKS TODO doc/sample.nanorc
|
2015-03-25 17:24:29 +01:00
|
|
|
%doc %{_docdir}/nano/
|
2010-10-06 22:40:39 +02:00
|
|
|
%{_bindir}/nano
|
|
|
|
%{_bindir}/rnano
|
2011-03-01 04:15:35 +01:00
|
|
|
%{_datadir}/nano/
|
2015-03-25 17:24:29 +01:00
|
|
|
%{_infodir}/nano.info%{?ext_info}
|
|
|
|
%{_mandir}/man1/nano.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/rnano.1%{?ext_man}
|
|
|
|
%{_mandir}/man5/nanorc.5%{?ext_man}
|
2006-12-21 13:32:37 +01:00
|
|
|
|
2010-02-18 16:42:56 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-03-29 18:21:59 +02:00
|
|
|
%changelog
|