1 %define shortname vim-latex
2 %define snapdate 20110214.1049
5 Summary: Vim plugin: LaTeX
8 Release: 1.%{snapdate}.%{rev}.%{rel}
10 Group: Applications/Editors/Vim
11 Source0: http://downloads.sourceforge.net/project/%{shortname}/snapshots/%{shortname}-%{version}-%{snapdate}-git%{rev}.tar.gz
12 # Source0-md5: 67d626cb2c1614dabf70c6a3b21f57df
13 Patch0: %{name}-makefile.patch
15 URL: http://vim-latex.sourceforge.net/
16 BuildRequires: rpm-pythonprov
17 Requires: vim-rt >= 4:6.3.058-3
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _vimdatadir %{_datadir}/vim/vimfiles
24 Vim is undoubtedly one of the best editors ever made. LaTeX is an
25 extremely powerful, intelligent typesetter. Vim-LaTeX aims at bringing
26 together the best of both these worlds.
28 We attempt to provide a comprehensive set of tools to view, edit and
29 compile LaTeX documents without needing to ever quit Vim. Together,
30 they provide tools starting from macros to speed up editing LaTeX
31 documents to compiling tex files to forward searching .dvi documents.
34 %setup -qn vim-latex-%{version}-%{snapdate}-git%{rev}
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_vimdatadir}
41 DESTDIR="$RPM_BUILD_ROOT"
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/latextags
49 %attr(755,root,root) %{_bindir}/ltags
50 %{_vimdatadir}/compiler/*
52 %{_vimdatadir}/ftplugin/*
53 %{_vimdatadir}/indent/*
54 %{_vimdatadir}/plugin/*