packages: vim-spell-et/vim-spell-et.spec - build using myspell package
glen
glen at pld-linux.org
Tue Jan 5 06:37:12 CET 2010
Author: glen Date: Tue Jan 5 05:37:12 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- build using myspell package
---- Files affected:
packages/vim-spell-et:
vim-spell-et.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/vim-spell-et/vim-spell-et.spec
diff -u packages/vim-spell-et/vim-spell-et.spec:1.3 packages/vim-spell-et/vim-spell-et.spec:1.4
--- packages/vim-spell-et/vim-spell-et.spec:1.3 Tue Jan 5 06:11:19 2010
+++ packages/vim-spell-et/vim-spell-et.spec Tue Jan 5 06:37:06 2010
@@ -1,12 +1,12 @@
# $Revision$, $Date$
+%define dict et_EE
Summary: Estonian dictionaries for VIMspell
Name: vim-spell-et
Version: 1.0
-Release: 2
-License: free, see http://www.eki.ee/eki/licence.html
+Release: 3
+License: free, see http://www.eki.ee/eki/licence.html
Group: Applications/Editors/Vim
-Source0: ftp://ftp.linux.ee/pub/openoffice/contrib/dictionaries/et_EE.zip
-# Source0-md5: 2a1e97d61132c537aa03df4d0fee9b89
+BuildRequires: myspell-%{dict}
BuildRequires: unzip
BuildRequires: vim >= 4:7.0
Requires: vim-rt >= 4:7.2.170
@@ -19,10 +19,13 @@
Estonian dictionaries for VIMspell.
%prep
-%setup -q -c
+%setup -qcT
+# fails if myspell package installed without doc
+cp -a %{_docdir}/myspell-%{dict}-$(rpm -q --qf %{V} myspell-%{dict})/README_et_EE.txt* .
+[ *.gz ] && gzip -d *.gz
%build
-vim -u NONE -c 'set enc=utf-8' -c 'mkspell! et et_EE' -c q
+vim -u NONE -c 'set enc=utf-8' -c 'mkspell! et %{_datadir}/myspell/et_EE' -c q
%install
rm -rf $RPM_BUILD_ROOT
@@ -43,6 +46,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2010/01/05 05:37:06 glen
+- build using myspell package
+
Revision 1.3 2010/01/05 05:11:19 glen
- use unversioned vim dir; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-spell-et/vim-spell-et.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list