URL: http://www.nano-editor.org/
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: gettext-devel
BuildRequires: ncurses-devel >= 5.0
BuildRequires: texinfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%build
rm -f missing m4/*.m4
%{__gettextize}
-aclocal
+%{__aclocal}
%{__autoconf}
%{__automake}
CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf README ChangeLog AUTHORS NEWS TODO
-
%find_lang %{name}
%clean
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc README ChangeLog AUTHORS NEWS TODO
%attr(755,root,root) %{_bindir}/nano
%{_mandir}/man1/*
%{_infodir}/*info*