SHA256
1
0
forked from pool/nano

Accepting request 160847 from home:adra:branches:editors

Update to version 2.3.2

OBS-URL: https://build.opensuse.org/request/show/160847
OBS-URL: https://build.opensuse.org/package/show/editors/nano?expand=0&rev=21
This commit is contained in:
Philipp Thomas 2013-03-26 11:38:18 +00:00 committed by Git OBS Bridge
parent 11f403bfb6
commit 803f541e87
4 changed files with 28 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a93f1e15a0efc1d1a51501d693b0e28ab1482362c80d47c9f96dfaec5d482b8a
size 1095536

3
nano-2.3.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff309248071486445609ad4269b798262a1324d7503dc09dea289f5b60106be8
size 1725485

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Mar 23 23:05:28 UTC 2013 - asterios.dramis@gmail.com
- Update to version 2.3.2:
* vim-style file locking (though not backup/restore), useful when using nano
in a multi-editor environment.
* Additional support for word boundary checking when cross compiling.
* Fixes for trying to go to an invalid line number.
* Documentation tweaks.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 11 17:21:21 UTC 2011 - asterios.dramis@gmail.com Wed May 11 17:21:21 UTC 2011 - asterios.dramis@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package nano # spec file for package nano
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,32 +15,28 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: nano Name: nano
Version: 2.3.1 Version: 2.3.2
Release: 1 Release: 0
Summary: Pico Editor Clone with Enhancements Summary: Pico Editor Clone with Enhancements
License: GPL-3.0+
License: GPLv3+
Url: http://www.nano-editor.org/
Group: Productivity/Editors/Other Group: Productivity/Editors/Other
# http://www.nano-editor.org/dist/v2.3/%{name}-%{version}.tar.gz Url: http://www.nano-editor.org/
Source0: %{name}-%{version}.tar.bz2 Source0: http://www.nano-editor.org/dist/v2.3/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: file-devel BuildRequires: file-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
Requires(post): info Requires(post): info
Requires(preun): info Requires(preun): info
Recommends: %{name}-lang = %{version} Recommends: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
GNU nano is a small and friendly text editor. It aims to emulate the GNU nano is a small and friendly text editor. It aims to emulate the
Pico text editor while also offering a few enhancements. Pico text editor while also offering a few enhancements.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
@ -52,7 +48,7 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/nano.c
%build %build
%configure --disable-rpath --enable-utf8 %configure --disable-rpath --enable-utf8
%__make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%makeinstall %makeinstall
@ -61,18 +57,15 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/nano.c
rm -rf %{buildroot}%{_datadir}/nano/man-html/ rm -rf %{buildroot}%{_datadir}/nano/man-html/
# Manually install the doc files in order to easily split them between the main and lang package # Manually install the doc files in order to easily split them between the main and lang package
install -dp -m 0755 %{buildroot}%{_defaultdocdir}/nano install -dpm 0755 %{buildroot}%{_defaultdocdir}/nano
install -p -m 0644 AUTHORS BUGS COPYING COPYING.DOC ChangeLog ChangeLog.pre-2.1 NEWS README THANKS TODO UPGRADE %{buildroot}%{_defaultdocdir}/nano/ install -pm 0644 AUTHORS BUGS COPYING COPYING.DOC ChangeLog ChangeLog.pre-2.1 NEWS README THANKS TODO UPGRADE %{buildroot}%{_defaultdocdir}/nano/
install -p -m 0644 doc/faq.html doc/nanorc.sample %{buildroot}%{_defaultdocdir}/nano/ install -pm 0644 doc/faq.html doc/nanorc.sample %{buildroot}%{_defaultdocdir}/nano/
install -dp -m 0755 %{buildroot}%{_defaultdocdir}/nano/man-html/fr install -dpm 0755 %{buildroot}%{_defaultdocdir}/nano/man-html/fr
install -p -m 0644 doc/man/*.html %{buildroot}%{_defaultdocdir}/nano/man-html/ install -pm 0644 doc/man/*.html %{buildroot}%{_defaultdocdir}/nano/man-html/
install -p -m 0644 doc/man/fr/*.html %{buildroot}%{_defaultdocdir}/nano/man-html/fr/ install -pm 0644 doc/man/fr/*.html %{buildroot}%{_defaultdocdir}/nano/man-html/fr/
%find_lang %{name} --with-man --all-name %find_lang %{name} --with-man --all-name
%clean
%__rm -rf %{buildroot}
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}