Compare commits

..

158 commits

Author SHA1 Message Date
Andreas Schneider
f861fee0b3 Update to version 0.11.5
resolves: rhbz#2411913
2025-11-03 09:41:38 +01:00
Andreas Schneider
26b14788aa Don't write logfiles when refreshing helptags
- resolves: rhbz#2402743
2025-10-12 17:36:00 +02:00
Peter Oliver
708ec7ad79 Rebuild against tree-sitter-0.25.10-1.fc44 2025-09-24 15:20:54 +01:00
Peter Oliver
5ad696d19c Rebuild against tree-sitter-0.25.9-1.fc44 2025-09-09 14:40:02 +01:00
Andreas Schneider
235cefbde9 Update to version 0.11.4
- https://github.com/neovim/neovim/releases/tag/v0.11.4
- resolves: rhbz#2392274
2025-09-02 10:41:05 +02:00
Fedora Release Engineering
496aab5614 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 22:43:14 +00:00
Peter Oliver
52fc733a74 Rebuild against tree-sitter-0.25.8-1.fc43 2025-07-18 12:52:51 +01:00
Andreas Schneider
84454ea7e5 Update to version 0.11.3 2025-07-13 09:10:57 +02:00
Peter Oliver
bf419f09ab Rebuild against tree-sitter-0.25.6-1.fc43 2025-06-13 15:38:04 +01:00
Andreas Schneider
b197cc44ab Update to version 0.11.2
- resolves: rhbz#2362455
2025-06-03 10:34:54 +02:00
Peter Oliver
3a235a9d60 Rebuild against tree-sitter-0.25.5-1.fc43 2025-05-28 13:01:39 +01:00
Peter Oliver
c2d626944c Rebuild against tree-sitter-0.25.4-3.fc43 2025-05-12 14:03:56 +01:00
Andreas Schneider
090e80c01a Update to version 0.11.1
- https://github.com/neovim/neovim/releases/tag/v0.11.1
2025-04-26 20:57:38 +02:00
Peter Oliver
f52bcdabda Rebuild against tree-sitter-0.25.3-1.fc43 2025-04-14 12:25:46 +01:00
Andreas Schneider
b85d57a54f Update to version 0.11.0
- https://gpanders.com/blog/whats-new-in-neovim-0-11/
- Check also `:help news` and `:help news-breaking`
2025-03-26 18:37:15 +01:00
Andreas Schneider
ae2400c6e9 Rebuild against tree-sitter-0.25.2-3.fc43 2025-02-21 12:05:06 +01:00
Peter Oliver
5cdd15f318 Rebuild against tree-sitter-0.25.2-3.fc43 2025-02-19 14:41:58 +00:00
Peter Oliver
5d308335d0 Rebuild against tree-sitter-0.25.1-5.fc42 2025-02-03 12:23:47 +00:00
Andreas Schneider
0e5428a4d8 Update to version 0.10.4
- https://github.com/neovim/neovim/releases/tag/v0.10.4
2025-01-29 11:55:44 +01:00
Andreas Schneider
c89da3fcf5 Fix building with gcc 15
- resolves: rhbz#2340915
2025-01-23 13:14:38 +01:00
Fedora Release Engineering
e87be9dff2 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 19:53:17 +00:00
Andreas Schneider
20acc48b36 Bump release to rebuild neovim
[skip changelog]
2025-01-15 09:34:43 +01:00
Andreas Schneider
e6b772eb6e Fix :Inspect 2025-01-09 19:33:49 +01:00
Andreas Schneider
d17ef5cb52 Update to version 0.10.3
- resolves: rhbz#2333681
2024-12-21 19:40:53 +01:00
Andreas Schneider
6be59221e3 Update to version 0.10.2
- resolves: rhbz#2316441
2024-10-05 22:38:19 +02:00
Andreas Schneider
6ca81d0687 Use easier to understand %bcond 2024-09-11 09:54:22 +02:00
Michel Lind
bc6a6be1fd Allow bundling tree-sitter for EL10
- Add MIT to list of licenses since we are unconditionally bundling
  tree-sitter parsers
- Convert bundled licenses file to SPDX expressions

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-09-03 17:25:04 -05:00
Yaakov Selkowitz
7e1ae82c08 Rebuilt for tree-sitter 0.23.0 2024-09-01 17:39:14 -04:00
Damjan 9000
50347a7bb4 resolves: rhbz#2300246 - remove vim runtime path from sysinit 2024-08-17 18:57:29 +02:00
Andreas Schneider
934d086093 Update to version 0.10.1 2024-07-24 12:59:42 +02:00
Fedora Release Engineering
6a5469bc92 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 19:18:47 +00:00
Andreas Schneider
e35754f9ed resolves: rhbz#2283574 - Bundle required tree-sitter parsers 2024-07-02 07:59:52 +02:00
Andreas Schneider
293775da62 Update minimal versions of requirements 2024-05-27 08:44:12 +02:00
Andreas Schneider
bad08e3d82 Fix updating helptags
resolves: rhbz#2282828
2024-05-24 07:49:48 +02:00
Danie de Jager
fe0bb45e14 Add missing lua5.1-lpeg runtime requirement 2024-05-22 07:55:34 +02:00
Andreas Schneider
33e3717f92 Add RPM file triggers support to regenerate helptags 2024-05-21 15:37:33 +02:00
Andreas Schneider
16d35fc49b Update neovim-lua-bit32.patch 2024-05-16 17:27:18 +02:00
Andreas Schneider
c042ccc21a Update to version 0.10.0 - check :help news for important changes 2024-05-16 17:11:17 +02:00
Andreas Schneider
131b4e0795 Convert to %autochangelog
[skip changelog]
2024-05-16 16:52:29 +02:00
Andreas Schneider
fad09f04b1 Build with luajit on s390x
resolves: #2222911
2024-03-04 14:49:17 +01:00
Fedora Release Engineering
312d588f94 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 08:46:42 +00:00
Fedora Release Engineering
e2bdab4486 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 09:27:35 +00:00
Andreas Schneider
eddffc3058 Update to version 0.9.5
resolves: rhbz#2256278
2024-01-02 09:06:47 +01:00
Andreas Schneider
713a572a8f Update to version 0.9.4 2023-11-06 11:25:55 +01:00
Andreas Schneider
63b3075c2b Update to version 0.9.2 2023-09-07 16:08:13 +02:00
LuK1337
eba3dfa55a Improve spec template
* %autorelease must not have {}, otherwise "Dist tag is present." error
  is triggered in fedora-review, see:
  d037481/f/plugins/generic.py (_425)
* Also remove {} from %autochangelog while at it.
2023-08-28 20:17:13 +02:00
Fedora Release Engineering
8a3ea7aada Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 16:28:00 +00:00
Andreas Schneider
07babc2166 Build with new libluv-devel 2023-06-06 09:05:34 +02:00
Andreas Schneider
d5948650af Remove linker hack 2023-06-05 07:48:30 +02:00
Andreas Schneider
99388db703 Update to version 0.9.1 2023-05-31 09:51:11 +02:00
Andreas Schneider
02d5fee97b Improve semantic token performance and fix applying patches
related: rhbz#2188229
2023-05-02 08:08:09 +02:00
Andreas Schneider
df63fe8ae7 Fix buffer overflow for user command
resolves: rhbz#2188229
2023-04-21 13:51:08 +02:00
Andreas Schneider
beac72cb7d Use pkgconfig for BR and recommend wl-clipboard 2023-04-14 09:27:06 +02:00
Andreas Schneider
422ac1ad6d Update neovim-lua-bit32.patch 2023-04-07 18:49:10 +02:00
Andreas Schneider
be3c3bd079 Update to version 0.9.0 2023-04-07 18:14:50 +02:00
Andreas Schneider
d2f512bdb8 Fix snprintf buffer overflow with tags
resolves: rhbz#2181836
2023-03-27 09:02:33 +02:00
Andreas Schneider
7e8ce53864 Fix snprintf buffer overflow
resolves: rhbz#2165805
2023-03-25 20:50:08 +01:00
Andreas Schneider
a6ad9cc0a6 New build for SPDX expression 2023-03-05 21:59:46 +01:00
Andreas Schneider
26a755011d Update spec-template
https://fedoraproject.org/wiki/Changes/Rpmautospec_by_Default
2023-03-02 20:46:58 +01:00
Andreas Schneider
44b18d32b4 Update License to SPDX expressions
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2023-02-23 15:47:24 +01:00
Andreas Schneider
06f7724c4a Update to version 0.8.3 2023-02-02 15:24:12 +01:00
Fedora Release Engineering
649ac540c1 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:23:35 +00:00
Andreas Schneider
a161a7ae79 Update to version 0.8.2 2022-12-30 10:33:59 +01:00
Andreas Schneider
a3235048bf Recommend tree-sitter-cli 2022-11-15 10:10:48 +01:00
Andreas Schneider
fe1de14473 Update to version 0.8.1 2022-11-14 17:34:05 +01:00
Michel Alexandre Salim
f48975a4b4
Bump release from 0 to 1
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-10-11 12:34:12 -05:00
Andreas Schneider
8725840ae7 Add link to release notes 2022-10-07 09:56:03 +02:00
Andreas Schneider
ece35fdf5d Update patches for s390 and ppc 2022-10-01 07:04:22 +02:00
Andreas Schneider
42decb69fa Update to version 0.8.0 2022-09-30 23:51:20 +02:00
Andreas Schneider
2fa92c9f1b Fix libvterm 0.3 patch 2022-09-21 13:22:38 +02:00
Andreas Schneider
76afdc5fa2 Fix typo 2022-09-21 13:03:27 +02:00
Andreas Schneider
68962e3670 Build with libvterm 0.3 2022-09-21 12:01:24 +02:00
Michel Alexandre Salim
4bcff30676 Enforce the minimum tree-sitter version at runtime (Fixes: rhbz#2100577)
Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
2022-08-25 15:30:20 -05:00
Fedora Release Engineering
240aa45202 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:22:51 +00:00
Andreas Schneider
c11fa74dfd Update to version 0.7.2 2022-06-26 21:23:53 +02:00
Michel Alexandre Salim
5af2e539c3 Bump runtime requirement for libvterm
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-04-21 12:15:31 -07:00
Andreas Schneider
e6c3552395 Update to version 0.7.0 2022-04-15 15:11:48 +02:00
Michel Alexandre Salim
c7f726e863 Force out-of-source build on EPEL 8 (neovim requires it, but it's not
the default with EPEL 8's %%cmake)
Disable luajit on EL8 aarch64

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-03-17 11:14:07 -07:00
Andreas Schneider
ddcead3599 Fix libvterm 0.2 support 2022-02-09 21:11:54 +01:00
Fedora Release Engineering
4750e70c39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:01:21 +00:00
Andreas Schneider
71f5f0953b Fix building with libvterm 0.2 2022-01-01 07:18:29 +01:00
Andreas Schneider
fc8bec9746 Update to version 0.6.1 2022-01-01 06:53:31 +01:00
Andreas Schneider
e95eab051e Update to version 0.6.0 2021-12-01 16:14:56 +01:00
Andreas Schneider
d6223277f3 Use luajit also on aarch64 2021-10-28 14:17:59 +02:00
Andreas Schneider
d9852d3af3 Update to version 0.5.1 2021-09-27 20:41:33 +02:00
Andreas Schneider
c22f9d0119 Build with luajit2.1-luv when we use luajit 2021-07-30 19:34:35 +02:00
Andreas Schneider
efc2d6847b Add missing BR for lua-bit32 2021-07-30 07:43:52 +02:00
Andreas Schneider
39e6bbaa71 Bump release 2021-07-30 07:32:07 +02:00
Andreas Schneider
d717438f73 Build with lua-5.1 on platforms where luajit is not available
resolves: rhbz#1983288
2021-07-30 07:30:18 +02:00
Fedora Release Engineering
897d7a30bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 15:57:46 +00:00
Andreas Schneider
92d50174e9 Fixed execute bits of bat and awk files 2021-07-08 20:01:10 +02:00
Andreas Schneider
543e428cdc Raise BuildRequires for some libraries 2021-07-05 09:18:40 +02:00
Andreas Schneider
ac7f5b6c0c Fix building with lua > 5.1 2021-07-03 12:24:15 +02:00
Andreas Schneider
d2bd7b6941 Fix bitop patch which is used by aarch64
aarch64 is still fails linking
2021-07-03 08:53:51 +02:00
Andreas Schneider
7f5a501de7 Add missing BR for libtree-sitter-devel 2021-07-03 06:01:47 +02:00
Andreas Schneider
80a0cf163d Update to version 0.5.0 2021-07-03 05:44:08 +02:00
Andreas Schneider
47924e1d90 Load installed vim plugins
resolves: #1909495
2021-04-19 12:35:10 +02:00
Fedora Release Engineering
6115e647df - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:21:41 +00:00
Michel Alexandre Salim
fe0b310c47 When using Lua 5.4, also pull in lua-bit32 at installation
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2020-09-01 18:02:46 -07:00
Michel Alexandre Salim
37b2a85c27 Add missing patch
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2020-08-31 19:46:22 -07:00
Michel Alexandre Salim
fef16b0871 Do not hardcode Lua version
Patch to support detecting Lua 5.4
Pull in lua-bit32 when built against Lua 5.4

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2020-08-31 19:40:39 -07:00
Andreas Schneider
5ddfa45f02 Use new cmake macros 2020-08-05 15:40:04 +02:00
Andreas Schneider
3e689e71cd Update to version 0.4.4 2020-08-05 15:40:02 +02:00
Fedora Release Engineering
0bdb1c6659 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 04:38:24 +00:00
Fedora Release Engineering
1227e99643 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 08:59:42 +00:00
Michel Alexandre Salim
65a9f4ca4a When using LuaJIT, prefer actual package names in BRs
compat-lua-lpeg and compat-lua-mpack are provided by lua5.1-lpeg and lua5.1-mpack respectively.

On Fedora they share source RPMs with the main lpeg and mpack binary RPMs (thus lua-lpeg and lua-mpack).

On EPEL8, though, lua-lpeg is part of RHEL so there is a separate lua5.1-lpeg, and the maintainer does not think having it provide compat-lua-lpeg is a good idea, and recommended neovim depend on lua5.1-lpeg directly - see https://src.fedoraproject.org/rpms/lua5.1-lpeg/pull-request/1

neovim's new EPEL8 branch already uses these BRs, and it'll be nice to keep the delta as small as possible.

https://src.fedoraproject.org/rpms/neovim/blob/epel8/f/neovim.spec
2020-04-27 15:50:58 -07:00
Michel Alexandre Salim
655acda781 Update build requirements
see https://github.com/neovim/neovim/blob/master/CMakeLists.txt
2020-03-22 13:44:38 -07:00
Andreas Schneider
e9f0d152bb Update to upstream patchset for -fno-common 2020-02-23 16:32:06 +01:00
Andreas Schneider
e03f9c6d6e Apply backported quilt patch 2020-02-17 19:53:17 +01:00
Andreas Schneider
4827e58f9f Update patchset for -fno-common 2020-02-17 19:35:27 +01:00
Andreas Schneider
c4ca3a76ea Fix -fno-common issues 2020-02-17 17:42:18 +01:00
Fedora Release Engineering
ea677f3b75 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:46:36 +00:00
Andreas Schneider
3d9d81fdf2 Update to version 0.4.3 2019-11-07 09:40:34 +01:00
Igor Gnatenko
28f7c99b16
Fix glitches for terminals sayin xterm but not xterm
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-10-28 17:45:37 +01:00
Andreas Schneider
0548c68205 Update to version 0.4.2 2019-10-03 12:33:27 +02:00
Fedora Release Engineering
1993153b24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 18:27:41 +00:00
Andreas Schneider
81e61f0f0d Update to 0.3.8 2019-07-05 15:12:21 +02:00
Andreas Schneider
b2e1539a67 Update to version 0.3.7 2019-05-29 21:44:04 +02:00
Andreas Schneider
3c6df4c0a1 Update to version 0.3.6
resolves: #1714849
2019-05-29 08:12:09 +02:00
Andreas Schneider
388e7f3709 Add missing sources 2019-05-07 16:23:48 +02:00
Andreas Schneider
21b1474564 Update to version 0.3.5
resolves: #1703867
2019-05-07 11:47:22 +02:00
Andreas Schneider
fd84b96a4d luajit is not available on all platform and fails to build on aarch64 2019-03-20 10:18:52 +01:00
Andreas Schneider
863e8f3d64 Add sources for neovim-0.3.4 2019-03-19 12:02:58 +01:00
Aron Griffis
1ca2a4ce06
Update to version 0.3.4 with luajit, rhbz #1685781 2019-03-09 08:51:42 -05:00
Fedora Release Engineering
e97bc5a321 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 12:09:50 +00:00
Igor Gnatenko
f76b96772e
Remove Recommends: xterm
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-07 17:27:05 +01:00
Igor Gnatenko
325e02fb31 Revert "Add Recommends for xterm"
xterm is not actually needed, any terminal is needed.

However, there is no good way to require any of them so dropping is much
better than installing xterm on all user machines.

This reverts commit 957940a511.
2019-01-07 17:25:00 +01:00
Andreas Schneider
90dfa15583 Update to version 0.3.3 2019-01-06 09:43:42 +01:00
Andreas Schneider
c4d3deb8eb Update to version 0.3.2 2019-01-02 14:20:10 +01:00
Andreas Schneider
957940a511 Add Recommends for xterm 2018-11-14 12:38:56 +01:00
Andreas Schneider
6256539b2e Update to version 0.3.1 2018-08-10 13:05:31 +02:00
Florian Weimer
d582d7d94c Rebuild with fixed binutils 2018-07-31 11:33:23 +02:00
Igor Gnatenko
6066fc23a5
Rebuild for new binutils
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-27 14:55:19 +02:00
Igor Gnatenko
d235d09884
Disable jemalloc
References: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/43MAKHBKT5HHO6QEXQASWATMMK3TSH3K/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-27 00:37:54 +02:00
Fedora Release Engineering
e286f74ea4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:28:50 +00:00
Igor Gnatenko
1d0fd93084 add BuildRequires: gcc-c++
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:49 +02:00
Andreas Schneider
054ad29784 Add jemalloc as a requirement
resolves: #1592474
2018-06-19 09:30:44 +02:00
Andreas Schneider
8f07fcfd7a Update to version 0.3.0 2018-06-11 09:25:01 +02:00
Andreas Schneider
ddacf7753e Rebuild against unibilium-2.0.0 2018-05-26 17:46:59 +02:00
Fedora Release Engineering
970b30474b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 03:59:44 +00:00
Andreas Schneider
083f2d7558 Update to 0.2.2 2017-12-23 12:34:34 +01:00
Andreas Schneider
cc3129c1f0 Add back neovim gcc prototype patch 2017-12-08 18:09:28 +01:00
Igor Gnatenko
e738252662 suggest python- bindings only if corresponding python interpreter is installed
As a user, I don't have python2 installed on my system but neovim still wants
to pull it in. This doesn't make any sense.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-15 19:35:12 +01:00
Igor Gnatenko
9d2cc72fa4 make python- bindings as very weak dependency
Weak dependencies are installed by default and are supposed to
enable optional feautres while very weak are needed to improve
user/developer experience.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-15 19:33:35 +01:00
Andreas Schneider
d6e31a3c97 Update BuildRequires for lua
We need the devel package.
2017-11-08 09:53:39 +01:00
Andreas Schneider
2642091e44 Update to version 0.2.1 2017-11-08 09:33:07 +01:00
Fedora Release Engineering
1a8f6771d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 03:52:05 +00:00
Fedora Release Engineering
eb4856ee5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 22:47:08 +00:00
Than Ngo
9bff1188fd fixed bz#1451143, ppc64/le build failure, enable ppc64/pp64le 2017-05-31 11:44:24 +02:00
Michel Alexandre Salim
f6b062833c Adjust spec for building on epel7 2017-05-15 23:11:11 +00:00
Andreas Schneider
09abd96bb3 Add desktop file and icon 2017-05-10 15:29:25 +02:00
Andreas Schneider
e18855a0d9 Update to 0.2.0 2017-05-08 22:02:55 +02:00
Fedora Release Engineering
af265f747e - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 22:10:25 +00:00
Filip Szymański
28af2d2066
Rename RPM spec file template 2016-12-29 21:55:26 +01:00
Filip Szymański
805c30e3f3
Add RPM spec file template 2016-12-29 21:45:27 +01:00
Filip Szymański
b5badd3e87
Add sysinit.vim file 2016-12-09 17:20:23 +01:00
Filip Szymański
2df16b8c9a
Spec clean up 2016-12-08 22:31:27 +01:00
Andreas Schneider
323bbd1fc2 Big bang! 2016-12-06 22:05:00 +01:00
11 changed files with 958 additions and 1 deletions

67
.gitignore vendored Normal file
View file

@ -0,0 +1,67 @@
/*.log
/*.rpm
/series
/x86_64/
/results_neovim/
/neovim-0.1.7.tar.gz
/neovim-0.2.0.tar.gz
/neovim-0.2.1.tar.gz
/neovim-0.2.2.tar.gz
/neovim-0.3.0.tar.gz
/neovim-0.3.1.tar.gz
/neovim-0.3.2.tar.gz
/neovim-0.3.3.tar.gz
/neovim-0.3.4.tar.gz
/neovim-0.3.5.tar.gz
/neovim-0.3.6.tar.gz
/neovim-0.3.7.tar.gz
/neovim-0.3.8.tar.gz
/neovim-0.4.2.tar.gz
/neovim-0.4.3.tar.gz
/neovim-0.4.4.tar.gz
/neovim-0.5.0.tar.gz
/neovim-0.5.1.tar.gz
/neovim-0.6.0.tar.gz
/neovim-0.6.1.tar.gz
/neovim-0.7.0.tar.gz
/neovim-0.7.2.tar.gz
/neovim-0.8.0.tar.gz
/neovim-0.8.1.tar.gz
/neovim-0.8.2.tar.gz
/neovim-0.8.3.tar.gz
/neovim-0.9.0.tar.gz
/neovim-0.9.1.tar.gz
/neovim-0.9.2.tar.gz
/neovim-0.9.4.tar.gz
/neovim-0.9.5.tar.gz
/neovim-0.10.0.tar.gz
/neovim-0.10.0-vendor.tar.gz
/neovim-0.10.1.tar.gz
/neovim-0.10.1-vendor.tar.gz
/neovim-0.10.1-vendor-treesitter.tar.gz
/neovim-0.10.2.tar.gz
/neovim-0.10.2-vendor.tar.gz
/neovim-0.10.2-vendor-treesitter.tar.gz
/neovim-0.10.3.tar.gz
/neovim-0.10.3-vendor.tar.gz
/neovim-0.10.3-vendor-treesitter.tar.gz
/neovim-0.10.4.tar.gz
/neovim-0.10.4-vendor.tar.gz
/neovim-0.10.4-vendor-treesitter.tar.gz
/neovim-0.11.0.tar.gz
/neovim-0.11.0-vendor.tar.gz
/neovim-0.11.0-vendor-treesitter.tar.gz
/neovim-0.11.1.tar.gz
/neovim-0.11.1-vendor.tar.gz
/neovim-0.11.1-vendor-treesitter.tar.gz
/neovim-0.11.2.tar.gz
/neovim-0.11.2-vendor.tar.gz
/neovim-0.11.2-vendor-treesitter.tar.gz
/neovim-0.11.3.tar.gz
/neovim-0.11.3-vendor.tar.gz
/neovim-0.11.3-vendor-treesitter.tar.gz
/neovim-0.11.4.tar.gz
/neovim-0.11.4-vendor.tar.gz
/neovim-0.11.4-vendor-treesitter.tar.gz
/neovim-0.11.5.tar.gz
/neovim-0.11.5-vendor.tar.gz

10
README.md Normal file
View file

@ -0,0 +1,10 @@
# neovim
The hyper-extensible Vim-based text editor
## Updating the package
* Update the version in the spec file
* Download the new tarball
* Add the tarball with `fedpkg new-sources neovim-<version>.tar.gz`
* Run `bash mkvendor.sh`

294
changelog Normal file
View file

@ -0,0 +1,294 @@
* Mon Mar 04 2024 Andreas Schneider <asn@redhat.com> - 0.9.5-4
- resolves: #2222911 - Build with luajit on s390x
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Jan 02 2024 Andreas Schneider <asn@redhat.com> - 0.9.5-1
- Update to version 0.9.5
* https://github.com/neovim/neovim/releases/tag/v0.9.5
* For bigger version bump changelog see `:help news`
* resolves: rhbz#2256278
* Fri Oct 20 2023 Andreas Schneider <asn@redhat.com> - 0.9.4-1
- Update to version 0.9.4
* https://github.com/neovim/neovim/releases/tag/v0.9.4
* For bigger version bump changelog see `:help news`
* resolves: rhbz#2243010
* Thu Sep 07 2023 Andreas Schneider <asn@redhat.com> - 0.9.2-1
- Update to version 0.9.2
* For changelog see `:help news`
* Mon Aug 28 2023 LuK1337 <priv.luk@gmail.com> - 0.9.1-4
- Improve spec template
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 06 2023 Andreas Schneider <asn@redhat.com> - 0.9.1-2
- Build with new libluv-devel
* Wed May 31 2023 Andreas Schneider <asn@redhat.com> - 0.9.1-1
- Update to version 0.9.1
* For changelog see `:help news`
* Tue May 02 2023 Andreas Schneider <asn@redhat.com> - 0.9.0-3
- Improve semantic token performance
- related: rhbz#2188229 - Fix applying patches
* Fri Apr 21 2023 Andreas Schneider <asn@redhat.com> - 0.9.0-2
- resolves: rhbz#2188229 - Fix buffer overflow for user command
* Fri Apr 07 2023 Andreas Schneider <asn@redhat.com> - 0.9.0-1
- Update to version 0.9.0
* For changelog see `:help news`
* Mon Mar 27 2023 Andreas Schneider <asn@redhat.com> - 0.8.3-4
- resolves: rhbz#2181836 - Fix snprintf buffer overflow with tags
* Sat Mar 25 2023 Andreas Schneider <asn@redhat.com> - 0.8.3-3
- resolves: rhbz#2165805 - Fix snprintf buffer overflow
* Sun Mar 05 2023 Andreas Schneider <asn@redhat.com> - 0.8.3-2
- Update License to SPDX expression
- Update spec template for auto(release|changelog)
* Thu Feb 02 2023 Andreas Schneider <asn@redhat.com> - 0.8.3-1
- Update to version 0.8.3
* https://github.com/neovim/neovim/releases/tag/v0.8.3
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Dec 30 2022 Andreas Schneider <asn@redhat.com> - 0.8.2-1
- Update to version 0.8.2
* https://github.com/neovim/neovim/releases/tag/v0.8.2
* Mon Nov 14 2022 Andreas Schneider <asn@redhat.com> - 0.8.1-1
- Update to version 0.8.1
* https://github.com/neovim/neovim/releases/tag/v0.8.1
* Fri Sep 30 2022 Andreas Schneider <asn@redhat.com> - 0.8.0-1
- Update to version 0.8.0
* https://github.com/neovim/neovim/releases/tag/v0.8.0
* Wed Sep 21 2022 Andreas Schneider <asn@redhat.com> - 0.7.2-4
- Build with libvterm 0.3
* Thu Aug 25 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.7.2-3
- Enforce the minimum tree-sitter version at runtime (Fixes: rhbz#2100577)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jun 26 2022 Andreas Schneider <asn@redhat.com> - 0.7.2-1
- Update to version 0.7.2
* Fri Apr 15 2022 Andreas Schneider <asn@redhat.com> - 0.7.0-1
- Update to version 0.7.0
* Thu Mar 17 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.6.1-4
- Support building on EPEL 8
* Wed Feb 09 2022 Andreas Schneider <asn@redhat.com> - 0.6.1-3
- Fix libvterm 0.2 support
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 01 2022 Andreas Schneider <asn@redhat.com> - 0.6.1-1
- Update to version 0.6.1
* Wed Dec 01 2021 Andreas Schneider <asn@redhat.com> - 0.6.0-1
- Update to version 0.6.0
* Thu Oct 28 2021 Andreas Schneider <asn@redhat.com> - 0.5.1-2
- Use luajit also on aarch64
* Mon Sep 27 2021 Andreas Schneider <asn@redhat.com> - 0.5.1-1
- Update to version 0.5.1
* Fri Jul 30 2021 Andreas Schneider <asn@redhat.com> - 0.5.0-5
- Build with luajit2.1-luv when we use luajit
* Fri Jul 30 2021 Andreas Schneider <asn@redhat.com> - 0.5.0-4
- resolves: rhbz#1983288 - Build with lua-5.1 on platforms where luajit is not
available
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 08 2021 Andreas Schneider <asn@redhat.com> - 0.5.0-2
- Fixed execute bits of bat and awk files
* Mon Jul 05 2021 Andreas Schneider <asn@redhat.com> - 0.5.0-1
- Raise BuildRequires for some libraries
* Sat Jul 03 2021 Andreas Schneider <asn@redhat.com> - 0.5.0-0
- Update to version 0.5.0
* https://github.com/neovim/neovim/releases/tag/v0.5.0
* Mon Apr 19 2021 Andreas Schneider <asn@redhat.com> - 0.4.4-5
- resolves: #1909495 - Load installed vim plugins
- Make build reproducible
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Sep 1 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.4.4-3
- When using Lua 5.4, also pull in lua-bit32 at installation
* Mon Aug 31 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.4.4-2
- Do not hardcode Lua version
- Patch to support detecting Lua 5.4
- Pull in lua-bit32 when built against Lua 5.4
* Wed Aug 05 2020 Andreas Schneider <asn@redhat.com> - 0.4.4-1
- Update to version 0.4.4
- Use new cmake macros
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-8
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Mar 22 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.4.3-6
- Update build requirements
* Sun Feb 23 2020 Andreas Schneider <asn@redhat.com> - 0.4.3-5
- Update to upstream patchset for -fno-common
* Mon Feb 17 2020 Andreas Schneider <asn@redhat.com> - 0.4.3-4
- Update patchset for -fno-common
* Mon Feb 17 2020 Andreas Schneider <asn@redhat.com> - 0.4.3-3
- resolves: #1799680 - Fix -fno-common issues
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Nov 07 2019 Andreas Schneider <asn@redhat.com> - 0.4.3-1
- Update to version 0.4.3
* Mon Oct 28 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-2
- Fix glitches for terminals sayin xterm but not xterm
* Thu Oct 03 2019 Andreas Schneider <asn@redhat.com> - 0.4.2-1
- Update to version 0.4.2
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jul 05 2019 Andreas Schneider <asn@redhat.com> - 0.3.8-1
- Update to version 0.3.8
* Wed May 29 2019 Andreas Schneider <asn@redhat.com> - 0.3.7-1
- Update to version 0.3.7
* Wed May 29 2019 Andreas Schneider <asn@redhat.com> - 0.3.6-1
- resolves: #1714849 - Update to version 0.3.6
* Tue May 07 2019 Andreas Schneider <asn@redhat.com> - 0.3.5-1
- resolves: #1703867 - Update to version 0.3.5
* Wed Mar 06 2019 Aron Griffis <aron@scampersand.com> - 0.3.4-1
- Update to version 0.3.4 with luajit, rhbz #1685781
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.3-2
- Remove Recommends: xterm
* Sun Jan 06 2019 Andreas Schneider <asn@redhat.com> - 0.3.3-1
- Update to version 0.3.3
* Wed Jan 02 2019 Andreas Schneider <asn@redhat.com> - 0.3.2-1
- Update to version 0.3.2
* Fri Aug 10 2018 Andreas Schneider <asn@redhat.com> - 0.3.1-1
- Update to version 0.3.1
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.3.0-6
- Rebuild with fixed binutils
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-5
- Rebuild for new binutils
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-4
- Disable jemalloc
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Andreas Schneider <asn@redhat.com> - 0.3.0-2
- resolves: #1592474 - Add jemalloc as a requirement
* Mon Jun 11 2018 Andreas Schneider <asn@redhat.com> - 0.3.0-1
- Update to version 0.3.0
- resolves: #1450624 - Set default python_host_prog
* Sat May 26 2018 Andreas Schneider <asn@redhat.com> - 0.2.2-3
- Rebuild against unibilium-2.0.0
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Dec 23 2017 Andreas Schneider <asn@redhat.com> - 0.2.2-1
- resolves: #1510899 - Update to version 0.2.2
* Wed Nov 08 2017 Andreas Schneider <asn@redhat.com> - 0.2.1-1
- resolves: #1510762 - Update to version 0.2.1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed May 31 2017 Than Ngo <than@redhat.com> 0.2.0-3
- fixed bz#1451143, ppc64/le build failure
* Mon May 15 2017 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.2.0-2
- Adjust spec for building on epel7
* Mon May 08 2017 Andreas Schneider <asn@redhat.com> - 0.2.0-1
- resolves: #1447481 - Update to 0.2.0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 29 2016 Filip Szymański <fszymanski at, fedoraproject.org> - 0.1.7-6
- Add RPM spec file template
* Thu Dec 08 2016 Filip Szymański <fszymanski at, fedoraproject.org> - 0.1.7-5
- Add recommends for python2-neovim and xsel
- Remove unused CMake options
- Use %%make_build and %%make_install macros
- Remove unnecessary %%defattr directive
* Mon Dec 05 2016 Andreas Schneider <asn@redhat.com> - 0.1.7-4
- Set license file correctly
* Mon Dec 05 2016 Andreas Schneider <asn@redhat.com> - 0.1.7-3
- Update build requires
* Mon Dec 05 2016 Andreas Schneider <asn@redhat.com> - 0.1.7-2
- Add Recommends for python3-neovim
- Use 'bit32' from lua 5.3
* Mon Nov 28 2016 Andreas Schneider <asn@redhat.com> - 0.1.7-1
- Update to version 0.1.7
* Tue Nov 15 2016 Andreas Schneider <asn@redhat.com> - 0.1.6-2
- Removed Group:
- Removed BuildRoot:
* Thu Nov 10 2016 Andreas Schneider <asn@redhat.com> - 0.1.6-1
- Initial version 0.1.6

View file

@ -1 +0,0 @@
epel8-playground decommissioned : https://pagure.io/epel/issue/136

61
mkvendor.sh Normal file
View file

@ -0,0 +1,61 @@
#!/usr/bin/bash -x
set -euo pipefail
nvim_url="$(rpmspec -P neovim.spec | sed -En 's/^Source0:[[:space:]]+//p')"
nvim_archive="$(basename "$nvim_url")"
nvim_tmpdir="$(mktemp --tmpdir -d nvim-XXXXXXXX)"
nvim_srcdir="$(pwd)"
cleanup_tmpdir() {
popd 2>/dev/null || true
rm -rf "${nvim_tmpdir}"
}
trap cleanup_tmpdir SIGINT
cleanup_and_exit() {
cleanup_tmpdir
if test "$1" = 0 -o -z "$1" ; then
exit 0
else
exit "${1}"
fi
}
if [ ! -w "${nvim_archive}" ]; then
curl -Lo "${nvim_archive}" "${nvim_url}"
fedpkg new-sources "${nvim_archive}"
fi
mkdir -p "${nvim_tmpdir}/src"
tar -zxf "${nvim_srcdir}/${nvim_archive}" -C "${nvim_tmpdir}/src" --strip-components=1
pushd "${nvim_tmpdir}" || cleanup_and_exit 1
cmake \
-S "${nvim_tmpdir}/src/cmake.deps" \
-B "${nvim_tmpdir}/deps" -G Ninja \
-DUSE_BUNDLED=OFF \
-DUSE_BUNDLED_TS=ON \
-DUSE_BUNDLED_TS_PARSERS=ON
readarray -t targets < <(basename -a "${nvim_tmpdir}/deps/build/downloads/"treesitter* | \
xargs -I {} echo build/src/{}-stamp/{}-download)
ninja -C "${nvim_tmpdir}/deps" "${targets[@]}"
nvim_vendor="${nvim_archive%.tar.gz}-vendor"
nvim_vendor_archive="${nvim_vendor}.tar.gz"
tar -zcf "${nvim_srcdir}/${nvim_vendor_archive}" \
-H pax \
--numeric-owner \
--owner=0:0 \
-C "${nvim_tmpdir}/deps/build/downloads" . \
--transform="s/^\\./${nvim_vendor}/"
popd
cksum -a sha512 "${nvim_archive}" "${nvim_vendor_archive}" | tee sources
echo
echo "Run: fedpkg new-sources ${nvim_archive} ${nvim_vendor_archive}"
cleanup_and_exit 0

View file

@ -0,0 +1,2 @@
"Apache-2.0"
"MIT"

31
neovim-lua-bit32.patch Normal file
View file

@ -0,0 +1,31 @@
Index: neovim-0.11.0/src/nvim/ex_cmds.lua
===================================================================
--- neovim-0.11.0.orig/src/nvim/ex_cmds.lua 2025-03-26 18:02:38.217064177 +0100
+++ neovim-0.11.0/src/nvim/ex_cmds.lua 2025-03-26 18:02:41.424747978 +0100
@@ -1,4 +1,4 @@
-local bit = require 'bit'
+local bit = require 'bit32'
local M = {}
Index: neovim-0.11.0/runtime/lua/vim/lsp/_watchfiles.lua
===================================================================
--- neovim-0.11.0.orig/runtime/lua/vim/lsp/_watchfiles.lua 2025-03-26 14:48:09.000000000 +0100
+++ neovim-0.11.0/runtime/lua/vim/lsp/_watchfiles.lua 2025-03-26 18:04:19.210556853 +0100
@@ -1,4 +1,4 @@
-local bit = require('bit')
+local bit = require('bit32')
local glob = vim.glob
local watch = vim._watch
local protocol = require('vim.lsp.protocol')
Index: neovim-0.11.0/runtime/lua/vim/lsp/semantic_tokens.lua
===================================================================
--- neovim-0.11.0.orig/runtime/lua/vim/lsp/semantic_tokens.lua 2025-03-26 14:48:09.000000000 +0100
+++ neovim-0.11.0/runtime/lua/vim/lsp/semantic_tokens.lua 2025-03-26 18:04:28.696322064 +0100
@@ -1,5 +1,5 @@
local api = vim.api
-local bit = require('bit')
+local bit = require('bit32')
local ms = require('vim.lsp.protocol').Methods
local util = require('vim.lsp.util')
local uv = vim.uv

443
neovim.spec Normal file
View file

@ -0,0 +1,443 @@
%if 0%{?el8}
# see https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
# EPEL 8's %%cmake defaults to in-source build, which neovim does not support
%undefine __cmake_in_source_build
%endif
%bcond_with jemalloc
%ifarch %{arm} %{ix86} x86_64 %{mips} s390x
%bcond_without luajit
%else
%ifarch aarch64
%if 0%{?el8}
# luajit codepath buggy on el8 aarch64
# https://bugzilla.redhat.com/show_bug.cgi?id=2065340
%bcond_with luajit
%else
%bcond_without luajit
%endif
%else
%bcond_with luajit
%endif
%endif
%if 0%{?el10}
# tree-sitter in EL10 is too old and libtree-sitter-devel is not shipped
# https://issues.redhat.com/browse/RHEL-56996
%bcond system_treesitter 0
%else
%bcond system_treesitter 1
%endif
%global luv_min_ver 1.43.0
%if %{with system_treesitter}
%global tree_sitter_min_ver 0.22.5
%endif
%global vterm_min_ver 0.3.3
%global luv_include_dir %{_includedir}/luv
%if %{with luajit}
%global luajit_version 2.1
%global lua_prg %{_bindir}/luajit
%else
%global lua_version 5.1
%global lua_prg %{_bindir}/lua-5.1
%endif
Name: neovim
Version: 0.11.5
Release: %autorelease
License: Apache-2.0 AND Vim AND MIT
Summary: Vim-fork focused on extensibility and agility
Url: https://neovim.io
Source0: https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: sysinit.vim
Source2: spec-template
# Generated by mkvendor.sh
Source3: %{name}-%{version}-vendor.tar.gz
Source4: neovim-bundled-licenses.txt
Patch1000: neovim-lua-bit32.patch
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: gperf
BuildRequires: gcc
BuildRequires: libluv-devel >= %{luv_min_ver}
%if %{with luajit}
# luajit implements version 5.1 of the lua language spec, so it needs the
# compat versions of libs.
BuildRequires: luajit-devel
Requires: luajit2.1-luv >= %{luv_min_ver}
%else
# lua5.1
BuildRequires: compat-lua
BuildRequires: compat-lua-devel
BuildRequires: lua5.1-bit32
Requires: lua5.1-luv >= %{luv_min_ver}
# /with luajit
%endif
Requires: lua5.1-lpeg >= 1.1.0
BuildRequires: lua5.1-lpeg >= 1.1.0
BuildRequires: lua5.1-mpack >= 1.0.11
%if %{with jemalloc}
BuildRequires: jemalloc-devel
%endif
BuildRequires: msgpack-devel >= 3.1.0
BuildRequires: pkgconfig(termkey)
BuildRequires: pkgconfig(libuv) >= 1.50.0
BuildRequires: pkgconfig(vterm) >= %{vterm_min_ver}
# need the build with the fix for the resize buffer issue
Requires: libvterm >= %{vterm_min_ver}
BuildRequires: pkgconfig(unibilium)
BuildRequires: pkgconfig(libutf8proc) >= 2.10.0
%if %{with system_treesitter}
BuildRequires: pkgconfig(tree-sitter) >= %{tree_sitter_min_ver}
# tree-sitter didn't do an soname bump. enforce the min version
# see https://github.com/nvim-treesitter/nvim-treesitter/pull/3055/files
Requires: libtree-sitter >= %{tree_sitter_min_ver}
%endif
# Parser generator, only needed for :TSInstallFromGrammar
Recommends: tree-sitter-cli
Suggests: (python2-neovim if python2)
Suggests: (python3-neovim if python3)
# XSel provides access to the system clipboard
Recommends: xsel
Recommends: wl-clipboard
Recommends: ripgrep
Recommends: inotify-tools
%description
Neovim is a refactor - and sometimes redactor - in the tradition of
Vim, which itself derives from Stevie. It is not a rewrite, but a
continuation and extension of Vim. Many rewrites, clones, emulators
and imitators exist; some are very clever, but none are Vim. Neovim
strives to be a superset of Vim, notwithstanding some intentionally
removed misfeatures; excepting those few and carefully-considered
excisions, Neovim is Vim. It is built for users who want the good
parts of Vim, without compromise, and more.
%prep
%setup -q -b3
cp %{SOURCE4} .
%if %{without luajit}
%patch -P 1000 -p1
%endif
%build
# set vars to make build reproducible; see config/CMakeLists.txt
HOSTNAME=koji
USERNAME=koji
# Build the tree-sitter parsers first
mkdir -p .deps/build/
ln -sfr ../%{name}-%{version}-vendor .deps/build/downloads
%define _vpath_srcdir cmake.deps
%define __cmake_builddir .deps
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUSE_BUNDLED=OFF \
%if %{without system_treesitter}
-DUSE_BUNDLED_TS=ON \
%endif
-DUSE_BUNDLED_TS_PARSERS=ON
%cmake_build
# Build neovim
%define _vpath_srcdir .
%define __cmake_builddir redhat-linux-build
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DPREFER_LUA=%{?with_luajit:OFF}%{!?with_luajit:ON} \
-DLUA_PRG=%{lua_prg} \
-DENABLE_JEMALLOC=%{?with_jemalloc:ON}%{!?with_jemalloc:OFF} \
-DLIBLUV_INCLUDE_DIR:PATH=%{luv_include_dir} \
-DENABLE_TRANSLATIONS=ON
%cmake_build
%install
%cmake_install
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/nvim/sysinit.vim
install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/nvim/template.spec
desktop-file-install --dir=%{buildroot}%{_datadir}/applications \
runtime/nvim.desktop
install -d -m0755 %{buildroot}%{_datadir}/pixmaps
install -m0644 runtime/nvim.png %{buildroot}%{_datadir}/pixmaps/nvim.png
%fdupes %{buildroot}%{_datadir}/
# Fix exec bits
find %{buildroot}%{_datadir} \( -name "*.bat" -o -name "*.awk" \) \
-print -exec chmod -x '{}' \;
%find_lang nvim
# Refresh documentation helptags.
%transfiletriggerin -- %{_datadir}/nvim/runtime/doc
NVIM_LOG_FILE=/dev/null %{_bindir}/nvim -u NONE -es -c ":helptags %{_datadir}/nvim/runtime/doc" -c ":q" &> /dev/null || :
%transfiletriggerpostun -- %{_datadir}/nvim/runtime/doc
> %{_datadir}/nvim/runtime/doc/tags || :
NVIM_LOG_FILE=/dev/null %{_bindir}/nvim -u NONE -es -c ":helptags %{_datadir}/nvim/runtime/doc" -c ":q" &> /dev/null || :
%files -f nvim.lang
%license LICENSE.txt neovim-bundled-licenses.txt
%doc CONTRIBUTING.md MAINTAIN.md README.md
%{_bindir}/nvim
%dir %{_libdir}/nvim
%dir %{_libdir}/nvim/parser
%{_libdir}/nvim/parser/*.so
%{_mandir}/man1/nvim.1*
%{_datadir}/applications/nvim.desktop
%{_datadir}/pixmaps/nvim.png
%{_datadir}/icons/hicolor/128x128/apps/nvim.png
%dir %{_datadir}/nvim
%{_datadir}/nvim/sysinit.vim
%{_datadir}/nvim/template.spec
%dir %{_datadir}/nvim/runtime
%{_datadir}/nvim/runtime/*.vim
%{_datadir}/nvim/runtime/*.lua
%{_datadir}/nvim/runtime/neovim.ico
%dir %{_datadir}/nvim/runtime/autoload
%{_datadir}/nvim/runtime/autoload/README.txt
%{_datadir}/nvim/runtime/autoload/*.lua
%{_datadir}/nvim/runtime/autoload/*.vim
%dir %{_datadir}/nvim/runtime/autoload/cargo
%{_datadir}/nvim/runtime/autoload/cargo/*.vim
%dir %{_datadir}/nvim/runtime/autoload/dist
%{_datadir}/nvim/runtime/autoload/dist/*.vim
%dir %{_datadir}/nvim/runtime/autoload/provider
%{_datadir}/nvim/runtime/autoload/provider/*.vim
%{_datadir}/nvim/runtime/autoload/provider/script_host.rb
%dir %{_datadir}/nvim/runtime/autoload/remote
%{_datadir}/nvim/runtime/autoload/remote/*.vim
%dir %{_datadir}/nvim/runtime/autoload/rust
%{_datadir}/nvim/runtime/autoload/rust/*.vim
%dir %{_datadir}/nvim/runtime/autoload/xml
%{_datadir}/nvim/runtime/autoload/xml/*.vim
%dir %{_datadir}/nvim/runtime/colors
%{_datadir}/nvim/runtime/colors/*.lua
%{_datadir}/nvim/runtime/colors/*.vim
%{_datadir}/nvim/runtime/colors/README.txt
%dir %{_datadir}/nvim/runtime/compiler
%{_datadir}/nvim/runtime/compiler/*.vim
%{_datadir}/nvim/runtime/compiler/README.txt
%dir %{_datadir}/nvim/runtime/doc
%{_datadir}/nvim/runtime/doc/*.txt
%{_datadir}/nvim/runtime/doc/tags
%dir %{_datadir}/nvim/runtime/ftplugin
%{_datadir}/nvim/runtime/ftplugin/*.vim
%{_datadir}/nvim/runtime/ftplugin/*.lua
%{_datadir}/nvim/runtime/ftplugin/logtalk.dict
%{_datadir}/nvim/runtime/ftplugin/README.txt
%dir %{_datadir}/nvim/runtime/indent
%{_datadir}/nvim/runtime/indent/Makefile
%{_datadir}/nvim/runtime/indent/README.txt
%{_datadir}/nvim/runtime/indent/*.lua
%{_datadir}/nvim/runtime/indent/*.vim
%dir %{_datadir}/nvim/runtime/indent/testdir/
%{_datadir}/nvim/runtime/indent/testdir/README.txt
%{_datadir}/nvim/runtime/indent/testdir/*.in
%{_datadir}/nvim/runtime/indent/testdir/*.ok
%{_datadir}/nvim/runtime/indent/testdir/*.vim
%dir %{_datadir}/nvim/runtime/keymap
%{_datadir}/nvim/runtime/keymap/*.vim
%{_datadir}/nvim/runtime/keymap/README.txt
%dir %{_datadir}/nvim/runtime/lua
%{_datadir}/nvim/runtime/lua/*.lua
%dir %{_datadir}/nvim/runtime/lua/nvim
%{_datadir}/nvim/runtime/lua/nvim/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim
%{_datadir}/nvim/runtime/lua/vim/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/_ftplugin
%{_datadir}/nvim/runtime/lua/vim/_ftplugin/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/_meta
%{_datadir}/nvim/runtime/lua/vim/_meta/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/deprecated
%{_datadir}/nvim/runtime/lua/vim/deprecated/health.lua
%dir %{_datadir}/nvim/runtime/lua/vim/filetype
%{_datadir}/nvim/runtime/lua/vim/filetype/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/health
%{_datadir}/nvim/runtime/lua/vim/health/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/func
%{_datadir}/nvim/runtime/lua/vim/func/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/lsp
%{_datadir}/nvim/runtime/lua/vim/lsp/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/lsp/_meta
%{_datadir}/nvim/runtime/lua/vim/lsp/_meta/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/provider
%{_datadir}/nvim/runtime/lua/vim/provider/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/treesitter
%{_datadir}/nvim/runtime/lua/vim/treesitter/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/treesitter/_meta
%{_datadir}/nvim/runtime/lua/vim/treesitter/_meta/*.lua
%dir %{_datadir}/nvim/runtime/lua/vim/ui
%dir %{_datadir}/nvim/runtime/lua/vim/ui/clipboard
%{_datadir}/nvim/runtime/lua/vim/ui/clipboard/*.lua
%dir %{_datadir}/nvim/runtime/pack
%dir %{_datadir}/nvim/runtime/pack/dist
%dir %{_datadir}/nvim/runtime/pack/dist/opt
%dir %{_datadir}/nvim/runtime/pack/dist/opt/cfilter
%dir %{_datadir}/nvim/runtime/pack/dist/opt/cfilter/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/cfilter/plugin/*.lua
%dir %{_datadir}/nvim/runtime/pack/dist/opt/justify
%dir %{_datadir}/nvim/runtime/pack/dist/opt/justify/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/justify/plugin/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/netrw
%{_datadir}/nvim/runtime/pack/dist/opt/netrw/LICENSE.txt
%{_datadir}/nvim/runtime/pack/dist/opt/netrw/README.md
%dir %{_datadir}/nvim/runtime/pack/dist/opt/netrw/autoload
%{_datadir}/nvim/runtime/pack/dist/opt/netrw/autoload/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/netrw/doc
%{_datadir}/nvim/runtime/pack/dist/opt/netrw/doc/*.txt
%{_datadir}/nvim/runtime/pack/dist/opt/netrw/doc/tags
%dir %{_datadir}/nvim/runtime/pack/dist/opt/netrw/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/netrw/plugin/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/netrw/syntax
%{_datadir}/nvim/runtime/pack/dist/opt/netrw/syntax/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/nohlsearch
%dir %{_datadir}/nvim/runtime/pack/dist/opt/nohlsearch/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/nohlsearch/plugin/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/shellmenu
%dir %{_datadir}/nvim/runtime/pack/dist/opt/shellmenu/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/shellmenu/plugin/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/matchit
%dir %{_datadir}/nvim/runtime/pack/dist/opt/matchit/autoload
%{_datadir}/nvim/runtime/pack/dist/opt/matchit/autoload/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/matchit/doc
%{_datadir}/nvim/runtime/pack/dist/opt/matchit/doc/matchit.txt
%{_datadir}/nvim/runtime/pack/dist/opt/matchit/doc/tags
%dir %{_datadir}/nvim/runtime/pack/dist/opt/matchit/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/matchit/plugin/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/swapmouse
%dir %{_datadir}/nvim/runtime/pack/dist/opt/swapmouse/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/swapmouse/plugin/*.vim
%dir %{_datadir}/nvim/runtime/pack/dist/opt/termdebug
%dir %{_datadir}/nvim/runtime/pack/dist/opt/termdebug/plugin
%{_datadir}/nvim/runtime/pack/dist/opt/termdebug/plugin/*.vim
%dir %{_datadir}/nvim/runtime/plugin
%{_datadir}/nvim/runtime/plugin/*.lua
%{_datadir}/nvim/runtime/plugin/*.vim
%dir %{_datadir}/nvim/runtime/queries/
%dir %{_datadir}/nvim/runtime/queries/c
%{_datadir}/nvim/runtime/queries/c/*.scm
%dir %{_datadir}/nvim/runtime/queries/lua/
%{_datadir}/nvim/runtime/queries/lua/folds.scm
%{_datadir}/nvim/runtime/queries/lua/highlights.scm
%{_datadir}/nvim/runtime/queries/lua/injections.scm
%dir %{_datadir}/nvim/runtime/queries/markdown
%{_datadir}/nvim/runtime/queries/markdown/*.scm
%dir %{_datadir}/nvim/runtime/queries/markdown_inline
%{_datadir}/nvim/runtime/queries/markdown_inline/*.scm
%dir %{_datadir}/nvim/runtime/queries/query
%{_datadir}/nvim/runtime/queries/query/*.scm
%dir %{_datadir}/nvim/runtime/queries/vim/
%{_datadir}/nvim/runtime/queries/vim/*.scm
%dir %{_datadir}/nvim/runtime/queries/vimdoc/
%{_datadir}/nvim/runtime/queries/vimdoc/*.scm
%dir %{_datadir}/nvim/runtime/scripts
%{_datadir}/nvim/runtime/scripts/*.lua
%{_datadir}/nvim/runtime/scripts/*.vim
%{_datadir}/nvim/runtime/scripts/less.bat
%{_datadir}/nvim/runtime/scripts/less.sh
%dir %{_datadir}/nvim/runtime/spell
%{_datadir}/nvim/runtime/spell/cleanadd.vim
%{_datadir}/nvim/runtime/spell/en.utf-8.spl
%dir %{_datadir}/nvim/runtime/syntax
%{_datadir}/nvim/runtime/syntax/*.lua
%{_datadir}/nvim/runtime/syntax/*.vim
%{_datadir}/nvim/runtime/syntax/README.txt
%dir %{_datadir}/nvim/runtime/syntax/modula2
%dir %{_datadir}/nvim/runtime/syntax/modula2/opt
%{_datadir}/nvim/runtime/syntax/modula2/opt/*.vim
%dir %{_datadir}/nvim/runtime/syntax/vim
%{_datadir}/nvim/runtime/syntax/vim/generated.vim
%dir %{_datadir}/nvim/runtime/syntax/shared
%{_datadir}/nvim/runtime/syntax/shared/*.vim
%{_datadir}/nvim/runtime/syntax/shared/README.txt
%dir %{_datadir}/nvim/runtime/tutor
%{_datadir}/nvim/runtime/tutor/*.tutor
%{_datadir}/nvim/runtime/tutor/*.tutor.json
%dir %{_datadir}/nvim/runtime/tutor/en
%{_datadir}/nvim/runtime/tutor/en/*.tutor
%{_datadir}/nvim/runtime/tutor/en/*.tutor.json
%dir %{_datadir}/nvim/runtime/tutor/ja
%{_datadir}/nvim/runtime/tutor/ja/*.tutor
%{_datadir}/nvim/runtime/tutor/ja/*.tutor.json
%dir %{_datadir}/nvim/runtime/tutor/zh
%{_datadir}/nvim/runtime/tutor/zh/*.tutor
%{_datadir}/nvim/runtime/tutor/zh/*.tutor.json
%changelog
%autochangelog

2
sources Normal file
View file

@ -0,0 +1,2 @@
SHA512 (neovim-0.11.5.tar.gz) = 1b2bb241261eefd195275e28bb9ebe4102261d61d8b7fe38ccebad7131ccc38d29fae8494d511b4c440ad71ef95dc405a2ba6e98b5d47426f215c8137c8bc91f
SHA512 (neovim-0.11.5-vendor.tar.gz) = 388e8afb7919d89c7bceab3f03a49909ef307c3c2ac29d9899f5e30e475c18d453010290cc8929e5cae0a1252b2b7056a5d2bedfc9a3f3a12c0530aa52e14b0c

38
spec-template Normal file
View file

@ -0,0 +1,38 @@
Name:
Version:
Release: %autorelease
Summary:
License:
URL:
Source0:
BuildRequires:
Requires:
%description
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install
%check
%files
%license
%doc
%changelog
%autochangelog

10
sysinit.vim Normal file
View file

@ -0,0 +1,10 @@
let g:python_host_prog = '/usr/bin/python2'
let g:python3_host_prog = '/usr/bin/python3'
augroup Fedora
autocmd!
" RPM spec file template
autocmd BufNewFile *.spec silent! 0read /usr/share/nvim/template.spec
augroup END
" vim: et ts=2 sw=2