1 Summary: nano (Nano's ANOther editor)
2 Summary(pl): nano - jeszcze jeden edytor
7 Group: Applications/Editors
8 Source0: http://www.nano-editor.org/dist/v1.1/%{name}-%{version}.tar.gz
9 Patch0: %{name}-ac_fixes.patch
10 Patch1: %{name}-info.patch
11 URL: http://www.nano-editor.org/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gettext-devel
15 BuildRequires: ncurses-devel >= 5.0
16 BuildRequires: texinfo
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
21 Isn't Pico). It aims to emulate Pico as closely as possible while also
22 offering a few enhancements.
25 nano to edytor wcze¶niej znany jako TIP (Tip to nIe Pico). Jego celem
26 jest emulowanie Pico tak dobrze jk to mo¿liwe, jednocze¶nie oferuj±c
40 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc README ChangeLog AUTHORS NEWS TODO
63 %attr(755,root,root) %{_bindir}/nano