Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db2cc0727a | ||
|
|
5224cdd034 | ||
|
|
0cb939809c | ||
|
|
2795eee61b | ||
|
|
f56b894eb7 | ||
|
|
3d325c2fd0 | ||
|
|
a8069f00c7 | ||
|
|
0d3344bf5a |
5 changed files with 35 additions and 43 deletions
|
|
@ -1 +0,0 @@
|
|||
perl-support.zip
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
perl-support-4.8.zip
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: vim-perl-support
|
||||
# $Id$
|
||||
NAME := vim-perl-support
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
79e9cbd0d939899d6bd9c865f8924061 perl-support.zip
|
||||
72cd278ded904b1e52805c4660de3954 perl-support-4.8.zip
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Name: vim-perl-support
|
||||
Version: 4.4
|
||||
Version: 4.8
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl-IDE for VIM
|
||||
|
||||
|
|
@ -7,8 +7,8 @@ Group: Applications/Editors
|
|||
# according to plugin/perl-support.vim
|
||||
License: GPLv2
|
||||
URL: http://www.vim.org/scripts/script.php?script_id=556
|
||||
# curl -o perl-support.zip 'http://vim.sourceforge.net/scripts/download_script.php?src_id=10934'
|
||||
Source0: perl-support.zip
|
||||
# curl -o perl-support-4.8.zip 'http://www.vim.org/scripts/download_script.php?src_id=13075'
|
||||
Source0: perl-support-%{version}.zip
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildArch: noarch
|
||||
|
|
@ -40,6 +40,13 @@ Requires: perl(Perl::Tidy)
|
|||
|
||||
%global vimfiles %{_datadir}/vim/vimfiles
|
||||
|
||||
# strip out false provides/requires from codesnippets
|
||||
%{?perl_default_filter:
|
||||
%filter_from_provides /perl(\(Class\|Package\)Name/d
|
||||
%filter_from_requires /perl(\(Class\|base\)/d
|
||||
%perl_default_filter
|
||||
}
|
||||
|
||||
%description
|
||||
Perl Support implements a Perl-IDE for Vim/gVim. It is written to considerably
|
||||
speed up writing code in a consistent style. This is done by inserting
|
||||
|
|
@ -52,23 +59,6 @@ profiler can be done with a keystroke.
|
|||
%prep
|
||||
%setup -q -c
|
||||
|
||||
# strip out false provides/requires from codesnippets
|
||||
cat << \EOF > %{name}-prov
|
||||
#!/bin/sh
|
||||
%{__perl_provides} $* |\
|
||||
sed -re '/perl\((Class|Package)Name/d'
|
||||
EOF
|
||||
%global __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
|
||||
chmod +x %{__perl_provides}
|
||||
|
||||
cat << \EOF > %{name}-req
|
||||
#!/bin/sh
|
||||
%{__perl_requires} $* |\
|
||||
sed -re '/perl\((Class|base)/d'
|
||||
EOF
|
||||
%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
|
||||
chmod +x %{__perl_requires}
|
||||
|
||||
|
||||
%build
|
||||
# build is empty
|
||||
|
|
@ -132,6 +122,29 @@ exit 0
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 18 2010 Iain Arnell <iarnell@gmail.com> 4.8-2
|
||||
- use version number in source0 filename
|
||||
|
||||
* Mon May 31 2010 Iain Arnell <iarnell@gmail.com> 4.8-1
|
||||
- update to latest upstream version
|
||||
|
||||
* Tue Apr 13 2010 Iain Arnell <iarnell@gmail.com> 4.7.1-1
|
||||
- update to latest upstream version
|
||||
|
||||
* Wed Mar 03 2010 Iain Arnell <iarnell@gmail.com> 4.7-1
|
||||
- update to 4.7
|
||||
|
||||
* Mon Jan 25 2010 Iain Arnell <iarnell@gmail.com> 4.6.1-1
|
||||
- update to 4.6.1 - fix screen refresh when using syntax check (Vim only, not
|
||||
gVim)
|
||||
|
||||
* Tue Jan 05 2010 Iain Arnell <iarnell@gmail.com> 4.6-1
|
||||
- update to latest upstream release
|
||||
- update requires/provides filtering
|
||||
|
||||
* Mon Oct 05 2009 Iain Arnell <iarnell@gmail.com> 4.5-1
|
||||
- update to 4.5
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue