]> git.pld-linux.org Git - packages/vim.git/commitdiff
- merged official patches 001-101 (skipping those to extra package)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 28 Dec 2001 22:30:45 +0000 (22:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed pl and shsyntax patches - fixes already in official patches
- temporarily disabled tr locale (broken)
- release 2

Changed files:
    vim.spec -> 1.94

vim.spec

index e01150064f15b7e63e7fe0b2aa246cb5f59afdde..3698d987bbd6eeb918d85031f6828c264c1acad2 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -14,7 +14,7 @@ Summary(pl):  Vi IMproved - klon edytora Vi
 Summary(tr):   Geliþmiþ bir vi sürümü
 Name:          vim
 Version:       6.0
-Release:       1
+Release:       2
 Epoch:         4
 License:       Charityware
 Group:         Applications/Editors/Vim
@@ -27,13 +27,13 @@ Source3:    g%{name}-athena.desktop
 Source4:       g%{name}-motif.desktop
 Source5:       g%{name}-gtk.desktop
 Source6:       g%{name}-gnome.desktop
+#packed from   ftp://ftp.vim.org/pub/editors/vim/patches/6.0.*
+Source7:       %{name}-patches-6.0.101.tar.bz2
 Patch0:                %{name}-sysconfdir.patch
 Patch1:                %{name}-visual.patch
 Patch2:                %{name}-phphighlight.patch
 Patch3:                %{name}-paths.patch
 Patch4:                %{name}-ispell.patch
-Patch5:                %{name}-pl.patch
-Patch6:                %{name}-shsyntax.patch
 URL:           http://www.vim.org/
 BuildRequires: autoconf
 BuildRequires: gettext-devel
@@ -213,14 +213,20 @@ Wersja edytora Vim pracuj
 bibliotek GNOME.
 
 %prep
-%setup -q -b1 -n %{name}%(echo %{version} | sed -e "s#\.##g")
+%setup -q -b1 -a7 -n %{name}%(echo %{version} | sed -e "s#\.##g")
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %{?_with_ispell:%patch4 -p1}
-%patch5 -p1
-%patch6 -p1
+
+# these patches are to "extra" package which we don't need (nor use)
+rm -f patches/6.0.{027,048,053,064,070,073,093}
+# apply the rest of officual patches
+for f in patches/6.0.* ; do
+       echo "Applying official patch `basename $f` ..."
+       patch -s -p0 < $f
+done
 
 %build
 cd src
@@ -439,7 +445,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(ko) %{_datadir}/vim/v*/lang/ko
 %lang(pl) %{_datadir}/vim/v*/lang/pl
 %lang(sk) %{_datadir}/vim/v*/lang/sk
-%lang(tr) %{_datadir}/vim/v*/lang/tr
+#%lang(tr) %{_datadir}/vim/v*/lang/tr
 %lang(uk) %{_datadir}/vim/v*/lang/uk
 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW
This page took 0.035813 seconds and 4 git commands to generate.