GNU nano 8.1
OBS-URL: https://build.opensuse.org/package/show/editors/nano?expand=0&rev=175
This commit is contained in:
commit
92b874db25
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
nano-8.0.tar.xz
Normal file
3
nano-8.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c17f43fc0e37336b33ee50a209c701d5beb808adc2d9f089ca831b40539c9ac4
|
||||
size 1666272
|
16
nano-8.0.tar.xz.asc
Normal file
16
nano-8.0.tar.xz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmYyAKAACgkQUUu+Lrjh
|
||||
lh9mhhAAjg/aR91N0e9fpSs7T/SxJ7GfJ4d7i/cvm4eKOp3usoMbzz5jCAP9tv5I
|
||||
4G3uhgwSYael1ffjNx6HKtOYu21PrU/9PWEXK6qliC2ZMlrnL1TmVwp2F2T4VLQU
|
||||
JfIj1xwb4TljyLfQeVKZTt2gqgviYB2YOIQZFlBbPFzUrNMnX74+WT2QcIVtQ661
|
||||
VkheFgHS9/BfC3MgRaPG5hVFQ/j31xsxGroxTwv5XDSR2hKljqYBgv3X+S1id3m1
|
||||
ykcd7iHV0uezGEMlHRvRlPGrS3+TDfmyW0f8fgoD69Xlg/nFpTieQzLCJq1Gw+Zz
|
||||
Y0foIHHHBygbUCowNs877fBHw0JEM8XaYqLNvBHbvZsmHcMHX3WZvC7MXiGAawWx
|
||||
M0Li16m8nkcXMxqW8uAA6D0d+1CG2PsSGoAcn6OGzZ30lSLJb+2iZyYDDoTLW+Ml
|
||||
As1QeDD4Iz7WTtiymWfcEFQVOaFvGNgbVWEe6BXRo5LKWinD3Vv83DoIxQ2iRnf+
|
||||
CiJ/citXPolRF8nmJ/A1nfiLeUF1yI3f3gq7N9TGw04aDunUP6exTRLCkIzLpGr9
|
||||
Rp/kugibQlNbsRWCVkfJR0uzsyG9XFxJhhnwGs6iZVIGiMx3KM27xHswOV9Blajc
|
||||
iON3lNnwg/1yjiSAkk4uaN9iHb/qEfv6MPfbsuVYe/rTQ9rpdlw=
|
||||
=6nd+
|
||||
-----END PGP SIGNATURE-----
|
3
nano-8.1.tar.xz
Normal file
3
nano-8.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:93b3e3e9155ae389fe9ccf9cb7ab380eac29602835ba3077b22f64d0f0cbe8cb
|
||||
size 1667392
|
16
nano-8.1.tar.xz.asc
Normal file
16
nano-8.1.tar.xz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmaQ9jIACgkQUUu+Lrjh
|
||||
lh+rhw//YpfYgFX0DSQhfAQqvBiZrqp5pc3NwutW91K2lNfx00zq68FaHBmXMzrT
|
||||
gqJVGM6p37rI7HXDPsmlM2WIovfr+GtxWRg3zG2x421zo0KaQvGEmwcZniGqKniY
|
||||
8mvJi/16RppkNtINh1gcUYQbqzTesOyiEpDUG++Yhbeu/Hlk9PL0W8rIhEht5TOf
|
||||
AAdwlT7G//l8mFawzG2m1t3AbDyk70E/2pB2jiRkz7ZyePK1ki8GU3ZAO+7+SkNI
|
||||
g6JjQ1ki+Bk1mRmKR/R1lDXsr1JnD4mPdOUTD+VmlgKfvNmcjHnm++4Pc/pxglVs
|
||||
wRzH9743GX2j7vHbLj1s0EJ+ubTTWzCYbp3xfDmtFqM4/sA51cFMAVOnUeQxRQYo
|
||||
UzUVQfZJ9lrSY9401IZm1tquHVSAILBbWO56m0SlO8Yz1LLW1dJ/qPGfNoHX5ae0
|
||||
z7U8FWmziioudkgY1D4BPdPiY6wWSQBLP/Y+h3qZBIiQGVvBSNYqwiUWvzuiQFj1
|
||||
UOel0KlxbVrSgaOJNLr358UccWaekrtxQef0V/oLaGlo3VJ867Tt+hovsALdPy7j
|
||||
N5/mrySZycx4R3xzlAK+dUkoOl1x7bokCLmI3NY50yTaxJSeY26RdfblY+rTNgob
|
||||
nI1HjQWAkMPfhE+hz2JIM2nkgLCsZy1g/+MuzjMds4L6FnFIuaA=
|
||||
=Ah76
|
||||
-----END PGP SIGNATURE-----
|
1418
nano.changes
Normal file
1418
nano.changes
Normal file
File diff suppressed because it is too large
Load Diff
77
nano.keyring
Normal file
77
nano.keyring
Norm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Pv
|
||||
1R+nqt+iFb2cZbQIkcj89ysAEQEAAYkCPAQYAQoAJhYhBBaOb0KXv9enmv1EllFL
|
||||
vi644ZYfBQJjUR2uAhsMBQkNh2EpAAoJEFFLvi644ZYf/mQQALa9HqcvhaH2R1ft
|
||||
xwI0CO/Uhem/NTLx1L8gwCLbAmyH+tSOm0ybFhocTmvmCcZmTyKXkOuujr0oaFx0
|
||||
jktwJvegHU0heMdeEE92c3vMTlR4tpFGx8E0XU3Mj4J+kaMvwCUeozi4ZC9Csh4V
|
||||
9W+pIyJGaGQlD6ZJpgrIH+R3qIdrO1hbZeijmgbciT7FyX8ht9KTK898IdwQM09w
|
||||
3HNDvNKpbux2QsWEdFbezUBto2KZGek68oA7AQ8wDHmASp1ML6Jkl2JbyJz57Baz
|
||||
j+Fb47et2dHfF/3ISEwt+/9Q9U22aiT7JDFvdvChlezNFIVlrN89p1FO8LC6dSUa
|
||||
aoX7W3zRyydcxCNTpQv1HalwgEzxIsL+msaPyrO5NVn40EmNSSsE0GPg15BgyhM9
|
||||
yjizJhaU74dgQECWuSHKFj29uVyVS5Y2A1XbsPPqiB/yOFKq3kZBnT1sHX91k7EK
|
||||
K8dqxmXCIqkG9iMh/vId/gI6d9Ci57nY0FluIrbE/L9z1Gei2eMFsFmSvnW9fIc3
|
||||
NtKfnvQRBOXedCw0kmvyScJ6EZ3znoV0PFstgvmp4wSlnb2Dw74euRcBe5/wxX1V
|
||||
AHSYhqKWMnoe6snYnUQR9h5Wm7A5sq4D91+uMVHTr/1llbSDS+6J1tE6WNg5gpiU
|
||||
LhOr0IoxlSTtUCDY2c49wqh850GA
|
||||
=0djc
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
98
nano.spec
Normal file
98
nano.spec
Normal file
@ -0,0 +1,98 @@
|
||||
#
|
||||
# spec file for package nano
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define _version 8
|
||||
Name: nano
|
||||
Version: 8.1
|
||||
Release: 0
|
||||
Summary: Pico editor clone with enhancements
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Text/Editors
|
||||
URL: https://nano-editor.org/
|
||||
Source0: https://nano-editor.org/dist/v%{_version}/%{name}-%{version}.tar.xz
|
||||
Source1: https://nano-editor.org/dist/v%{_version}/%{name}-%{version}.tar.xz.asc
|
||||
Source2: https://savannah.gnu.org/people/viewgpg.php?user_id=42085#/%{name}.keyring
|
||||
Source3: nanorc
|
||||
# PATCH-FIX-OPENSUSE obs-channel-and-patchinfo-syntax.patch maurizio.galli@suse.com -- enable syntax for _channel and _patchinfo files used by OBS
|
||||
Patch0: obs-channel-and-patchinfo-syntax.patch
|
||||
BuildRequires: file-devel
|
||||
BuildRequires: groff-full
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
%description
|
||||
GNU nano is a small and friendly text editor. It aims to emulate
|
||||
the Pico text editor while also offering a few enhancements.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--enable-utf8
|
||||
%make_build
|
||||
|
||||
# generate default /etc/nanorc
|
||||
# - set hunspell as the default spell-checker
|
||||
# - enable syntax highlighting by default
|
||||
sed -e 's/^#.*set speller.*$/set speller "hunspell"/' \
|
||||
-e 's|^# \(include "%{_datadir}/nano/\*.nanorc"\)|\1|' \
|
||||
%{SOURCE3} doc/sample.nanorc > ./nanorc
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# Move documents to a proper directory.
|
||||
mkdir -p %{buildroot}%{_docdir}/
|
||||
mv -f %{buildroot}%{_datadir}/doc/%{name}/ %{buildroot}%{_docdir}/%{name}/
|
||||
|
||||
# install default /etc/nanorc
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
install -m 0644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc
|
||||
|
||||
# enable useful extra syntax highlighting files by default
|
||||
mv %{buildroot}%{_datadir}/nano/extra/{ada,fortran,haskell,spec}.* %{buildroot}%{_datadir}/nano
|
||||
|
||||
%find_lang %{name} --with-man --all-name
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%files
|
||||
%license COPYING COPYING.DOC
|
||||
%doc AUTHORS ChangeLog* IMPROVEMENTS NEWS README THANKS TODO doc/sample.nanorc
|
||||
%doc %{_docdir}/nano/
|
||||
%{_bindir}/nano
|
||||
%{_bindir}/rnano
|
||||
%config(noreplace) %{_sysconfdir}/nanorc
|
||||
%{_datadir}/nano/
|
||||
%{_infodir}/nano.info%{?ext_info}
|
||||
%{_mandir}/man1/nano.1%{?ext_man}
|
||||
%{_mandir}/man1/rnano.1%{?ext_man}
|
||||
%{_mandir}/man5/nanorc.5%{?ext_man}
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%license COPYING COPYING.DOC
|
||||
|
||||
%changelog
|
6
nanorc
Normal file
6
nanorc
Normal file
@ -0,0 +1,6 @@
|
||||
## This is a system-wide configuration file for the nano editor.
|
||||
##
|
||||
## Each user can save his own configuration to ~/.nanorc
|
||||
##
|
||||
## See the nanorc(5) man page for details.
|
||||
|
13
obs-channel-and-patchinfo-syntax.patch
Normal file
13
obs-channel-and-patchinfo-syntax.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: nano-8.1/syntax/xml.nanorc
|
||||
===================================================================
|
||||
--- nano-8.1.orig/syntax/xml.nanorc
|
||||
+++ nano-8.1/syntax/xml.nanorc
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Original author: Josef Schugt
|
||||
|
||||
-syntax xml "\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$"
|
||||
+syntax xml "(\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$|_patchinfo|_channel)"
|
||||
header "<\?xml.*version=.*\?>"
|
||||
magic "(XML|SGML) (sub)?document"
|
||||
comment "<!--|-->"
|
Loading…
Reference in New Issue
Block a user