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