]> git.pld-linux.org Git - packages/vim-spell-pl.git/commitdiff
- vimdatadir is in vim-rt package; rel 2 auto/ac/vim-spell-pl-20060706-2 auto/th/vim-spell-pl-20060706-2
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 29 May 2008 20:54:21 +0000 (20:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-spell-pl.spec -> 1.5

vim-spell-pl.spec

index 32ef40989a198fa1198e8b9fc09c323ed3946c2d..752ef68c47a6cb9c4ac218683d26058b817f8018 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Polish dictionaries for VIMspell
 Summary(pl.UTF-8):     Polskie słowniki dla VIMspella
 Name:          vim-spell-pl
 Version:       20060706
-Release:       1
+Release:       2
 License:       Creative Commons License
 Group:         Applications/Editors/Vim
 Source0:       http://www.kurnik.pl/slownik/ort/alt-myspell-pl-%{version}.tar.bz2
@@ -11,10 +11,12 @@ Source0:    http://www.kurnik.pl/slownik/ort/alt-myspell-pl-%{version}.tar.bz2
 Patch0:                %{name}-pl_PL.diff
 URL:           http://www.kurnik.pl/slownik/ort/
 BuildRequires: vim >= 4:7.0
-Requires:      vim >= 4:7.0.017-2
+Requires:      vim-rt >= 4:7.0.017-2
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _vimdatadir     %{_datadir}/vim/vimfiles
+
 %description
 Polish dictionaries for VIMspell.
 
@@ -31,9 +33,9 @@ vim -u NONE -c 'set enc=utf-8' -c 'mkspell! pl pl_PL' -c q
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/spell
 
-install *.spl $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
+install *.spl $RPM_BUILD_ROOT%{_vimdatadir}/spell
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -41,4 +43,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README_pl_PL.txt
-%{_datadir}/vim/vimfiles/spell/pl.*.spl
+%{_vimdatadir}/spell/pl.*.spl
This page took 0.041368 seconds and 4 git commands to generate.