SampleSpecs/vimplugin: различия между версиями
PhpCoder (обсуждение | вклад) (Import from freesource.info) |
SirRaorn (обсуждение | вклад) (Updated for new vim) |
||
Строка 4: | Строка 4: | ||
См. также пп. 3 и 4 из /usr/share/doc/vim-common-*/README.ALT-ru_RU.KOI8-R | См. также пп. 3 и 4 из /usr/share/doc/vim-common-*/README.ALT-ru_RU.KOI8-R | ||
<pre>%define plugname sample | <pre> | ||
%define plugname sample | |||
%define plugver 0.1 | %define plugver 0.1 | ||
Строка 14: | Строка 15: | ||
Group: Editors | Group: Editors | ||
License: distributable | License: distributable | ||
Url: %vim_script_url | Url: %vim_script_url 666 | ||
BuildArch: noarch | BuildArch: noarch | ||
Строка 20: | Строка 21: | ||
Patch: %name-0.1-alt-disable-default.patch | Patch: %name-0.1-alt-disable-default.patch | ||
BuildRequires(pre): rpm-build-vim | |||
Packager: VIm Plugins Development Team <vim-plugins@packages.altlinux.org> | Packager: VIm Plugins Development Team <vim-plugins@packages.altlinux.org> | ||
Строка 36: | Строка 36: | ||
mkdir -p %buildroot%vim_runtime_dir | mkdir -p %buildroot%vim_runtime_dir | ||
cp -a {plugin,ftplugin,doc} %buildroot%vim_runtime_dir | cp -a {plugin,ftplugin,doc} %buildroot%vim_runtime_dir | ||
%files | %files | ||
Строка 49: | Строка 44: | ||
%changelog | %changelog | ||
* Sun Sep 25 2005 Andrey Rahmatullin <wrar@altlinux.ru> 0.1-alt1 | * Sun Sep 25 2005 Andrey Rahmatullin <wrar@altlinux.ru> 0.1-alt1 | ||
- initial build</pre> | - initial build | ||
</pre> |
Версия от 15:43, 18 ноября 2008
См. также пп. 3 и 4 из /usr/share/doc/vim-common-*/README.ALT-ru_RU.KOI8-R
%define plugname sample %define plugver 0.1 Name: vim-plugin-%plugname Version: %plugver Release: alt1 Summary: Sample spec for Vim plugin Group: Editors License: distributable Url: %vim_script_url 666 BuildArch: noarch Source: %plugname-%plugver.tar.gz Patch: %name-0.1-alt-disable-default.patch BuildRequires(pre): rpm-build-vim Packager: VIm Plugins Development Team <vim-plugins@packages.altlinux.org> %description This specfile is provided as sample spec for Vim plugins. It contains most of usual tags and constructions used in such specfiles. %prep %setup -n %plugname-%plugver %patch -p1 %install mkdir -p %buildroot%vim_runtime_dir cp -a {plugin,ftplugin,doc} %buildroot%vim_runtime_dir %files %vim_doc_dir/* %vim_ftplugin_dir/* %vim_plugin_dir/* %changelog * Sun Sep 25 2005 Andrey Rahmatullin <wrar@altlinux.ru> 0.1-alt1 - initial build