|
@@ -1,12 +1,14 @@
|
|
|
Name: nano
|
|
|
Summary: Pico editor clone with enhancements
|
|
|
-Version: 4.9.3
|
|
|
+Version: 5.7
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Group: Applications/Editors
|
|
|
+Group: accesories
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
License: GPLv3+ and GFDL
|
|
|
URL: https://www.nano-editor.org/
|
|
|
-Source0: https://www.nano-editor.org/dist/v4/%{name}-%{version}.tar.xz
|
|
|
+Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: gettext
|
|
@@ -18,13 +20,19 @@ Requires(preun): /sbin/install-info
|
|
|
GNU nano is a small and friendly text editor. It aims to emulate the
|
|
|
Pico text editor while also offering a few enhancements.
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
%configure --enable-all
|
|
|
make
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
make DESTDIR="%{buildroot}" install
|
|
@@ -36,9 +44,11 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
+
|
|
|
%post
|
|
|
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/nano.info.gz
|
|
|
|
|
@@ -47,6 +57,7 @@ if [ $1 = 0 ] ;then
|
|
|
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/nano.info.gz
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
%license COPYING*
|
|
@@ -58,7 +69,11 @@ fi
|
|
|
%dir %{_datadir}/nano
|
|
|
%{_datadir}/nano/*
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Fri May 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.7-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.3-1
|
|
|
- new upstream release.
|
|
|
|