rpms/vim-perl-tt2/F-10 import.log, NONE, 1.1 vim-perl-tt2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: cweyl

Update of /cvs/extras/rpms/vim-perl-tt2/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23595/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log vim-perl-tt2.spec 
Log Message:
initial import


--- NEW FILE import.log ---
vim-perl-tt2-0_1_3-2_fc11:F-10:vim-perl-tt2-0.1.3-2.fc11.src.rpm:1255016187


--- NEW FILE vim-perl-tt2.spec ---
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) =~ '<!DOCTYPE HTML' | 
  \   setf tt2html | 
  \ else | 
  \   setf tt2 | 
  \ endif

"ASP"
":let b:tt2_syn_tags = '<% %>'
"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 <cweyl@xxxxxxxxxxxxxxx> 0.1.3-2
- require vim-common, not vim-perl-support

* Fri Sep 25 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.1.3-1
- initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/vim-perl-tt2/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	8 Oct 2009 06:00:30 -0000	1.1
+++ .cvsignore	8 Oct 2009 15:36:31 -0000	1.2
@@ -0,0 +1 @@
+tt2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/vim-perl-tt2/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	8 Oct 2009 06:00:30 -0000	1.1
+++ sources	8 Oct 2009 15:36:31 -0000	1.2
@@ -0,0 +1 @@
+3e70d82171456550855a8b9612226c11  tt2.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux