nano.spec   [plain text]

%define name	nano
%define version	2.0.1
%define release	1

Summary	: Pico editor clone with enhancements
Name		: %{name}
Version		: %{version}
Release		: %{release}
License		: GPL
Group		: Applications/Editors
URL		:
Source		:{name}-%{version}.tar.gz
BuildRoot	: %{_tmppath}/%{name}-%{version}-root
BuildRequires	: autoconf, automake, gettext-devel, ncurses-devel

GNU nano is a small and friendly text editor.  It aims to emulate the
Pico text editor while also offering a few enhancements.

%setup -q

%configure --enable-all

rm -rf %{buildroot}
make DESTDIR="%{buildroot}" install

%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample