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