Summary: A small text editor Name: nano Version: 2.0.6 Release: 1%{?dist} License: GPL Group: Applications/Editors URL: http://www.nano-editor.org Source: http://www.nano-editor.org/dist/v1.3/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ncurses-devel, autoconf, gettext-devel, groff Requires(post): /sbin/install-info Requires(preun): /sbin/install-info %description GNU nano is a small and friendly text editor. %prep %setup -q iconv -f iso-8859-1 -t utf-8 -o nano.1.tmp doc/man/fr/nano.1 && mv nano.1.tmp doc/man/fr/nano.1 iconv -f iso-8859-1 -t utf-8 -o nanorc.5.tmp doc/man/fr/nano.1 && mv nanorc.5.tmp doc/man/fr/nanorc.5 %build %configure --enable-all make %install rm -rf %{buildroot} make DESTDIR="%{buildroot}" install #ln -s nano %{buildroot}%{_bindir}/pico rm -f %{buildroot}%{_infodir}/dir %find_lang %{name} %post /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir exit 0 %preun if [ $1 -eq 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir fi exit 0 %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO %doc doc/nanorc.sample %doc doc/faq.html %{_bindir}/* %{_mandir}/man*/* %{_mandir}/fr/man*/* %{_infodir}/nano.info* %{_datadir}/nano %changelog * Sun Jun 03 2007 Florian La Roche - 2.0.6-1 - update to 2.0.6 * Mon Feb 05 2007 Florian La Roche - 2.0.3-1 - update to 2.0.3 - update spec file syntax, fix scripts rh#220527 * Wed Jul 12 2006 Jesse Keating - 1.3.12-1.1 - rebuild * Mon Jul 10 2006 David Woodhouse - 1.3.12-1 - Update to 1.3.12 * Tue May 16 2006 David Woodhouse - 1.3.11-1 - Update to 1.3.11 - BuildRequires: groff (#191946) * Fri Feb 10 2006 Jesse Keating - 1.3.8-1.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1.3.8-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Sep 5 2005 David Woodhouse 1.3.8-1 - 1.3.8 * Wed Mar 2 2005 David Woodhouse 1.3.5-0.20050302 - Update to post-1.3.5 CVS tree to get UTF-8 support. * Wed Aug 04 2004 David Woodhouse 1.2.4-1 - 1.2.4 * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Apr 02 2004 Florian La Roche - 1.2.3 * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Aug 11 2003 Bill Nottingham 1.2.1-4 - build in different environment * Wed Jun 04 2003 Elliot Lee - rebuilt * Tue May 6 2003 Bill Nottingham 1.2.1-2 - description tweaks * Mon May 5 2003 Bill Nottingham 1.2.1-1 - initial build, tweak upstream spec file