## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: vis Version: 0.9 Release: %autorelease Summary: A vim-like editor with structural regex from plan9 # The entire source code is ISC except for the following exceptions, # that are also found in the LICENSE-file of the project: # ./configure is MIT licensed # map.c and map.h are under CC0 # libutf.c and libutf.h are MIT licensed # sam.c and sam.h are under a ISC-like license # All files under lua/lexers/ are MIT licensed License: ISC AND MIT AND CC0-1.0 URL: https://git.sr.ht/~martanne/%{name} Source0: https://git.sr.ht/~martanne/%{name}/archive/v%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: pkgconfig(termkey) BuildRequires: pkgconfig(ncursesw) BuildRequires: pkgconfig(tre) BuildRequires: pkgconfig(lua) >= 5.2 BuildRequires: libacl-devel BuildRequires: pkgconfig(libselinux) Requires: lua-lpeg >= 0.12 Requires: xsel %description A Vim-like editor with structural regular expressions inspired by Plan9's Sam-editor. %package doc Summary: Docs for the Lua API of Vis BuildRequires: lua-ldoc Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc %{summary} %prep %autosetup -n vis-v%{version} %build %configure %make_build # create Lua API docs %make_build luadoc-all %install %make_install %files %doc README.md %license LICENSE %{_bindir}/vis %{_bindir}/vis-clipboard %{_bindir}/vis-complete %{_bindir}/vis-digraph %{_bindir}/vis-menu %{_bindir}/vis-open %{_datadir}/%{name} %{_mandir}/man1/%{name}*.1.* %exclude %{_pkgdocdir}/LICENSE %files doc %doc lua/doc/index.html lua/doc/ldoc_fixed.css %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 0.7-10 - convert license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 0.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 0.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Dec 31 2020 Jani Juhani Sinervo - 0.7-1 - Update to 0.7 * Thu Oct 01 2020 Jani Juhani Sinervo - 0.6-4.20201001gitee46156 - Fix FSFTB rhbz#186506 * Sat Aug 01 2020 Fedora Release Engineering - 0.6-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 15 2020 Jani Juhani Sinervo - 0.6-1 - Update to 0.6 * Fri Jan 31 2020 Fedora Release Engineering - 0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 07 2018 Jani Juhani Sinervo - 0.5-1 - Initial attempt at official inclusion ## END: Generated by rpmautospec