]> git.pld-linux.org Git - packages/nano.git/blame - nano.spec
- updated to 2.8.6
[packages/nano.git] / nano.spec
CommitLineData
47cb852f
JB
1Summary: GNU nano - Nano's ANOther editor, an enhanced free Pico clone
2Summary(pl.UTF-8): GNU nano - jeszcze jeden edytor: darmowy, rozbudowany klon Pico
73c55e77 3Name: nano
4e72e110 4Version: 2.8.6
47cb852f 5Release: 1
65d41850 6License: GPL v3+
73c55e77 7Group: Applications/Editors
8e3cb499 8Source0: https://www.nano-editor.org/dist/v2.8/%{name}-%{version}.tar.xz
4e72e110 9# Source0-md5: 66e3ca6b718d3cac7ba6c4410a198aab
663d5965 10Source1: %{name}.desktop
8aba7ac1 11Source2: %{name}.png
12Patch0: %{name}-info.patch
388a4e07 13Patch1: %{name}-ncurses-ncurses.h.patch
9d8efbf5 14URL: http://www.nano-editor.org/
8e3cb499
JB
15BuildRequires: autoconf >= 2.69
16BuildRequires: automake >= 1:1.14
17BuildRequires: gettext-tools >= 0.18.3
95672197 18BuildRequires: groff
47cb852f 19BuildRequires: libmagic-devel
73c55e77 20BuildRequires: ncurses-devel >= 5.0
8e3cb499
JB
21BuildRequires: pkgconfig
22BuildRequires: tar >= 1:1.22
c0a89782 23BuildRequires: texinfo
8e3cb499 24BuildRequires: xz
47cb852f 25BuildRequires: zlib-devel
dc38c714 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73c55e77 27
28%description
47cb852f 29GNU nano (Nano's ANOther editor) is a small, free and friendly editor
c702279a 30which aims to replace Pico, the default editor included in the
31non-free Pine package. Rather than just copying Pico's look and feel,
32nano also implements some missing (or disabled by default) features in
33Pico, such as "search and replace" and "go to line number".
73c55e77 34
e1d07199 35%description -l pl.UTF-8
47cb852f
JB
36GNU nano (Nano's ANOther editor - Nano to kolejny edytor) to mały,
37otwarty i przyjazny edytor, którego celem jest zastąpienie Pico,
38standardowego edytora zawartego w niewolnym pakiecie Pine. Oprócz
39wyglądu oraz interfejsu, nano posiada kilka brakujących (lub
40wyłączonych standardowo) w Pico funkcji, takich jak: "znajdź i zastąp"
41lub "idź do wiersza numer".
5617a770 42
73c55e77 43%prep
44%setup -q
c702279a 45%patch0 -p1
46%patch1 -p2
1e1d3339 47
73c55e77 48%build
cb5d3d12 49%{__gettextize}
c702279a 50%{__aclocal} -I m4
ed992bca 51%{__autoconf}
388a4e07 52%{__autoheader}
ed992bca 53%{__automake}
47cb852f
JB
54%configure
55
9605f910 56%{__make}
73c55e77 57
58%install
26732ec3 59rm -rf $RPM_BUILD_ROOT
d936a6d9 60install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
73c55e77 61
bed1b070
PG
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
73c55e77 64
d936a6d9 65install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
8aba7ac1 66install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
663d5965 67
73c55e77 68%find_lang %{name}
69
26732ec3 70%clean
71rm -rf $RPM_BUILD_ROOT
73c55e77 72
47cb852f 73%post -p /sbin/postshell
6199d524 74-/usr/sbin/fix-info-dir -c %{_infodir}
c0a89782 75
47cb852f 76%postun -p /sbin/postshell
6199d524 77-/usr/sbin/fix-info-dir -c %{_infodir}
c0a89782 78
73c55e77 79%files -f %{name}.lang
80%defattr(644,root,root,755)
47cb852f 81%doc AUTHORS ChangeLog IMPROVEMENTS NEWS README THANKS TODO doc/{faq.html,sample.nanorc}
73c55e77 82%attr(755,root,root) %{_bindir}/nano
bf60c6fd 83%attr(755,root,root) %{_bindir}/rnano
47cb852f 84%{_datadir}/nano
d936a6d9 85%{_desktopdir}/nano.desktop
65d41850 86%{_pixmapsdir}/nano.png
47cb852f
JB
87%{_mandir}/man1/nano.1*
88%{_mandir}/man1/rnano.1*
89%{_mandir}/man5/nanorc.5*
90%{_infodir}/nano.info*
This page took 0.166049 seconds and 4 git commands to generate.