]> git.pld-linux.org Git - packages/nano.git/blobdiff - nano.spec
- updated to 2.8.6
[packages/nano.git] / nano.spec
index c087200d522f98591d9b80d66f83f1d710baea48..4e34b1c59c39148b8bc2bd08b05caf4540e6387b 100644 (file)
--- a/nano.spec
+++ b/nano.spec
@@ -1,38 +1,44 @@
-Summary:       nano - Nano's ANOther editor, an enhanced free Pico clone
-Summary(pl.UTF-8):     nano - jeszcze jeden edytor, darmowy, rozbudowany klon Pico
+Summary:       GNU nano - Nano's ANOther editor, an enhanced free Pico clone
+Summary(pl.UTF-8):     GNU nano - jeszcze jeden edytor: darmowy, rozbudowany klon Pico
 Name:          nano
-Version:       2.1.10
+Version:       2.8.6
 Release:       1
 License:       GPL v3+
 Group:         Applications/Editors
-Source0:       http://www.nano-editor.org/dist/v2.1/%{name}-%{version}.tar.gz
-# Source0-md5: f55bd9efeccf9da98950b54a4b0d872e
+Source0:       https://www.nano-editor.org/dist/v2.8/%{name}-%{version}.tar.xz
+# Source0-md5: 66e3ca6b718d3cac7ba6c4410a198aab
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-ncurses-ncurses.h.patch
 URL:           http://www.nano-editor.org/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gettext-devel
-BuildRequires: glib2-devel
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.14
+BuildRequires: gettext-tools >= 0.18.3
+BuildRequires: groff
+BuildRequires: libmagic-devel
 BuildRequires: ncurses-devel >= 5.0
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo
+BuildRequires: xz
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-nano (Nano's ANOther editor) is a small, free and friendly editor
+GNU nano (Nano's ANOther editor) is a small, free and friendly editor
 which aims to replace Pico, the default editor included in the
 non-free Pine package. Rather than just copying Pico's look and feel,
 nano also implements some missing (or disabled by default) features in
 Pico, such as "search and replace" and "go to line number".
 
 %description -l pl.UTF-8
-nano to mały, otwarty i przyjazny edytor, którego celem jest
-zastąpienie Pico, standardowego edytora zawartego w niewolnym pakiecie
-Pine. Oprócz wyglądu oraz interfejsu, nano posiada kilka brakujących
-(lub wyłączonych standardowo) w Pico funkcji, takich jak: "znajdź i
-zastąp" lub "idź do wiersza numer".
+GNU nano (Nano's ANOther editor - Nano to kolejny edytor) to mały,
+otwarty i przyjazny edytor, którego celem jest zastąpienie Pico,
+standardowego edytora zawartego w niewolnym pakiecie Pine. Oprócz
+wyglądu oraz interfejsu, nano posiada kilka brakujących (lub
+wyłączonych standardowo) w Pico funkcji, takich jak: "znajdź i zastąp"
+lub "idź do wiersza numer".
 
 %prep
 %setup -q
@@ -45,8 +51,8 @@ zastąp" lub "idź do wiersza numer".
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure \
-       --enable-all
+%configure
+
 %{__make}
 
 %install
@@ -61,25 +67,24 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %find_lang %{name}
 
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p      /sbin/postshell
+%post  -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun        -p      /sbin/postshell
+%postun        -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO UPGRADE doc/nanorc.sample doc/faq.html
+%doc AUTHORS ChangeLog IMPROVEMENTS NEWS README THANKS TODO doc/{faq.html,sample.nanorc}
 %attr(755,root,root) %{_bindir}/nano
 %attr(755,root,root) %{_bindir}/rnano
+%{_datadir}/nano
 %{_desktopdir}/nano.desktop
-%{_mandir}/man[15]/*
-%lang(fr) %{_mandir}/fr/man[15]/*
-%{_infodir}/*info*
 %{_pixmapsdir}/nano.png
-%{_datadir}/nano
+%{_mandir}/man1/nano.1*
+%{_mandir}/man1/rnano.1*
+%{_mandir}/man5/nanorc.5*
+%{_infodir}/nano.info*
This page took 0.101154 seconds and 4 git commands to generate.