diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f42de74 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/vim-toml-624f024.tar.gz +/vim-toml-85ba827.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index ad47f25..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -part of vim-common since version 8.2.3519 diff --git a/sources b/sources new file mode 100644 index 0000000..b8c1125 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (vim-toml-85ba827.tar.gz) = a52fe4f821fec22c67284f7ebfd1761af68295b535638209a2b1dd8234981eee1ce2ee8d4e0a82185d68fff3bc3a352e892b7ebcea97cb93cd040d89fe5d6344 diff --git a/vim-toml.spec b/vim-toml.spec new file mode 100644 index 0000000..477fa7d --- /dev/null +++ b/vim-toml.spec @@ -0,0 +1,53 @@ +%global commit 85ba8277a6e331a56fce920d62bfdacce5bc5a80 +%global commitdate 20180615 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: vim-toml +Version: 0 +Release: 0.4.%{commitdate}git%{shortcommit}%{?dist} +Summary: Vim syntax for TOML +License: MIT +URL: https://github.com/cespare/vim-toml +Source0: %{url}/archive/%{commit}/vim-toml-%{shortcommit}.tar.gz +BuildArch: noarch +# for %%vimfiles_root macro +BuildRequires: vim-filesystem +Requires: vim-filesystem + + +%description +%{summary}. + + +%prep +%autosetup -n vim-toml-%{commit} + + +%install +install -D -p -m 644 ftdetect/toml.vim %{buildroot}%{vimfiles_root}/ftdetect/toml.vim +install -D -p -m 644 ftplugin/toml.vim %{buildroot}%{vimfiles_root}/ftplugin/toml.vim +install -D -p -m 644 syntax/toml.vim %{buildroot}%{vimfiles_root}/syntax/toml.vim + + +%files +%license LICENSE +%{vimfiles_root}/ftdetect/toml.vim +%{vimfiles_root}/ftplugin/toml.vim +%{vimfiles_root}/syntax/toml.vim + + +%changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0-0.4.20180615git85ba827 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0-0.3.20180615git85ba827 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 21 2018 Carl George - 0-0.2.20180615git85ba827 +- Latest upstream commit + +* Thu Apr 05 2018 Carl George - 0-0.1.20180306git624f024 +- Include snapshot date in release + +* Wed Apr 04 2018 Carl George - 0-0.1.git624f024 +- Initial package