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