1 Summary: nano (Nano's ANOther editor)
6 Group: Applications/Editors
7 Group(de): Applikationen/Editors
8 Group(pl): Aplikacje/Edytory
9 Group(pt): Aplicações/Editores
10 Source0: ftp://ftp.asty.org/pub/nano/%{name}-%{version}.tar.gz
11 URL: http://www.asty.org/nano/
12 BuildRequires: ncurses-devel >= 5.0
13 BuildRequires: gettext-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
18 Isn't Pico). It aims to emulate Pico as closely as possible while also
19 offering a few enhancements.
25 gettextize --copy --force
26 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
31 rm -rf $RPM_BUILD_ROOT
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35 gzip -9nf README ChangeLog AUTHORS NEWS TODO \
36 $RPM_BUILD_ROOT%{_mandir}/man1/*
41 rm -rf $RPM_BUILD_ROOT
43 %files -f %{name}.lang
44 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/nano