Backport new downstream spec file to upstream

This commit is contained in:
Jiri Konecny 2020-01-16 12:25:16 +01:00
parent 9ca479ed40
commit fa3d13df43
No known key found for this signature in database
GPG Key ID: 38F52F0E5C3FAD25

View File

@ -1,11 +1,11 @@
%bcond_without tests %bcond_without tests
### Enable LTO. Profit ~8% # Enable LTO. Profit ~8%
%global optflags %{optflags} -flto %global optflags %{optflags} -flto
%global build_ldflags %{build_ldflags} -flto %global build_ldflags %{build_ldflags} -flto
Name: kakoune Name: kakoune
Version: 2019.12.10 Version: 2020.01.16
Release: 1%{?dist} Release: 1%{?dist}
Summary: Code editor heavily inspired by Vim Summary: Code editor heavily inspired by Vim
@ -32,24 +32,24 @@ Kakoune can operate in two modes, normal and insertion. In insertion mode, keys
are directly inserted into the current buffer. In normal mode, keys are used to are directly inserted into the current buffer. In normal mode, keys are used to
manipulate the current selection and to enter insertion mode. manipulate the current selection and to enter insertion mode.
Kakoune has a strong focus on interactivity, most commands provide immediate Kakoune has a strong focus on interactivity, most commands provide immediate and
and incremental results, while still being competitive (as in keystroke count) incremental results, while still being competitive (as in keystroke count) with
with Vim. Vim.
Kakoune works on selections, which are oriented, inclusive range of characters, Kakoune works on selections, which are oriented, inclusive range of characters,
selections have an anchor and a cursor character. Most commands move both of selections have an anchor and a cursor character. Most commands move both of
them, except when extending selection where the anchor character stays fixed them, except when extending selection where the anchor character stays fixed and
and the cursor one moves around. the cursor one moves around.
%prep %prep
%autosetup -p1 %autosetup -p1
### Use default Fedora build flags # Use default Fedora build flags
sed -i '/CXXFLAGS += -O3/d' src/Makefile sed -i '/CXXFLAGS += -O3/d' src/Makefile
### Install doc files in proper location # Install doc files in proper location
sed -i 's!$(PREFIX)/share/doc/kak!$(PREFIX)/share/doc/%{name}!' src/Makefile sed -i 's|$(PREFIX)/share/doc/kak|$(PREFIX)/share/doc/%{name}|' src/Makefile
%build %build
@ -83,6 +83,9 @@ popd
%changelog %changelog
* Thu Jan 16 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2020.01.16-1
- Update to 2020.01.16
* Tue Dec 10 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 2019.12.10-1 * Tue Dec 10 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 2019.12.10-1
- Update to 2019.12.10 - Update to 2019.12.10