Compare commits

..

No commits in common. "rawhide" and "f33" have entirely different histories.

6 changed files with 97 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/vim-devicons-0.11.0.20191110gite3e6aa1.tar.gz
/vim-devicons-0.11.0.20200509gitd12c9b4.tar.gz

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# vim-devicons
The vim-devicons package

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (vim-devicons-0.11.0.20200509gitd12c9b4.tar.gz) = d048e47121e3c0edd5202af971c6d5ec72e95252cf712c95ed2c29f7e77a1155924da6e61d07db5297840921cf0a8e7addf062a0f3d16f7ab49b70a61a21db9c

12
vim-devicons.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-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>

79
vim-devicons.spec Normal file
View file

@ -0,0 +1,79 @@
%global commit d12c9b468ab67e8ea57b1f31cb43c43118b15e34
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global date 20200509
Name: vim-devicons
Version: 0.11.0
Release: 4.%{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
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4.20200509gitd12c9b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.11.0-3.20200509gitd12c9b4
- Update to latest git snapshot
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2.20191110gite3e6aa1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* 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