1 Summary: nano (Nano's ANOther editor)
2 Summary(pl): nano - jeszcze jeden edytor
7 Group: Applications/Editors
8 Group(de): Applikationen/Editors
9 Group(pl): Aplikacje/Edytory
10 Group(pt): Aplicações/Editores
11 Source0: http://www.nano-editor.org/dist/%{name}-%{version}.tar.gz
12 URL: http://www.nano-editor.org/
13 BuildRequires: ncurses-devel >= 5.0
14 BuildRequires: gettext-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
19 Isn't Pico). It aims to emulate Pico as closely as possible while also
20 offering a few enhancements.
26 gettextize --copy --force
27 CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -I/usr/include/ncurses"
32 rm -rf $RPM_BUILD_ROOT
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
36 gzip -9nf 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