|
|
|
@ -7,12 +7,19 @@
@@ -7,12 +7,19 @@
|
|
|
|
|
|
|
|
|
|
Summary: A small text editor |
|
|
|
|
Name: nano |
|
|
|
|
Version: 5.6.1 |
|
|
|
|
Release: 5%{?dist} |
|
|
|
|
Version: 7.1 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
License: GPLv3+ |
|
|
|
|
URL: https://www.nano-editor.org |
|
|
|
|
Source: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz |
|
|
|
|
Source2: nanorc |
|
|
|
|
|
|
|
|
|
Source0: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz |
|
|
|
|
Source1: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz.asc |
|
|
|
|
# gpg --keyserver keyserver.ubuntu.com --recv-key 168E6F4297BFD7A79AFD4496514BBE2EB8E1961F |
|
|
|
|
# gpg --output bensberg.pgp --armor --export bensberg@telfort.nl |
|
|
|
|
Source2: bensberg.pgp |
|
|
|
|
|
|
|
|
|
# Additional sources |
|
|
|
|
Source3: nanorc |
|
|
|
|
|
|
|
|
|
# Shell snippets for default-editor setup |
|
|
|
|
Source11: nano-default-editor.sh |
|
|
|
@ -23,6 +30,7 @@ BuildRequires: file-devel
@@ -23,6 +30,7 @@ BuildRequires: file-devel
|
|
|
|
|
BuildRequires: gettext-devel |
|
|
|
|
BuildRequires: gcc |
|
|
|
|
BuildRequires: git |
|
|
|
|
BuildRequires: gnupg2 |
|
|
|
|
BuildRequires: groff |
|
|
|
|
BuildRequires: make |
|
|
|
|
BuildRequires: ncurses-devel |
|
|
|
@ -45,9 +53,21 @@ BuildArch: noarch
@@ -45,9 +53,21 @@ BuildArch: noarch
|
|
|
|
|
%description default-editor |
|
|
|
|
This package ensures the EDITOR shell variable |
|
|
|
|
is set in common shells to GNU nano. |
|
|
|
|
|
|
|
|
|
%package -n default-editor |
|
|
|
|
Summary: Metapackage for DNF group |
|
|
|
|
Recommends: nano-default-editor |
|
|
|
|
Requires: system-default-editor |
|
|
|
|
BuildArch: noarch |
|
|
|
|
|
|
|
|
|
%description -n default-editor |
|
|
|
|
The package acts as a placeholder in DNF group 'Standard', which will |
|
|
|
|
install nano-default-editor on fresh installs and it will not block users |
|
|
|
|
who don't have nano as a default editor during upgrade. |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' |
|
|
|
|
%autosetup -S git |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
@ -62,7 +82,7 @@ cd build
@@ -62,7 +82,7 @@ cd build
|
|
|
|
|
# - enable syntax highlighting by default (#1270712) |
|
|
|
|
sed -e 's/^#.*set speller.*$/set speller "hunspell"/' \ |
|
|
|
|
-e 's|^# \(include "/usr/share/nano/\*.nanorc"\)|\1|' \ |
|
|
|
|
%{SOURCE2} doc/sample.nanorc > ./nanorc |
|
|
|
|
%{SOURCE3} doc/sample.nanorc > ./nanorc |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
cd build |
|
|
|
@ -90,7 +110,8 @@ install -Dpm 0644 %{SOURCE13} %{buildroot}%{_datadir}/fish/vendor_conf.d/%{basen
@@ -90,7 +110,8 @@ install -Dpm 0644 %{SOURCE13} %{buildroot}%{_datadir}/fish/vendor_conf.d/%{basen
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%files -f build/%{name}.lang |
|
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO |
|
|
|
|
%license COPYING |
|
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO |
|
|
|
|
%doc build/doc/sample.nanorc |
|
|
|
|
%doc doc/{faq,nano}.html |
|
|
|
|
%{_bindir}/* |
|
|
|
@ -105,22 +126,63 @@ install -Dpm 0644 %{SOURCE13} %{buildroot}%{_datadir}/fish/vendor_conf.d/%{basen
@@ -105,22 +126,63 @@ install -Dpm 0644 %{SOURCE13} %{buildroot}%{_datadir}/fish/vendor_conf.d/%{basen
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/nano-default-editor.* |
|
|
|
|
%dir %{_datadir}/fish/vendor_conf.d |
|
|
|
|
%{_datadir}/fish/vendor_conf.d/nano-default-editor.fish |
|
|
|
|
|
|
|
|
|
%files -n default-editor |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.6.1-5 |
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags |
|
|
|
|
Related: rhbz#1991688 |
|
|
|
|
* Wed Dec 14 2022 Lukáš Zaoral <lzaoral@redhat.com> - 7.1-1 |
|
|
|
|
- new upstream release (#2153268) |
|
|
|
|
|
|
|
|
|
* Tue Nov 15 2022 Lukáš Zaoral <lzaoral@redhat.com> - 7.0-1 |
|
|
|
|
- new upstream release (#2142885) |
|
|
|
|
- update GPG signature key |
|
|
|
|
|
|
|
|
|
* Tue Aug 02 2022 Lukáš Zaoral <lzaoral@redhat.com> - 6.4-1 |
|
|
|
|
- new upstream release (#2113894) |
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.3-2 |
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
* Thu Apr 28 2022 Kamil Dudka <kdudka@redhat.com> - 6.3-1 |
|
|
|
|
- new upstream release |
|
|
|
|
|
|
|
|
|
* Sat Feb 19 2022 Kamil Dudka <kdudka@redhat.com> - 6.2-1 |
|
|
|
|
- new upstream release |
|
|
|
|
|
|
|
|
|
* Thu Jun 10 2021 Florian Weimer <fweimer@redhat.com> - 5.6.1-4 |
|
|
|
|
- Rebuild with updated binutils (#1960667) |
|
|
|
|
* Wed Feb 09 2022 Kamil Dudka <kdudka@redhat.com> - 6.1-1 |
|
|
|
|
- new upstream release |
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0-2 |
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
* Wed Dec 15 2021 Kamil Dudka <kdudka@redhat.com> - 6.0-1 |
|
|
|
|
- new upstream release |
|
|
|
|
|
|
|
|
|
* Wed Oct 06 2021 Kamil Dudka <kdudka@redhat.com> - 5.9-1 |
|
|
|
|
- new upstream release |
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-4 |
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
* Wed May 05 2021 Kamil Dudka <kdudka@redhat.com> - 5.6.1-3 |
|
|
|
|
* Wed Jul 07 2021 Kamil Dudka <kdudka@redhat.com> - 5.8-3 |
|
|
|
|
- fix infinite recursion when handling an error (#1976410) |
|
|
|
|
|
|
|
|
|
* Wed Jun 16 2021 Zdenek Dohnal <zdohnal@redhat.com> - 5.8-2 |
|
|
|
|
- introduce 'default-editor' subpackage to support smooth non-nano upgrades (#1955884) |
|
|
|
|
|
|
|
|
|
* Tue Jun 15 2021 Kamil Dudka <kdudka@redhat.com> - 5.8-1 |
|
|
|
|
- new upstream release |
|
|
|
|
|
|
|
|
|
* Tue May 25 2021 Florian Weimer <fweimer@redhat.com> - 5.7-3 |
|
|
|
|
- Rebuild with new binutils to fix ppc64le corruption (#1960730) |
|
|
|
|
|
|
|
|
|
* Wed May 05 2021 Kamil Dudka <kdudka@redhat.com> - 5.7-2 |
|
|
|
|
- build nano-default-editor by default only on fedora |
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.6.1-2 |
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 |
|
|
|
|
* Thu Apr 29 2021 Kamil Dudka <kdudka@redhat.com> - 5.7-1 |
|
|
|
|
- new upstream release |
|
|
|
|
|
|
|
|
|
* Wed Mar 03 2021 Kamil Dudka <kdudka@redhat.com> - 5.6.1-1 |
|
|
|
|
- new upstream release |
|
|
|
|