Add Gnome Software plug-in AppData (rhbz#1110300).
This commit is contained in:
parent
f1ea9b87eb
commit
17a76e3e1a
1 changed files with 11 additions and 0 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
%global commandt_so_dir %{ruby_vendorarchdir}/command-t
|
||||
|
||||
%global appdata_dir %{_datadir}/appdata
|
||||
|
||||
Name: vim-command-t
|
||||
Version: 1.10
|
||||
Release: 1%{?dist}
|
||||
|
|
@ -16,6 +18,9 @@ URL: https://wincent.com/products/command-t
|
|||
# git clone git://git.wincent.com/command-t.git && cd command-t/
|
||||
# git archive 1.10 -o command-t-1.10.tar.gz
|
||||
Source0: command-t-%{version}.tar.gz
|
||||
# Plug-in AppData for Gnome Software.
|
||||
# https://github.com/wincent/Command-T/issues/99
|
||||
Source1: vim-command-t.metainfo.xml
|
||||
Requires: ruby(release)
|
||||
# Although command-t does not depend on rubygems directly, the RubyGems are
|
||||
# required by Ruby, but not always (rhbz#845011). So it is necessary to enforce
|
||||
|
|
@ -70,6 +75,10 @@ find %{buildroot}%{vimfiles} -name '.*' -delete
|
|||
rm README.txt
|
||||
cp -pa doc/command-t.txt README.txt
|
||||
|
||||
# Install AppData.
|
||||
mkdir -p %{buildroot}%{appdata_dir}
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{appdata_dir}
|
||||
|
||||
%check
|
||||
# Get rid of Bundler
|
||||
sed -i '/Bundler/,/^end$/ s/^/#/' spec/spec_helper.rb
|
||||
|
|
@ -97,11 +106,13 @@ vim -c ":helptags %{vimfiles}/doc" -c :q &> /dev/null
|
|||
%exclude %{vimfiles}/ruby/command-t/mkmf.log
|
||||
%exclude %{vimfiles}/ruby/command-t/depend
|
||||
%{vimfiles}/ruby/*
|
||||
%{appdata_dir}/vim-command-t.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 11 2014 Vít Ondruch <vondruch@redhat.com> - 1.10-1
|
||||
- Update to Command-T 1.10.
|
||||
- Add Gnome Software plug-in AppData (rhbz#1110300).
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue