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 Source1: %{name}.desktop
11 Patch0: %{name}-info.patch
12 Patch1: %{name}-ac_fixes.patch
13 Patch2: %{name}-am_fixes.patch
14 URL: http://www.nano-editor.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gettext-devel
18 BuildRequires: ncurses-devel >= 5.0
19 BuildRequires: texinfo
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 nano (Nano's ANOther editor) is the editor formerly known as TIP (TIP
24 Isn't Pico). It aims to emulate Pico as closely as possible while also
25 offering a few enhancements.
28 nano to edytor wcze¶niej znany jako TIP (Tip to nIe Pico). Jego celem
29 jest emulowanie Pico tak dobrze jak to mo¿liwe, jednocze¶nie oferuj±c
44 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Editors,%{_pixmapsdir}}
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
60 rm -rf $RPM_BUILD_ROOT
63 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
66 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc README ChangeLog AUTHORS NEWS TODO
71 %attr(755,root,root) %{_bindir}/nano
72 %{_applnkdir}/Editors/nano.desktop