rpms/vim/devel vim.spec,1.129,1.130
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Aug 3 13:54:37 UTC 2006
- Previous message (by thread): rpms/file/devel file-4.17-empty.patch,NONE,1.1 file.spec,1.52,1.53
- Next message (by thread): rpms/gnome-menus/devel .cvsignore, 1.13, 1.14 gnome-menus.spec, 1.34, 1.35 sources, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: karsten
Update of /cvs/dist/rpms/vim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6122
Modified Files:
vim.spec
Log Message:
- clean up spec file
Index: vim.spec
===================================================================
RCS file: /cvs/dist/rpms/vim/devel/vim.spec,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- vim.spec 24 Jul 2006 13:32:41 -0000 1.129
+++ vim.spec 3 Aug 2006 13:54:35 -0000 1.130
@@ -6,16 +6,7 @@
%define desktop_file_utils_version 0.2.93
%endif
-# Set this to 1 if you're building the enterprise version
-%define enterprise 0
-%define withruby 0
-
-%if %{enterprise}
-# don't include ruby interpreter
%define withnetbeans 0
-%else
-%define withnetbeans 1
-%endif
%define withcvim 0
@@ -29,7 +20,7 @@
Summary: The VIM editor.
Name: vim
Version: %{baseversion}.%{beta}%{patchlevel}
-Release: 1
+Release: 2
License: freeware
Group: Applications/Editors
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}%{?beta}%{?CVSDATE}.tar.bz2
@@ -103,23 +94,18 @@
Patch3002: vim-6.1-rh2.patch
Patch3003: vim-6.1-rh3.patch
Patch3004: vim-7.0-rclocation.patch
-Patch3005: vim-6.2-rh4.patch
-#Patch3006: vim-6.2-rh5.patch
-Patch3008: vim-6.4-cvim.patch
-Patch3009: vim-6.4-checkhl.patch
-Patch3010: vim-7.0-fstabsyntax.patch
-Patch3011: vim-6.4-lib64.patch
-Patch3012: vim-7.0-warning.patch
-
+Patch3005: vim-6.4-cvim.patch
+Patch3006: vim-6.4-checkhl.patch
+Patch3007: vim-7.0-fstabsyntax.patch
+Patch3008: vim-6.4-lib64.patch
+Patch3009: vim-7.0-warning.patch
+#
Patch3100: vim-selinux.patch
Patch3101: vim-selinux2.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
Buildrequires: python-devel perl libtermcap-devel gettext
Buildrequires: libacl-devel gpm-devel autoconf
-%if "%{withruby}" == "1"
-Buildrequires: ruby ruby-devel
-%endif
%if %{WITH_SELINUX}
Buildrequires: libselinux-devel
%endif
@@ -278,13 +264,11 @@
%patch3002 -p1
%patch3003 -p1
%patch3004 -p1
-#patch3005 -p1
-#patch3006 -p1
+%patch3006 -p1
+%patch3007 -p1
+%patch3008 -p1
%patch3009 -p1
-%patch3010 -p1
-%patch3011 -p1
-%patch3012 -p1
%if %{WITH_SELINUX}
%patch3100 -p1
@@ -294,21 +278,16 @@
%if "%{withcvim}" == "1"
mkdir cvim
( cd cvim; unzip %{SOURCE12}; )
-patch -p1 < %{PATCH3008}
+patch -p1 < %{PATCH3005}
%endif
%build
cd src
autoconf
-#perl -pi -e "s,\\\$VIMRUNTIME,/usr/share/vim/%{vimdir},g" os_unix.h
-#perl -pi -e "s,\\\$VIM,/usr/share/vim/%{vimdir}/macros,g" os_unix.h
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
-%if "%{withruby}" == "1"
-export RUBY_CFLAGS=-I$(ruby -r rbconfig -e 'p Config::CONFIG["archdir"]')
-%endif
%configure --with-features=huge --enable-pythoninterp --enable-perlinterp \
--disable-tclinterp --with-x=yes \
@@ -321,9 +300,6 @@
%else
--disable-netbeans \
%endif
-%if "%{withruby}" == "1"
- --enable-rubyinterp
-%endif
make
cp vim gvim
@@ -339,9 +315,6 @@
%else
--disable-netbeans \
%endif
-%if "%{withruby}" == "1"
- --enable-rubyinterp
-%endif
make
cp vim enhanced-vim
@@ -608,6 +581,9 @@
%{_datadir}/icons/hicolor/*/apps/*
%changelog
+* Thu Aug 03 2006 Karsten Hopp <karsten at redhat.de> 7.0.042-2
+- clean up spec file
+
* Mon Jul 24 2006 Karsten Hopp <karsten at redhat.de> 7.0.042-1
- patchlevel 42
- Previous message (by thread): rpms/file/devel file-4.17-empty.patch,NONE,1.1 file.spec,1.52,1.53
- Next message (by thread): rpms/gnome-menus/devel .cvsignore, 1.13, 1.14 gnome-menus.spec, 1.34, 1.35 sources, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list