%global commit 39f8083c885149f52712b65b8d5380d63939bc23 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20210516 Name: awesome-vim-colorschemes Version: 0 Release: 13.%{date}git%{shortcommit}%{?dist} Summary: Collection of color schemes for Neo/vim, merged for quick use BuildArch: noarch # You can find the individual license in the actual vim file, or find the # appropriate README in docs/ # * https://github.com/rafi/awesome-vim-colorschemes/issues/12 License: Vim and MIT and CC-BY URL: https://github.com/rafi/awesome-vim-colorschemes Source0: %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz Source1: %{name}.metainfo.xml # Remove executable bit & Fix wrong file end of line encoding # * https://github.com/rafi/awesome-vim-colorschemes/pull/13 Patch0: https://github.com/rafi/awesome-vim-colorschemes/pull/13#/remove-executable-bit-&-fix-wrong-file-end-of-line-encoding.patch BuildRequires: libappstream-glib BuildRequires: vim-filesystem Requires: vim-enhanced %description Collection of awesome color schemes for Neo/vim, merged for quick use. %prep %autosetup -n %{name}-%{commit} -p1 %install mkdir -p %{buildroot}%{vimfiles_root} cp -a {autoload,colors} %{buildroot}%{vimfiles_root} install -Dpm0644 %{SOURCE1} %{buildroot}%{_metainfodir}/%{name}.metainfo.xml %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml %files %doc README.md docs/ %{vimfiles_root}/autoload/* %{vimfiles_root}/colors/* %{_metainfodir}/*.xml %changelog * Mon Jun 14 2021 Artem Polishchuk - 0-13.20210516git39f8083 - build(update): commit 39f8083 * Tue Jan 26 2021 Fedora Release Engineering - 0-12.20200911git41a0d9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Oct 20 2020 Artem Polishchuk - 0-11.20200911git41a0d9e - build(update): commit 41a0d9e * Mon Jul 27 2020 Fedora Release Engineering - 0-10.20191209gitb5037cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0-9.20191209gitb5037cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 22 2020 Artem Polishchuk - 0-8.20191209gitb5037cb - Remove executable bit & Fix wrong file end of line encoding * Fri Jan 17 2020 Artem Polishchuk - 0-7.20191209gitb5037cb - Preserve timestamps during copy * Mon Dec 09 2019 Artem Polishchuk - 0-6.20191209gitb5037cb - Update to latest git snapshot - Add missed license in spec file * Sun Sep 29 2019 Artem Polishchuk - 0-6.20190921git21f5c63 - Initial package