From dd16ff8ea93dd5e864287fbc746e72daa868f6d5 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Thu, 8 Oct 2009 15:35:59 +0000 Subject: [PATCH 1/6] initial import --- .cvsignore | 1 + import.log | 1 + sources | 1 + vim-perl-tt2.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 import.log create mode 100644 vim-perl-tt2.spec diff --git a/.cvsignore b/.cvsignore index e69de29..e72a111 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tt2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..276d574 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +vim-perl-tt2-0_1_3-2_fc11:HEAD:vim-perl-tt2-0.1.3-2.fc11.src.rpm:1255016155 diff --git a/sources b/sources index e69de29..4f44c23 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3e70d82171456550855a8b9612226c11 tt2.tar.gz diff --git a/vim-perl-tt2.spec b/vim-perl-tt2.spec new file mode 100644 index 0000000..6bfa8f5 --- /dev/null +++ b/vim-perl-tt2.spec @@ -0,0 +1,77 @@ +Name: vim-perl-tt2 +Version: 0.1.3 +Release: 2%{?dist} +Summary: Syntax highlighting for the Template-Toolkit + +Group: Applications/Editors +License: Vim +URL: http://www.vim.org/scripts/script.php?script_id=830 +# source0 lives at http://www.vim.org/scripts/download_script.php?src_id=6881 +Source0: tt2.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires: vim-common + +%global vimfiles %{_datadir}/vim/vimfiles + +%description +%{name} enables syntax highlighting for the Perl Template-Toolkit, v2. + +* Contain Perl code in PERL/RAWPERL directive. (runtime sytax/perl.vim) +* No folding +* HTML syntax for including TT2 syntax. ( tt2html.vim / unfinished ) +* Configurable START_TAG/END_TAG for your style. + +%prep +%setup -q -c + +cat >> tt2.vim.ft <<'EOF' +"au BufNewFile,BufRead *.tt2 setf tt2 +" or +au BufNewFile,BufRead *.tt2 + \ if ( getline(1) . getline(2) . getline(3) =~ '<\chtml' + \ && getline(1) . getline(2) . getline(3) !~ '<[%?]') + \ || getline(1) =~ '' +"PHP" +":let b:tt2_syn_tags = '' +"TT2 and HTML" +let b:tt2_syn_tags = '\[% %] ' +EOF + +%build +# no-op + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{vimfiles}/syntax +install -p -m 0644 *.vim %{buildroot}%{vimfiles}/syntax + +mkdir -p %{buildroot}%{vimfiles}/ftdetect +cp tt2.vim.ft %{buildroot}%{vimfiles}/ftdetect/tt2.vim + +%{_fixperms} %{buildroot} + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{vimfiles}/ftdetect/* +%{vimfiles}/syntax/* + +%changelog +* Mon Sep 28 2009 Chris Weyl 0.1.3-2 +- require vim-common, not vim-perl-support + +* Fri Sep 25 2009 Chris Weyl 0.1.3-1 +- initial packaging From ed8d2fe4a17ef689fe03a05e25c662b4f9803b4f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 22:43:22 +0000 Subject: [PATCH 2/6] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f53940e..2999928 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := vim-perl-tt2 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 01476b93d8556ed9e5b6d11c9160bda8295825bd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:03:37 +0000 Subject: [PATCH 3/6] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 2999928..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vim-perl-tt2 -# $Id$ -NAME := vim-perl-tt2 -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 $$d/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) diff --git a/import.log b/import.log deleted file mode 100644 index 276d574..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -vim-perl-tt2-0_1_3-2_fc11:HEAD:vim-perl-tt2-0.1.3-2.fc11.src.rpm:1255016155 From 93a58e46a825ec7b53a0a53b3c3ef0e94dfb0e4f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 7 Feb 2011 19:34:00 -0600 Subject: [PATCH 4/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- vim-perl-tt2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vim-perl-tt2.spec b/vim-perl-tt2.spec index 6bfa8f5..10e5013 100644 --- a/vim-perl-tt2.spec +++ b/vim-perl-tt2.spec @@ -1,6 +1,6 @@ Name: vim-perl-tt2 Version: 0.1.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Syntax highlighting for the Template-Toolkit Group: Applications/Editors @@ -70,6 +70,9 @@ rm -rf %{buildroot} %{vimfiles}/syntax/* %changelog +* Mon Feb 07 2011 Fedora Release Engineering - 0.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Mon Sep 28 2009 Chris Weyl 0.1.3-2 - require vim-common, not vim-perl-support From 9853c759d428a8247a08430eec425fc543f1152a Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 14 Jan 2012 01:55:55 -0600 Subject: [PATCH 5/6] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- vim-perl-tt2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vim-perl-tt2.spec b/vim-perl-tt2.spec index 10e5013..8e1942b 100644 --- a/vim-perl-tt2.spec +++ b/vim-perl-tt2.spec @@ -1,6 +1,6 @@ Name: vim-perl-tt2 Version: 0.1.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Syntax highlighting for the Template-Toolkit Group: Applications/Editors @@ -70,6 +70,9 @@ rm -rf %{buildroot} %{vimfiles}/syntax/* %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 0.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Mon Feb 07 2011 Fedora Release Engineering - 0.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From e160ea37d0ca9c8469897d1cc62846751d63e05c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 6 Feb 2012 15:05:15 -0500 Subject: [PATCH 6/6] Retire vim-perl-tt2 due to lack of a maintainer. --- dead.package | 1 + sources | 1 - vim-perl-tt2.spec | 83 ----------------------------------------------- 3 files changed, 1 insertion(+), 84 deletions(-) create mode 100644 dead.package delete mode 100644 sources delete mode 100644 vim-perl-tt2.spec diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..b8c7442 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This package was retired on 2012-02-06 due to lack of a maintainer. diff --git a/sources b/sources deleted file mode 100644 index 4f44c23..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -3e70d82171456550855a8b9612226c11 tt2.tar.gz diff --git a/vim-perl-tt2.spec b/vim-perl-tt2.spec deleted file mode 100644 index 8e1942b..0000000 --- a/vim-perl-tt2.spec +++ /dev/null @@ -1,83 +0,0 @@ -Name: vim-perl-tt2 -Version: 0.1.3 -Release: 4%{?dist} -Summary: Syntax highlighting for the Template-Toolkit - -Group: Applications/Editors -License: Vim -URL: http://www.vim.org/scripts/script.php?script_id=830 -# source0 lives at http://www.vim.org/scripts/download_script.php?src_id=6881 -Source0: tt2.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -Requires: vim-common - -%global vimfiles %{_datadir}/vim/vimfiles - -%description -%{name} enables syntax highlighting for the Perl Template-Toolkit, v2. - -* Contain Perl code in PERL/RAWPERL directive. (runtime sytax/perl.vim) -* No folding -* HTML syntax for including TT2 syntax. ( tt2html.vim / unfinished ) -* Configurable START_TAG/END_TAG for your style. - -%prep -%setup -q -c - -cat >> tt2.vim.ft <<'EOF' -"au BufNewFile,BufRead *.tt2 setf tt2 -" or -au BufNewFile,BufRead *.tt2 - \ if ( getline(1) . getline(2) . getline(3) =~ '<\chtml' - \ && getline(1) . getline(2) . getline(3) !~ '<[%?]') - \ || getline(1) =~ '' -"PHP" -":let b:tt2_syn_tags = '' -"TT2 and HTML" -let b:tt2_syn_tags = '\[% %] ' -EOF - -%build -# no-op - -%install -rm -rf %{buildroot} - -mkdir -p %{buildroot}%{vimfiles}/syntax -install -p -m 0644 *.vim %{buildroot}%{vimfiles}/syntax - -mkdir -p %{buildroot}%{vimfiles}/ftdetect -cp tt2.vim.ft %{buildroot}%{vimfiles}/ftdetect/tt2.vim - -%{_fixperms} %{buildroot} - -%clean -rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{vimfiles}/ftdetect/* -%{vimfiles}/syntax/* - -%changelog -* Sat Jan 14 2012 Fedora Release Engineering - 0.1.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Feb 07 2011 Fedora Release Engineering - 0.1.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Sep 28 2009 Chris Weyl 0.1.3-2 -- require vim-common, not vim-perl-support - -* Fri Sep 25 2009 Chris Weyl 0.1.3-1 -- initial packaging