2002-03-30 16:51:38 +00:00
|
|
|
%define name @PACKAGE@
|
2006-11-05 03:44:41 +00:00
|
|
|
%define version @VERSION@
|
|
|
|
%define release 1
|
2002-03-30 16:51:38 +00:00
|
|
|
|
|
|
|
Summary : Pico editor clone with enhancements
|
|
|
|
Name : %{name}
|
2006-11-05 03:44:41 +00:00
|
|
|
Version : %{version}
|
|
|
|
Release : %{release}
|
|
|
|
License : GPL
|
|
|
|
Group : Applications/Editors
|
2006-06-02 21:21:53 +00:00
|
|
|
URL : http://www.nano-editor.org/
|
2006-11-05 03:44:41 +00:00
|
|
|
Source : http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot : %{_tmppath}/%{name}-%{version}-root
|
2006-11-05 17:00:41 +00:00
|
|
|
BuildRequires : autoconf, automake, gettext-devel, ncurses-devel
|
2002-03-30 16:51:38 +00:00
|
|
|
|
|
|
|
%description
|
2006-11-05 03:44:41 +00:00
|
|
|
GNU nano is a small and friendly text editor. It aims to emulate the
|
|
|
|
Pico text editor while also offering a few enhancements.
|
2002-03-30 16:51:38 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2003-02-08 22:05:50 +00:00
|
|
|
%configure --enable-all
|
2006-11-05 03:44:41 +00:00
|
|
|
make
|
2002-03-30 16:51:38 +00:00
|
|
|
|
|
|
|
%install
|
2006-11-05 03:44:41 +00:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR="%{buildroot}" install
|
2002-03-30 16:51:38 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2003-11-04 18:34:44 +00:00
|
|
|
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
|
2004-08-01 22:00:29 +00:00
|
|
|
%{_bindir}/*
|
2006-11-05 17:13:44 +00:00
|
|
|
%{_mandir}/man*/*
|
|
|
|
%{_mandir}/fr/man*/*
|
|
|
|
%{_infodir}/nano.info*
|
2002-03-30 16:51:38 +00:00
|
|
|
%{_datadir}/locale/*/LC_MESSAGES/nano.mo
|
2006-06-01 17:23:28 +00:00
|
|
|
%{_datadir}/nano/*
|