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