summaryrefslogtreecommitdiff
path: root/nano.spec
diff options
context:
space:
mode:
Diffstat (limited to 'nano.spec')
-rw-r--r--nano.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/nano.spec b/nano.spec
index 117bbae..ba25819 100644
--- a/nano.spec
+++ b/nano.spec
@@ -1,17 +1,17 @@
%define name nano
-%define version 2.2.6
+%define version 2.4.0
%define release 1
Summary : Pico editor clone with enhancements
Name : %{name}
Version : %{version}
Release : %{release}
-License : GPL
+License : GPLv3+
Group : Applications/Editors
URL : http://www.nano-editor.org/
-Source : http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
+Source : http://www.nano-editor.org/dist/v2.3/%{name}-%{version}.tar.gz
BuildRoot : %{_tmppath}/%{name}-%{version}-root
-BuildRequires : autoconf, automake, gettext-devel, ncurses-devel
+BuildRequires : autoconf, automake, gettext-devel, ncurses-devel, texinfo
%description
GNU nano is a small and friendly text editor. It aims to emulate the
@@ -21,17 +21,19 @@ Pico text editor while also offering a few enhancements.
%setup -q
%build
-%configure --enable-all
+%configure
make
%install
-rm -rf %{buildroot}
make DESTDIR="%{buildroot}" install
+#ln -s nano %{buildroot}%{_bindir}/pico
+rm -f %{buildroot}%{_infodir}/dir
%files
%defattr(-,root,root)
-%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
%{_bindir}/*
+%{_docdir}/nano/*
%{_mandir}/man*/*
%{_mandir}/fr/man*/*
%{_infodir}/nano.info*