Rebased to new 6.10.16
This commit is contained in:
parent
a7e404878a
commit
66055c7cb9
3 changed files with 30 additions and 16 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/vim-nerdtree-5.0.0.tar.gz
|
||||
/vim-nerdtree-6.10.16.tar.gz
|
||||
|
|
|
|||
1
sources
1
sources
|
|
@ -1 +1,2 @@
|
|||
SHA512 (vim-nerdtree-5.0.0.tar.gz) = 7de6e7978604e89e2c03cadf74ff4a57545ff73a643039fdfe76f277e773374b5b5f9bbd5d8f3307df4af867f88fc687f9bb5e28ff9e90d11fecdef8bdb83d1a
|
||||
SHA512 (vim-nerdtree-6.10.16.tar.gz) = c4c46a0ca3d7bb6ea3f5ae8312b874b745de1daa5f87013da5048534a51bbf0e5320f4a0e01038ccb2274f73b0aa099dd46977c2f82e4bd089576c5778790fc1
|
||||
|
|
|
|||
|
|
@ -1,22 +1,26 @@
|
|||
%global appdata_dir %{_datadir}/appdata
|
||||
|
||||
Name: vim-nerdtree
|
||||
Version: 5.0.0
|
||||
Release: 11%{?dist}
|
||||
Version: 6.10.16
|
||||
Release: 1%{?dist}
|
||||
Summary: A tree explorer plugin for the editor Vim
|
||||
|
||||
License: WTFPL
|
||||
URL: http://www.vim.org/scripts/script.php?script_id=1658
|
||||
Source0: https://github.com/scrooloose/nerdtree/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/preservim/nerdtree
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# Added metainfo per
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_metainfo_xml_file_creation
|
||||
Source1: vim-nerdtree.metainfo.xml
|
||||
|
||||
Requires: vim-common
|
||||
|
||||
# TODO: These are needed by %%transfiletrigger provided by vim-commons,
|
||||
# not sure how to get rid of these ATM :/
|
||||
Requires(post): vim
|
||||
Requires(postun): vim
|
||||
|
||||
# Needed for AppData check.
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
# Defines %%vimfiles_root
|
||||
BuildRequires: vim-filesystem
|
||||
BuildArch: noarch
|
||||
|
|
@ -27,10 +31,13 @@ directories. It presents the filesystem to you in the form of a tree which
|
|||
you manipulate with the keyboard and/or mouse. It also allows you
|
||||
to perform simple filesystem operations.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n nerdtree-%{version}
|
||||
|
||||
|
||||
%build
|
||||
# Nothing to build. We are just copying files to the filesystem
|
||||
|
||||
|
||||
%install
|
||||
|
|
@ -38,30 +45,35 @@ mkdir -p %{buildroot}%{vimfiles_root}
|
|||
cp -ar {autoload,doc,lib,nerdtree_plugin,plugin,syntax} %{buildroot}%{vimfiles_root}
|
||||
|
||||
# Install AppData.
|
||||
mkdir -p %{buildroot}%{appdata_dir}
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{appdata_dir}
|
||||
mkdir -p %{buildroot}%{_metainfodir}
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_metainfodir}
|
||||
|
||||
|
||||
%check
|
||||
# Check the AppData add-on to comply with guidelines.
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{appdata_dir}/*.metainfo.xml
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
|
||||
|
||||
|
||||
%files
|
||||
%doc CHANGELOG
|
||||
%doc CHANGELOG.md
|
||||
%license LICENCE
|
||||
%doc README.markdown
|
||||
%{vimfiles_root}/autoload/*
|
||||
%doc %{vimfiles_root}/doc/*
|
||||
# This seems to be new convention introduced by NERDTree.
|
||||
%doc %{vimfiles_root}/doc/NERDTree.txt
|
||||
%{vimfiles_root}/autoload/nerdtree
|
||||
%{vimfiles_root}/autoload/nerdtree.vim
|
||||
%dir %{vimfiles_root}/lib
|
||||
%{vimfiles_root}/lib/nerdtree
|
||||
%{vimfiles_root}/nerdtree_plugin/
|
||||
%{vimfiles_root}/plugin/*
|
||||
%{vimfiles_root}/syntax/*
|
||||
%{appdata_dir}/vim-nerdtree.metainfo.xml
|
||||
%{vimfiles_root}/plugin/NERD_tree.vim
|
||||
%{vimfiles_root}/syntax/nerdtree.vim
|
||||
%{_metainfodir}/vim-nerdtree.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 02 2023 Robby Callicotte <rcallicotte@fedoraproject.org> - 6.10.16-1
|
||||
- Rebased to new version
|
||||
- Resolves bz #2105772
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue