Initial import (#1762776).

This commit is contained in:
Artem Polishchuk 2019-12-10 10:12:23 +02:00
commit 05f03054eb
4 changed files with 68 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/vim-gv-0.20191207gitf12b8b8.tar.gz

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (vim-gv-0.20191207gitf12b8b8.tar.gz) = 36a5a284cf5b29d054f3419ba92f79f870090141a1bb51390893649fb83a14237f6ceca7391794b52a70cc34a099f56ebebe10a5619ccc8b2c6a7e3122f681af

12
vim-gv.metainfo.xml Normal file
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-gv</id>
<extends>gvim.desktop</extends>
<name>vim-gv</name>
<summary>Git commit browser in Vim</summary>
<url type="homepage">https://github.com/junegunn/gv.vim</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<updatecontact>ego.cordatus@gmail.com</updatecontact>
</component>

54
vim-gv.spec Normal file
View file

@ -0,0 +1,54 @@
%global commit f12b8b80897c1214327e6075abc007ec6e55a691
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global date 20191207
Name: vim-gv
Version: 0
Release: 3.%{date}git%{shortcommit}%{?dist}
Summary: Git commit browser in Vim
License: MIT
URL: https://github.com/junegunn/gv.vim
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-fugitive
%description
A git commit browser.
%prep
%autosetup -n gv.vim-%{commit} -p1
%install
mkdir -p %{buildroot}%{vimfiles_root}
cp -r 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
%doc README.md test/
%{vimfiles_root}/plugin/*
%{_metainfodir}/*.xml
%changelog
* Sat Dec 07 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-3.20191207gitf12b8b8
- Update to latest git snapshot
- Fix license
* Thu Oct 17 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-2.20191013git7a84f63
- Update to latest git snapshot
* Thu Oct 03 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-1.20190911git0868f29
- Initial package