1 Summary: nano - Nano's ANOther editor, an enhanced free Pico clone
2 Summary(pl): nano - jeszcze jeden edytor, darmowy, rozbudowany klon Pico
7 Group: Applications/Editors
8 Source0: http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
9 # Source0-md5: 38046476096530e19a7e805513c64108
10 Source1: %{name}.desktop
12 Patch0: %{name}-info.patch
13 Patch1: %{name}-ncurses-ncurses.h.patch
14 URL: http://www.nano-editor.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gettext-devel
18 BuildRequires: glib-devel
19 BuildRequires: ncurses-devel >= 5.0
20 BuildRequires: texinfo
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 nano (Nano's ANOther editor) is a small, free and friendly editor
25 which aims to replace Pico, the default editor included in the
26 non-free Pine package. Rather than just copying Pico's look and feel,
27 nano also implements some missing (or disabled by default) features in
28 Pico, such as "search and replace" and "go to line number".
31 nano to ma³y, otwarty i przyjazny edytor, którego celem jest
32 zast±pienie Pico, standardowego edytora zawartego w niewolnym pakiecie
33 Pine. Oprócz wygl±du oraz interfejsu, nano posiada kilka brakuj±cych
34 (lub wy³±czonych standardowo) w Pico funkcji, takich jak: "znajd¼ i
35 zast±p" lub "id¼ do wiersza numer".
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
57 DESTDIR=$RPM_BUILD_ROOT
59 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
60 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
64 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
67 rm -rf $RPM_BUILD_ROOT
70 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
73 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO UPGRADE doc/nanorc.sample doc/faq.html
78 %attr(755,root,root) %{_bindir}/nano
79 %{_desktopdir}/nano.desktop
81 %lang(fr) %{_mandir}/fr/man[15]/*