]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - vim-plugin.spec
dokuwiki: cleanup tests
[projects/template-specs.git] / vim-plugin.spec
index 5a6d67e72faa5caf515e13deb094a9a67cd1e384..204acc8627f45c449922ddf2830ec2bbb89f45c0 100644 (file)
@@ -1,13 +1,13 @@
 # TODO:
 # - What to do with .vimup file?
-%define                plugin  NAME
-Summary:       Vim plugin: NAME
+%define                plugin  PLUGIN_NAME
+Summary:       Vim plugin: PLUGIN_NAME
 Name:          vim-plugin-%{plugin}
 Version:       0.1
 Release:       0.1
 License:       Vim
 Group:         Applications/Editors/Vim
-Source0:       http://www.vim.org/scripts/download_script.php?src_id=xxx#/%{plugin}.zip
+Source0:       http://www.vim.org/scripts/download_script.php?src_id=xxx&/%{plugin}-%{version}.zip
 # Source0-md5: -
 URL:           -
 # for _vimdatadir
@@ -31,6 +31,15 @@ cp -a . $RPM_BUILD_ROOT%{_vimdatadir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if 0
+# if packaging doc/* files
+%post
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
+
+%postun
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
+%endif
+
 %files
 %defattr(644,root,root,755)
 %doc %{_vimdatadir}/doc/*.txt
This page took 0.045863 seconds and 4 git commands to generate.