Merge branch 'master' into epel8

This commit is contained in:
Artem Polishchuk 2019-12-10 10:34:59 +02:00
commit 4a28eaea2b
4 changed files with 67 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/vim-nerdtree-git-plugin-0.20191024gitf522a09.tar.gz

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (vim-nerdtree-git-plugin-0.20191024gitf522a09.tar.gz) = a1d2afbcb3117a965d137fb3b238059d660b4c31472200ce94d3374c9c4d60858ff614665141334ab4cc3cca539d24960eb484bae1fddb40f727bef2b557b487

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2019 Artem Polishchuk <ego.cordatus@gmail.com> -->
<component type="addon">
<id>vim-nerdtree-git-plugin</id>
<extends>gvim.desktop</extends>
<name>vim-nerdtree-git-plugin</name>
<summary>Plugin of NERDTree showing git status</summary>
<url type="homepage">https://github.com/xuyuanp/nerdtree-git-plugin</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>WTFPL</project_license>
<updatecontact>ego.cordatus@gmail.com</updatecontact>
</component>

View file

@ -0,0 +1,53 @@
%global commit f522a091e2838812d2669c331d7e9c283db6d54d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global date 20191024
Name: vim-nerdtree-git-plugin
Version: 0
Release: 1.%{date}git%{shortcommit}%{?dist}
Summary: Plugin of NERDTree showing git status
License: WTFPL
URL: https://github.com/xuyuanp/nerdtree-git-plugin
Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz
Source1: %{name}.metainfo.xml
BuildArch: noarch
BuildRequires: libappstream-glib
BuildRequires: vim-filesystem
Requires: vim-enhanced
Requires: vim-nerdtree
%description
A plugin of NERDTree showing git status flags. Works with the LATEST version of
NERDTree.
%prep
%autosetup -n nerdtree-git-plugin-%{commit} -p1
%install
mkdir -p %{buildroot}%{vimfiles_root}
cp -r nerdtree_plugin %{buildroot}%{vimfiles_root}
install -m 0644 -Dp %{SOURCE1} %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
%files
%license LICENSE
%doc README.md
%{vimfiles_root}/nerdtree_plugin/*
%{_metainfodir}/*.xml
%changelog
* Sat Dec 07 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-1.20191024gitf522a09
- Update to latesti git snapshot
- Add license file
* Thu Oct 03 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-1.20190613git0501cdf
- Initial package