From e09723276801614b97957ec142918acdbabd2b0c97798bcbb127361815c16349 Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Thu, 5 May 2011 10:15:46 +0000 Subject: [PATCH] use spec-cleaner, add rails plugin OBS-URL: https://build.opensuse.org/package/show/editors/vim-plugins?expand=0&rev=3 --- _service:download_url:spec.snippets | 123 ------ vim-plugins.changes | 6 + vim-plugins.spec | 601 +++++++++++----------------- vimplugin-rails-4.3.tar.bz2 | 3 + 4 files changed, 243 insertions(+), 490 deletions(-) delete mode 100644 _service:download_url:spec.snippets create mode 100644 vimplugin-rails-4.3.tar.bz2 diff --git a/_service:download_url:spec.snippets b/_service:download_url:spec.snippets deleted file mode 100644 index 795c520..0000000 --- a/_service:download_url:spec.snippets +++ /dev/null @@ -1,123 +0,0 @@ -# Specfile snippets for snipMate vim plugin -# http://www.vim.org/scripts/script.php?script_id=2540 -# by Petr Uzel -snippet Pa - Patch${1:N}: ${2:NAME} -snippet So - Source${1:N}: ${2:NAME} -snippet BR - BuildRequires: ${1:PKG} -snippet Re - Requires: ${1:PKG} -snippet pa - %patch${1:N} -p${2:1} -snippet bd - %{_bindir} -snippet sbd - %{_sbindir} -snippet infd - %{_infodir} -snippet md - %{_mandir} -snippet ddd - %{_defaultdocdir} -snippet ld - %{_libdir} -snippet incd - %{_includedir} -snippet files - %files ${1:NAME} - %defattr{-,root,root} - ${2} -snippet filesn - %files -n ${1:NAME} - %defattr{-,root,root} - ${2} -snippet Name - Name: `expand("%:t:r")` - Version: ${1:VERSION} - Release: 0 - Summary: ${2:SUMMARY} - Group: ${3:GROUP} - License: ${4:LICENSE} - Url: ${5:URL} - PreReq: ${6:PKG} - Provides: ${7:SYMBOL} - BuildRequires: ${8:PKG} - Source: ${9:FILE} - BuildRoot: %{_tmppath}/%{name}-%{version}-build - AutoReqProv: on - - %description - ${10:LONG DESCRIPTION} - - - Authors: - -------- - ${11:AUTHOR} - - %prep - %setup - - %build - %configure - make %{?jobs:-j%jobs} - - %install - %makeinstall - - %clean - rm -rf $RPM_BUILD_ROOT - - %post - %postun - - %files - %defattr(-,root,root) - %doc ChangeLog README COPYING - - %changelog -snippet packagen - %package -n ${1:PKGNAME} - License: ${2:LICENSE} - Summary: ${3:SUMMARY} - Group: ${4:GROUP} - AutoReqProv: on - - %description -n $1 - ${5:LONG DESCRIPTION} -snippet package - %package ${1:PKGNAME} - License: ${2:LICENSE} - Summary: ${3:SUMMARY} - Group: ${4:GROUP} - AutoReqProv: on - - %description $1 - ${5:LONG DESCRIPTION} -snippet if - %if ${1:COND} - ${2:# STUFF} - %endif - ${3} -snippet ifarch - %ifarch ${1:ARCH} - ${2:# STUFF} - %endif - ${3} -snippet ifnarch - %ifnarch ${1:ARCH} - ${2:# STUFF} - %endif - ${3} -snippet install - install -m ${1:644} %{_buildroot}/%{_${2:DIR}}/${3:FILE} -snippet installd - install -d -m ${1:644} %{_buildroot}/%{_${2:DIR}}/${3:FILE} -snippet ifsusever - %if 0%{?suse_version} >= ${1:1130} - ${2:# STUFF} - %else - ${3:# STUFF} - %endif - ${3} diff --git a/vim-plugins.changes b/vim-plugins.changes index 4ecb11b..6ba495d 100644 --- a/vim-plugins.changes +++ b/vim-plugins.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 5 09:50:31 UTC 2011 - puzel@novell.com + +- use spec-cleaner +- add rails plugin + ------------------------------------------------------------------- Sat Jan 15 18:29:53 UTC 2011 - roman@priesol.net diff --git a/vim-plugins.spec b/vim-plugins.spec index fefb64e..6af2521 100644 --- a/vim-plugins.spec +++ b/vim-plugins.spec @@ -3,7 +3,6 @@ # package are under the same license as the package itself. # -# norootforbuild %define align_version 35.41 %define a_version 2.18 %define bufexplorer_version 7.2.6 @@ -35,71 +34,65 @@ %define gnupg_version 3026 %define gitdiff_version 2 %define snipmate_version 0.83 +%define rails_version 4.3 -Name: vim-plugins -Version: 7.2.22 -Release: 1 -Summary: Plug-ins pack for Vim -Group: Productivity/Text/Editors -License: MIT -URL: http://www.vim.org/ -Source0: vimplugin-align-%{align_version}.tar.bz2 -Source1: vimplugin-a-%{a_version}.tar.bz2 -Source2: vimplugin-bufexplorer-%{bufexplorer_version}.tar.bz2 -Source3: vimplugin-calendar-%{calendar_version}.tar.bz2 -Source4: vimplugin-colorsel-%{colorsel_version}.tar.bz2 -Source5: vimplugin-colorschemes-%{colorschemes_version}.tar.bz2 -Source6: vimplugin-diffchanges-%{diffchanges_version}.tar.bz2 -Source7: vimplugin-locateopen-%{locateopen_version}.tar.bz2 -Source8: vimplugin-matchit-%{matchit_version}.tar.bz2 -Source9: vimplugin-matrix-%{matrix_version}.tar.bz2 -Source10: vimplugin-minibufexpl-%{minibufexpl_version}.tar.bz2 -Source11: vimplugin-multiplesearch-%{multiplesearch_version}.tar.bz2 -Source12: vimplugin-NERDcommenter-%{NERDcommenter_version}.tar.bz2 -Source13: vimplugin-NERDtree-%{NERDtree_version}.tar.bz2 -Source14: vimplugin-project-%{project_version}.tar.bz2 -Source15: vimplugin-searchcomplete-%{searchcomplete_version}.tar.bz2 -Source16: vimplugin-showmarks-%{showmarks_version}.tar.bz2 -Source17: vimplugin-supertab-%{supertab_version}.tar.bz2 -Source18: vimplugin-taglist-%{taglist_version}.tar.bz2 -Source19: vimplugin-tlib-%{tlib_version}.tar.bz2 -Source20: vimplugin-tregisters-%{tregisters_version}.tar.bz2 -Source21: vimplugin-tselectbuffer-%{tselectbuffer_version}.tar.bz2 -Source22: vimplugin-tselectfiles-%{tselectfiles_version}.tar.bz2 -Source23: vimplugin-utl-%{utl_version}.tar.bz2 -Source24: vimplugin-zoomwin-%{zoomwin_version}.tar.bz2 -Source25: vimplugin-latex-%{latex_version}.tar.bz2 -Source26: vimplugin-quilt-%{quilt_version}.tar.bz2 -Source27: vimplugin-vimwiki-%{vimwiki_version}.tar.bz2 -Source28: vimplugin-gnupg-%{gnupg_version}.tar.bz2 -Source29: vimplugin-gitdiff-%{gitdiff_version}.tar.bz2 -Source30: vimplugin-snipmate-%{snipmate_version}.tar.bz2 -Source31: spec.snippets -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: vim -BuildArch: noarch -Patch0: colorsel-disable-nogui-warning-error.patch -Patch1: locateopen-1.3-locate-support.patch - +Name: vim-plugins +Version: 7.2.22 +Release: 1 +License: MIT +Summary: Plug-ins pack for Vim +Url: http://www.vim.org/ +Group: Productivity/Text/Editors +Source0: vimplugin-align-%{align_version}.tar.bz2 +Source1: vimplugin-a-%{a_version}.tar.bz2 +Source2: vimplugin-bufexplorer-%{bufexplorer_version}.tar.bz2 +Source3: vimplugin-calendar-%{calendar_version}.tar.bz2 +Source4: vimplugin-colorsel-%{colorsel_version}.tar.bz2 +Source5: vimplugin-colorschemes-%{colorschemes_version}.tar.bz2 +Source6: vimplugin-diffchanges-%{diffchanges_version}.tar.bz2 +Source7: vimplugin-locateopen-%{locateopen_version}.tar.bz2 +Source8: vimplugin-matchit-%{matchit_version}.tar.bz2 +Source9: vimplugin-matrix-%{matrix_version}.tar.bz2 +Source10: vimplugin-minibufexpl-%{minibufexpl_version}.tar.bz2 +Source11: vimplugin-multiplesearch-%{multiplesearch_version}.tar.bz2 +Source12: vimplugin-NERDcommenter-%{NERDcommenter_version}.tar.bz2 +Source13: vimplugin-NERDtree-%{NERDtree_version}.tar.bz2 +Source14: vimplugin-project-%{project_version}.tar.bz2 +Source15: vimplugin-searchcomplete-%{searchcomplete_version}.tar.bz2 +Source16: vimplugin-showmarks-%{showmarks_version}.tar.bz2 +Source17: vimplugin-supertab-%{supertab_version}.tar.bz2 +Source18: vimplugin-taglist-%{taglist_version}.tar.bz2 +Source19: vimplugin-tlib-%{tlib_version}.tar.bz2 +Source20: vimplugin-tregisters-%{tregisters_version}.tar.bz2 +Source21: vimplugin-tselectbuffer-%{tselectbuffer_version}.tar.bz2 +Source22: vimplugin-tselectfiles-%{tselectfiles_version}.tar.bz2 +Source23: vimplugin-utl-%{utl_version}.tar.bz2 +Source24: vimplugin-zoomwin-%{zoomwin_version}.tar.bz2 +Source25: vimplugin-latex-%{latex_version}.tar.bz2 +Source26: vimplugin-quilt-%{quilt_version}.tar.bz2 +Source27: vimplugin-vimwiki-%{vimwiki_version}.tar.bz2 +Source28: vimplugin-gnupg-%{gnupg_version}.tar.bz2 +Source29: vimplugin-gitdiff-%{gitdiff_version}.tar.bz2 +Source30: vimplugin-snipmate-%{snipmate_version}.tar.bz2 +Source31: vimplugin-rails-%{rails_version}.tar.bz2 +Source100: spec.snippets +Patch0: colorsel-disable-nogui-warning-error.patch +Patch1: locateopen-1.3-locate-support.patch +BuildRequires: vim +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %define vimplugin_dir %{_datadir}/vim/site - %description Subpackages of this packages contains some plugins for Vi iMproved text editor. -Authors: --------- - Marek Stopka - Petr Uzel - -# -------------------------- vim-plugins-align -------------------------- %package -n vim-plugin-align -License: MIT -Version: %align_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Plugin to produce aligned text, equations, declarations, etc +Version: %align_version +License: MIT +Summary: Plugin to produce aligned text, equations, declarations, etc +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-align Align lets you align statements on their equal signs, make comment boxes, align @@ -107,17 +100,12 @@ comments, align declarations, etc. It handles alignment on multiple separators, not just the first one, and the separators may be the same across the line or different. -Authors: --------- - Charles Campbell - -# ---------------------------- vim-plugins-a ---------------------------- %package -n vim-plugin-a -License: MIT -Version: %a_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Alternate files quickly (.c --> .h etc) +Version: %a_version +License: MIT +Summary: Alternate files quickly +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-a Vim plugin to quickly switch between corresponding files. E.g. if you are @@ -125,16 +113,12 @@ editing foo.c and need to edit foo.h simply execute :A and you will be editing foo.h, to switch back to foo.c execute :A again. It has builtin support for C, C++ and ADA95 and can be configured to support a variety of languages. -Authors: --------- - Mike Sharpe - %package -n vim-plugin-bufexplorer -License: MIT -Version: %bufexplorer_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Buffer Explorer / Browser +Version: %bufexplorer_version +License: MIT +Summary: Buffer Explorer / Browser +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-bufexplorer With bufexplorer, you can quickly switch between buffers by using '\be' to open @@ -144,62 +128,46 @@ the buffer in the current window or or 't' to open that buffer in a new tab. If the buffer is in another tab already, bufexplorer can switch to that tab if you would like. -Authors: --------- - Jeff Lanzarotta - %package -n vim-plugin-calendar -License: MIT -Version: %calendar_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Calendar for vim +Version: %calendar_version +License: MIT +Summary: Calendar for vim +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-calendar Plugin for vim that displays simple calendar in the side window. -Authors: --------- - Yasuhiro Matsumoto - %package -n vim-plugin-colorsel -License: Public Domain -Version: %colorsel_version -Requires: vim -Requires: gvim -Group: Productivity/Text/Editors -Summary: A RGB/HSV color selector +Version: %colorsel_version +License: Public Domain +Summary: A RGB/HSV color selector +Group: Productivity/Text/Editors +Requires: gvim +Requires: vim %description -n vim-plugin-colorsel A simple interactive RGB/HSV color selector modelled after Gimp2 RGB/HSV color selector. -Authors: --------- - David Nečas - %package -n vim-plugin-colorschemes -License: Various - see contained files for details -Version: %colorschemes_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Vim color schemes selection +Version: %colorschemes_version +License: Various - see contained files for details +Summary: Vim color schemes selection +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-colorschemes Selection of vim color schemes based on Colors Sample Pack - http://www.vim.org/scripts/script.php?script_id=625. -Authors: --------- - Petr Uzel - %package -n vim-plugin-diffchanges -License: Public Domain -Version: %diffchanges_version -Requires: vim -Requires: diffutils -Group: Productivity/Text/Editors -Summary: Show changes since the last save +Version: %diffchanges_version +License: Public Domain +Summary: Show changes since the last save +Group: Productivity/Text/Editors +Requires: diffutils +Requires: vim %description -n vim-plugin-diffchanges Show changes made to current buffer since the last save. This plugin is based @@ -207,17 +175,13 @@ from an example in the Hacking Vim book. The differences are that this functionality is in the form of a plugin, is a bit more robust, and can be toggled. -Authors: --------- - Jeremy Cantrell - %package -n vim-plugin-locateopen -License: Other uncritical OpenSource License -Version: %locateopen_version -Requires: vim -Requires: findutils-locate -Group: Productivity/Text/Editors -Summary: Edit file without entering the whole path +Version: %locateopen_version +License: Other uncritical OpenSource License +Summary: Edit file without entering the whole path +Group: Productivity/Text/Editors +Requires: findutils-locate +Requires: vim %description -n vim-plugin-locateopen This script uses slocate (or a similar application) to allow the user to open a @@ -230,16 +194,12 @@ Usage: :LocateSource somefile.vim :LocateRead somefile.txt -Authors: --------- - Ciaran McCreesh - %package -n vim-plugin-matchit -License: MIT -Version: %matchit_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Extended % matching for HTML, LaTeX, and many other languages +Version: %matchit_version +License: MIT +Summary: Extended % matching for HTML, LaTeX, and many other languages +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-matchit The matchit.vim script allows you to configure % to match more than just single @@ -249,30 +209,22 @@ mechanism) intelligently. The default ftplugins include settings for several languages: Ada, ASP with VBS, Csh, DTD, Essbase, Fortran, HTML, JSP (same as HTML), LaTeX, Lua, Pascal, SGML, Shell, Tcsh, Vim, XML. -Authors: --------- - Benji Fisher - %package -n vim-plugin-matrix -License: Public Domain -Version: %matrix_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Matrix screensaver for vim +Version: %matrix_version +License: Public Domain +Summary: Matrix screensaver for vim +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-matrix Matrix screensaver for VIM, inspired by Chris Allegretta's cmatrix. -Authors: --------- - Don Yang - %package -n vim-plugin-minibufexpl -License: MIT -Version: %minibufexpl_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Elegant buffer explorer that takes very little screen space +Version: %minibufexpl_version +License: MIT +Summary: Elegant buffer explorer that takes very little screen space +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-minibufexpl Minibufexplorer allows to quickly switch buffers by double-clicking the @@ -280,16 +232,12 @@ appropriate "tab". Tabs get updated as buffers are opened and closed. Buffers that are modified get visually marked and buffers that are open in a window get visually marked. -Authors: --------- - Bindu Wavell - %package -n vim-plugin-multiplesearch -License: Other uncritical OpenSource License -Version: %multiplesearch_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Display multiple searches at the same time +Version: %multiplesearch_version +License: Other uncritical OpenSource License +Summary: Display multiple searches at the same time +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-multiplesearch MultipleSearch allows you to have the results of multiple searches displayed @@ -297,32 +245,24 @@ on the screen at the same time. Each search highlights its results in a different color, and all searches are displayed at once. After the maximum number of colors is used, the script starts over with the first color. -Authors: --------- - Dan Sharp - %package -n vim-plugin-NERDcommenter -License: WTFPL -Version: %NERDcommenter_version -Requires: vim -Group: Productivity/Text/Editors -Summary: A plugin that allows for easy commenting of code for many filetypes +Version: %NERDcommenter_version +License: WTFPL +Summary: A plugin that allows for easy commenting of code for many filetypes +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-NERDcommenter The NERD commenter provides many different commenting operations and styles which may be invoked via key mappings and a commenting menu. These operations are available for most filetypes. -Authors: --------- - Marty Grenfell - %package -n vim-plugin-NERDtree -License: WTFPL -Version: %NERDtree_version -Requires: vim -Group: Productivity/Text/Editors -Summary: A tree explorer plugin for navigating the filesystem +Version: %NERDtree_version +License: WTFPL +Summary: A tree explorer plugin for navigating the filesystem +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-NERDtree The NERD tree allows you to explore your filesystem and to open files and @@ -330,16 +270,12 @@ 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. -Authors: --------- - Marty Grenfell - %package -n vim-plugin-project -License: MIT -Version: %project_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Organize/Navigate projects of files +Version: %project_version +License: MIT +Summary: Organize/Navigate projects of files +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-project You can use this plugin's basic functionality to set up a list of @@ -351,31 +287,23 @@ to navigate a directory hierarchy with the file-explorer. It also obviates the need for a buffer explorer because you have your list of files on the left of the vim window. -Authors: --------- - Aric Blumer - %package -n vim-plugin-searchcomplete -License: GPLv2 -Version: %searchcomplete_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Tab completion of words inside of a search +Version: %searchcomplete_version +License: GPLv2 +Summary: Tab completion of words inside of a search +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-searchcomplete This plugin allows to tab-complete words while typing in a search ('/'). -Authors: --------- - Chris Russel - %package -n vim-plugin-showmarks -License: Public Domain -Version: %showmarks_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Visually shows the location of marks +Version: %showmarks_version +License: Public Domain +Summary: Visually shows the location of marks +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-showmarks ShowMarks provides a visual representation of the location marks. Marks are @@ -385,126 +313,94 @@ ShowMarks hopefully makes life easier by placing a sign in the leftmost column of the buffer. The sign indicates the label of the mark and its location. It can be toggled on and off and individual marks can be hidden. -Authors: --------- - Anthony Kruize - %package -n vim-plugin-supertab -License: BSD -Version: %supertab_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Visually shows the location of marks +Version: %supertab_version +License: BSD +Summary: Visually shows the location of marks +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-supertab This script allows you to use the tab key to do all your insert completion. -Authors: --------- - Eric Van Dewoestine - %package -n vim-plugin-taglist -License: MIT -Version: %taglist_version -Requires: vim -Requires: ctags -Group: Productivity/Text/Editors -Summary: Source code browser with support for many languages +Version: %taglist_version +License: MIT +Summary: Source code browser with support for many languages +Group: Productivity/Text/Editors +Requires: ctags +Requires: vim %description -n vim-plugin-taglist The "Tag List" plugin is a source code browser plugin for Vim and provides an overview of the structure of source code files and allows you to efficiently browse through source code files for different programming languages. -Authors: --------- - Yegappan Lakshmanan - %package -n vim-plugin-tlib -License: GPL -Version: %tlib_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Utility functions for vim +Version: %tlib_version +License: GPL +Summary: Utility functions for vim +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-tlib This library provides some utility functions. There isn't much need to install it unless another plugin requires you to do so. -Authors: --------- - Thomas Link - %package -n vim-plugin-tregisters -License: GPL -Version: %tregisters_version -Requires: vim -Requires: vim-plugin-tlib -Group: Productivity/Text/Editors -Summary: List, edit, and run/execute registers/clipboards +Version: %tregisters_version +License: GPL +Summary: List, edit, and run/execute registers/clipboards +Group: Productivity/Text/Editors +Requires: vim +Requires: vim-plugin-tlib %description -n vim-plugin-tregisters List, edit, and run or execute registers and/or clipboards -Authors: --------- - Thomas Link - %package -n vim-plugin-tselectbuffer -License: GPL -Version: %tselectbuffer_version -Requires: vim -Group: Productivity/Text/Editors -Summary: A quick buffer selector/switcher +Version: %tselectbuffer_version +License: GPL +Summary: A quick buffer selector/switcher +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-tselectbuffer This plugin provides a simple buffer selector. It doesn't have all the features other buffer selectors have but can be useful for quickly switching to a different buffer or for deleting buffers. -Authors: --------- - Thomas Link - %package -n vim-plugin-tselectfiles -License: GPL -Version: %tselectfiles_version -Requires: vim -Requires: vim-plugin-tlib -Group: Productivity/Text/Editors -Summary: A quick file selector/browser/explorer +Version: %tselectfiles_version +License: GPL +Summary: A quick file selector/browser/explorer +Group: Productivity/Text/Editors +Requires: vim +Requires: vim-plugin-tlib %description -n vim-plugin-tselectfiles This plugin provides a simple file browser. It is not a full blown explorer but can be nevertheless be useful for quickly selecting a few files or renaming them. -Authors: --------- - Thomas Link - %package -n vim-plugin-utl -License: MIT -Version: %utl_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Universal text linking for vim +Version: %utl_version +License: MIT +Summary: Universal text linking for vim +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-utl Universal text link allows you to set hyperlinks within your text documents. Hyperlinks can be used to start applications, open related documents, or bookmark parts of your text document. -Authors: --------- - Stefan Bittner - %package -n vim-plugin-zoomwin -License: Other uncritical OpenSource License -Version: %zoomwin_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Zoom in/out of windows (toggle between one window and multi-window) +Version: %zoomwin_version +License: Other uncritical OpenSource License +Summary: Zoom in/out of windows (toggle between one window and multi-window) +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-zoomwin The idea is to make it easy to zoom into and out of a window. @@ -513,17 +409,13 @@ Usage: Press o : the current window zooms into a full screen Press o again: the previous set of windows is restored -Authors: --------- - Charles Campbell - %package -n vim-plugin-latex -License: Other uncritical OpenSource License -Version: %latex_version -Requires: vim -Requires: texlive-latex -Group: Productivity/Text/Editors -Summary: A rich set of tools for editing LaTeX +Version: %latex_version +License: Other uncritical OpenSource License +Summary: A rich set of tools for editing LaTeX +Group: Productivity/Text/Editors +Requires: texlive-latex +Requires: vim %description -n vim-plugin-latex Vim-LaTeX (aka LaTeX-suite) is a mature project which aims at bringing @@ -531,32 +423,23 @@ together the rich set of LaTeX tools the vim community has produced over the years into one comprehensive package. It provides a set of tools which enable you to do all your LaTeX-ing without needing to quit Vim. -Authors: --------- - Srinath Avadhanula - %package -n vim-plugin-quilt -License: GPL -Version: %quilt_version -Requires: quilt -Requires: vim -Group: Productivity/Text/Editors -Summary: Quilt support for vim +Version: %quilt_version +License: GPL +Summary: Quilt support for vim +Group: Productivity/Text/Editors +Requires: quilt +Requires: vim %description -n vim-plugin-quilt Vim plugin that helps with quilt operations from inside vim. - -Authors: --------- - Florian Delizy - %package -n vim-plugin-vimwiki -License: GPL v2 -Version: %vimwiki_version -Requires: vim -Group: Productivity/Text/Editors -Summary: Personal wiki for vim +Version: %vimwiki_version +License: GPL v2 +Summary: Personal wiki for vim +Group: Productivity/Text/Editors +Requires: vim %description -n vim-plugin-vimwiki Vimwiki is a personal wiki for Vim. Using it you can organize text files with @@ -564,17 +447,12 @@ hyperlinks. To do a quick start press ww (this is usually \ww) to go to your index wiki file. By default it is located in ~/vimwiki/index.wiki. You do not have to create it manually - vimwiki can make it for you. - -Authors: --------- - Maxim Kim - %package -n vim-plugin-gnupg -License: GPL -Version: %gnupg_version -Requires: gpg2 -Group: Productivity/Text/Editors -Summary: Plugin for transparent editing of gpg encrypted files +Version: %gnupg_version +License: GPL +Summary: Plugin for transparent editing of gpg encrypted files +Group: Productivity/Text/Editors +Requires: gpg2 %description -n vim-plugin-gnupg This script implements transparent editing of gpg encrypted files. The filename @@ -582,33 +460,25 @@ must have a ".gpg", ".pgp" or ".asc" suffix. When opening such a file the content is decrypted, when opening a new file the script will ask for the recipients of the encrypted file. The file content will be encrypted to all recipients before it is written. The script turns off viminfo and swapfile to -increase security. - -Authors: --------- - Markus Braun +increase security. %package -n vim-plugin-gitdiff -Version: %gitdiff_version -Requires: git-core -Group: Productivity/Text/Editors -Summary: Show git diff in a split window +Version: %gitdiff_version +Summary: Show git diff in a split window +Group: Productivity/Text/Editors +Requires: git-core %description -n vim-plugin-gitdiff This script provides two functions to display git diffs in vim. :GITDiff [commitish] Split the vim window vertically, display the HEAD, or some other changeset, version of the file in the split, then diff them. :GITChanges [commitish] - Highlight lines that were changed since the HEAD or some other changeset. - -Authors: --------- - Bart Trojanowski + Highlight lines that were changed since the HEAD or some other changeset. %package -n vim-plugin-snipmate -Version: %snipmate_version -Group: Productivity/Text/Editors -Summary: Implements some of TextMate's snippets features in Vim +Version: %snipmate_version +Summary: Implements some of TextMate's snippets features in Vim +Group: Productivity/Text/Editors %description -n vim-plugin-snipmate snipMate aims to be an unobtrusive, concise vim script that implements some of @@ -622,13 +492,17 @@ you type "for" in insert mode, it will expand a typical for loop in C: for (i = 0; i < count; i++) { } -Authors: --------- - Michael Sanders +%package -n vim-plugin-rails +Version: %rails_version +Summary: Support for Ruby on Rails development +Group: Productivity/Text/Editors +Requires: rubygem-rails +%description -n vim-plugin-rails +This plugin offers the many features for Ruby on Rails application development. %prep -%setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 +%setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 # ------- patch locateopen ------ pushd vimplugin-locateopen-%locateopen_version %patch1 @@ -649,12 +523,12 @@ for i in vimplugin-*; do popd done mkdir -p %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ -mv %buildroot/%vimplugin_dir/nerdtree_plugin %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ +mv %{buildroot}/%vimplugin_dir/nerdtree_plugin %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ -cp %{SOURCE31} %buildroot/%vimplugin_dir/snippets/ +cp %{SOURCE100} %{buildroot}/%vimplugin_dir/snippets/ %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} # For every plugin providing documentation, we have to call the post and postun scriptlets # Unfortunatelly, there is no easy way how to achieve that except listing them manually :( @@ -821,6 +695,15 @@ if [ $1 == 0 ]; then vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null fi +# documentation: vim-plugin-rails +%post -n vim-plugin-rails +vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null + +%postun -n vim-plugin-rails +if [ $1 == 0 ]; then + vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null +fi + %post vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null @@ -1011,26 +894,10 @@ fi %vimplugin_dir/autoload/snipMate.vim %vimplugin_dir/doc/snipMate.txt +%files -n vim-plugin-rails +%defattr(-,root,root,0755) +%vimplugin_dir/plugin/rails.vim +%vimplugin_dir/autoload/rails.vim +%vimplugin_dir/doc/rails.txt + %changelog -* Mon May 11 2009 - petr.uzel@suse.cz -- add vim-quilt -- call pre/post for all scripts containing documentation -* Sun Apr 5 2009 - petr.uzel@suse.cz -- add vim-plugin-latex -- clean up filelists -* Fri Mar 26 2009 - petr.uzel@suse.cz -- update vim-plugin-align to 35.41 -- update vim-plugin-NEDRtree to 3.1.0 -- update vim-plugin-supertab to 0.49 -- update vim-plugin-zoomwin to 23 -* Thu Mar 25 2009 - petr.uzel@suse.cz -- fix BRs (s/vimplugin-tlib/vim-plugin-tlib) -* Sat Jan 10 2009 - mstopka@opensuse.org -- rename all subpackages vimplugin-* => vim-plugin-* this is better from package naming convention point of view -* Mon Jan 05 2009 - puzel@suse.cz -- add missing requires to some subpackages -- fix rpmlint warnings -- fix vimplugin-locateopen description -- rename all subpackages vimplugins-* => vimplugin-* -* Wed Dec 31 2008 - mstopka@opensuse.org -- initial package based on Petr Uzel's packages from editors OBS project diff --git a/vimplugin-rails-4.3.tar.bz2 b/vimplugin-rails-4.3.tar.bz2 new file mode 100644 index 0000000..0aca502 --- /dev/null +++ b/vimplugin-rails-4.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b00d4ee4bc82530648cc5fc83574b2f44f2e4df4eed3cef47390cd6dab82e536 +size 54258