+++ /dev/null
---- nano-1.9.99pre2/src/nano.h.orig 2006-08-22 20:48:13.000000000 +0200
-+++ nano-1.9.99pre2/src/nano.h 2006-09-14 00:10:39.000000000 +0200
-@@ -71,6 +71,8 @@
- /* Ncurses support. */
- #elif defined(HAVE_NCURSES_H)
- #include <ncurses.h>
-+#elif defined(HAVE_NCURSES_NCURSES_H)
-+#include <ncurses/ncurses.h>
- #else
- /* Curses support. */
- #include <curses.h>
---- nano-2.9.8/configure.ac.orig 2018-06-12 19:41:34.569620447 +0200
-+++ nano-2.9.8/configure.ac 2018-06-12 19:47:56.142949422 +0200
-@@ -531,7 +531,7 @@
- fi
-
- if eval "test x$CURSES_LIB_NAME = x"; then
-- AC_CHECK_HEADERS(ncurses.h)
-+ AC_CHECK_HEADERS(ncurses.h ncurses/ncurses.h)
-
- if test "x$enable_utf8" != xno; then
- OLDLIBS="$LIBS"
Summary: GNU nano - Nano's ANOther editor, an enhanced free Pico clone
Summary(pl.UTF-8): GNU nano - jeszcze jeden edytor: darmowy, rozbudowany klon Pico
Name: nano
-Version: 4.9.3
+Version: 5.0
Release: 1
License: GPL v3+
Group: Applications/Editors
Source0: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz
-# Source0-md5: 52137a960ae8b3ca6d7dab6767fe6e5f
+# Source0-md5: 6afe46e78f8d6fcd8369d4d966617f47
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-info.patch
-Patch1: %{name}-ncurses-ncurses.h.patch
URL: https://www.nano-editor.org/
BuildRequires: autoconf >= 2.69
BuildRequires: automake >= 1:1.14
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__gettextize}