File vim-plugin-ferm.spec of Package vim-plugin-ferm
#
# spec file for package vim-plugin-ferm
#
# Copyright (c) 2021, Martin Hauke <mardnh@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 vim_sitedir %{_datadir}/vim/site/
#
Name: vim-plugin-ferm
Version: 0~git20210506
Release: 0
Summary: Ferm plugin for Vim
License: Vim
Group: Productivity/Text/Editors
URL: https://github.com/cometsong/ferm.vim
Source: %{name}-%{version}.tar.xz
BuildRequires: vim
Requires: vim
Supplements: packageand(vim,ferm)
BuildArch: noarch
%description
This Vim plugin provides support for editing ferm configuration files.
%prep
%setup -q
%build
%install
for d in ftdetect syntax; do
install -d -m 0755 %{buildroot}%{vim_sitedir}/$d
install -p -m 0644 $d/* %{buildroot}%{vim_sitedir}/$d/
done
%files
# No dedicated license file exists. See header of syntax/ferm.vim
%doc README.md
%{vim_sitedir}
%changelog