Initial import (#1762798).
This commit is contained in:
parent
6e17743093
commit
576baf9ef3
4 changed files with 83 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/vim-devicons-0.11.0.20191110gite3e6aa1.tar.gz
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (vim-devicons-0.11.0.20191110gite3e6aa1.tar.gz) = 1ef77fb6a8003a119e50de584458a24adfb829275c59eed4c5b954f0643105aaff6f0136fc19fc96d99352824011fc7d1c86666bf61e23ffdc642c9809484ee3
|
||||
12
vim-devicons.metainfo.xml
Normal file
12
vim-devicons.metainfo.xml
Normal 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-devicons</id>
|
||||
<extends>gvim.desktop</extends>
|
||||
<name>vim-devicons</name>
|
||||
<summary>Adds file type icons to Vim plugins</summary>
|
||||
<url type="homepage">https://github.com/ryanoasis/vim-devicons</url>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>MIT</project_license>
|
||||
<updatecontact>ego.cordatus@gmail.com</updatecontact>
|
||||
</component>
|
||||
69
vim-devicons.spec
Normal file
69
vim-devicons.spec
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
%global commit e3e6aa16bfce255e9bca3d117c11f18f36f5c1b3
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global date 20191110
|
||||
|
||||
Name: vim-devicons
|
||||
Version: 0.11.0
|
||||
Release: 1.%{date}git%{shortcommit}%{?dist}
|
||||
Summary: Adds file type icons to Vim plugins
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/ryanoasis/vim-devicons
|
||||
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
|
||||
|
||||
### Not available in repos
|
||||
### https://github.com/ryanoasis/nerd-fonts#font-installation
|
||||
# Requires: nerd-fonts
|
||||
|
||||
%description
|
||||
Supports plugins such as NERDTree, vim-airline, CtrlP, powerline, denite,
|
||||
unite, lightline.vim, vim-startify, vimfiler, vim-buffet and flagship.
|
||||
|
||||
Features:
|
||||
|
||||
- Adds filetype glyphs (icons) to various vim plugins.
|
||||
- Customizable and extendable glyphs settings.
|
||||
- Supports a wide range of file type extensions.
|
||||
- Supports popular full filenames, like .gitignore, node_modules, .vimrc, and
|
||||
many more.
|
||||
- Supports byte order marker (BOM).
|
||||
- Works with patched fonts, especially Nerd Fonts.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{commit} -p1
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{vimfiles_root}
|
||||
cp -r {autoload,nerdtree_plugin,plugin,pythonx,rplugin} %{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 CHANGELOG.md DEVELOPER.md CONTRIBUTING.md doc/*
|
||||
%{vimfiles_root}/autoload/*
|
||||
%{vimfiles_root}/nerdtree_plugin/*
|
||||
%{vimfiles_root}/plugin/*
|
||||
%{vimfiles_root}/pythonx/
|
||||
%{vimfiles_root}/rplugin/
|
||||
%{_metainfodir}/*.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Dec 07 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.11.0-1.20191110gite3e6aa1
|
||||
- Update to latest git snapshot
|
||||
|
||||
* Thu Oct 03 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.11.0-1.20190923gitfae1550
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue