65 lines
2.2 KiB
RPMSpec
65 lines
2.2 KiB
RPMSpec
Name: vim-gtk-syntax
|
|
Version: 20130716
|
|
Release: 4%{?dist}
|
|
Summary: Vim syntax highlighting for GLib, Gtk+, Gstreamer, and more
|
|
|
|
License: Public Domain
|
|
URL: http://www.vim.org/scripts/script.php?script_id=1000
|
|
#Source0: http://www.vim.org/scripts/download_script.php?src_id=20534
|
|
# The source for this package was downloaded from the URL above, and renamed to
|
|
# include the version number:
|
|
# mv gtk-vim-syntax.tar.gz gtk-vim-syntax-20130716.tar.gz
|
|
Source0: gtk-vim-syntax-20130716.tar.gz
|
|
Source1: vim-gtk-syntax.metainfo.xml
|
|
|
|
Group: Applications/Editors
|
|
BuildRequires: /usr/bin/appstream-util
|
|
Requires: vim-filesystem
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A collection of C extension syntax files for xlib, glib (gobject, gio),
|
|
gdk-pixbuf, gtk2 (gdk2), gtk3 (gdk3), atk, at-spi, pango, cairo, clutter, gimp,
|
|
gstreamer, dbus-glib, json-glib, libglade, gtksourceview, gnome-desktop,
|
|
libgsf, libnotify, librsvg, libunique, libwnck, gtkglext, vte, poppler, evince.
|
|
|
|
The xlib one was originally created by Hwanjin Choe (vimscript #570), the
|
|
others were generated from gtk-doc declaration lists and support
|
|
enabling/disabling of highlighting of deprecated declarations.
|
|
|
|
%prep
|
|
%setup -q -n gtk-vim-syntax
|
|
|
|
|
|
%build
|
|
# Nothing to build.
|
|
|
|
|
|
%install
|
|
install -d %{buildroot}%{_datadir}/vim/vimfiles/syntax
|
|
install -pm 0644 *.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax
|
|
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml
|
|
|
|
|
|
%check
|
|
appstream-util validate %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml --nonet
|
|
|
|
|
|
%files
|
|
%doc c.vim.example README
|
|
%{_datadir}/appdata/%{name}.metainfo.xml
|
|
%{_datadir}/vim/vimfiles/syntax
|
|
|
|
|
|
%changelog
|
|
* Wed Oct 01 2014 David King <amigadave@amigadave.com> - 20130716-4
|
|
- Do not own the appdata directory
|
|
|
|
* Mon Aug 11 2014 David King <amigadave@amigadave.com> - 20130716-3
|
|
- Add AppStream metainfo file (#1128829)
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130716-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Mar 21 2014 David King <amigadave@amigadave.com> - 20130716-1
|
|
- Initial import (#985446)
|