Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2803efe479 | ||
|
|
321db8af82 | ||
|
|
1933ff1b24 | ||
|
|
1c1186cabb |
4 changed files with 23 additions and 37 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
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 @@
|
|||
099d4a063f4218cddbbf4c286440fb86 perl-support.zip
|
||||
b2858f82f0437d15fef33dc016581bb9 perl-support.zip
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
Name: vim-perl-support
|
||||
Version: 4.1
|
||||
Release: 2%{?dist}
|
||||
Version: 4.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl-IDE for VIM
|
||||
|
||||
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://www.vim.org/scripts/download_script.php?src_id=10227'
|
||||
# curl -o perl-support.zip 'http://vim.sourceforge.net/scripts/download_script.php?src_id=10560'
|
||||
Source0: perl-support.zip
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
|
|
@ -18,27 +18,27 @@ Requires(post): vim-enhanced
|
|||
Requires(postun): vim-enhanced
|
||||
|
||||
# optional requirements
|
||||
# Critique Perl source code for best-practices
|
||||
Requires: perl(Perl::Critic)
|
||||
# Parses and beautifies perl source
|
||||
Requires: perl(Perl::Tidy)
|
||||
|
||||
# per-line Perl profiler
|
||||
Requires: perl(Devel::SmallProf)
|
||||
# Powerful feature-rich perl source code profiler
|
||||
Requires: perl(Devel::NYTProf)
|
||||
# "fast" per-line Perl profiler
|
||||
Requires: perl(Devel::FastProf)
|
||||
# Critique Perl source code for best-practices
|
||||
Requires: perl(Perl::Critic)
|
||||
# Generate Ctags style tags for Perl source code
|
||||
Requires: perl(Perl::Tags)
|
||||
# Parses and beautifies perl source
|
||||
Requires: perl(Perl::Tidy)
|
||||
|
||||
# the following are not yet available in fedora
|
||||
# Perl debugger using a Tk GUI
|
||||
#Requires: perl(Devel::ptkdb)
|
||||
# Generate Ctags style tags for Perl source code
|
||||
#Requires: perl(Perl::Tags)
|
||||
# regular expression analyzer
|
||||
#Requires: perl(YAPE::Regex::Explain)
|
||||
# additional profilers
|
||||
#Requires: perl(Devel::FastProf)
|
||||
|
||||
|
||||
%define vimfiles %{_datadir}/vim/vimfiles
|
||||
%global vimfiles %{_datadir}/vim/vimfiles
|
||||
|
||||
%description
|
||||
Perl Support implements a Perl-IDE for Vim/gVim. It is written to considerably
|
||||
|
|
@ -58,7 +58,7 @@ cat << \EOF > %{name}-prov
|
|||
%{__perl_provides} $* |\
|
||||
sed -re '/perl\((Class|Package)Name/d'
|
||||
EOF
|
||||
%define __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
|
||||
%global __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
|
||||
chmod +x %{__perl_provides}
|
||||
|
||||
cat << \EOF > %{name}-req
|
||||
|
|
@ -66,7 +66,7 @@ cat << \EOF > %{name}-req
|
|||
%{__perl_requires} $* |\
|
||||
sed -re '/perl\((Class|base)/d'
|
||||
EOF
|
||||
%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
|
||||
%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
|
||||
chmod +x %{__perl_requires}
|
||||
|
||||
|
||||
|
|
@ -134,6 +134,13 @@ exit 0
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri May 08 2009 Iain Arnell <iarnell@gmail.com> 4.2-1
|
||||
- update to 4.2
|
||||
|
||||
* Thu Apr 30 2009 Iain Arnell <iarnell@gmail.com> 4.1-3
|
||||
- require Devel::FastProf and Perl::Tags
|
||||
- use global macro, not define
|
||||
|
||||
* Mon Apr 13 2009 Iain Arnell <iarnell@gmail.com> 4.1-2
|
||||
- require perl(Devel::NYTProf) now that it's available
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue