Initial import (#1762768).
This commit is contained in:
parent
e300fbc93e
commit
a5feebfdf8
4 changed files with 67 additions and 0 deletions
53
vim-nerdtree-git-plugin.spec
Normal file
53
vim-nerdtree-git-plugin.spec
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue