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 5b19709..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vim-latex -# $Id$ -NAME := vim-latex -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) diff --git a/sources b/sources index e69de29..624bfde 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +59420b4e4e13d8ea92806b4179b6311b vim-latex-1.5-20091002-r1074.tar.gz diff --git a/vim-latex.spec b/vim-latex.spec new file mode 100644 index 0000000..1b73b48 --- /dev/null +++ b/vim-latex.spec @@ -0,0 +1,84 @@ +%global date 20091002 +%global rel r1074 + +Name: vim-latex +Version: 1.5 +Release: 3.%{date}.%{rel}%{?dist} +Summary: Tools to view, edit and compile LaTeX documents in Vim +Group: Applications/Editors +# According to doc/latex-suite license is Vim charityware license +License: Vim +URL: http://vim-latex.sourceforge.net/ +Source0: http://downloads.sourceforge.net/vim-latex/vim-latex-%{version}-%{date}-%{rel}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch + +# We need vim-common for dir ownership +Requires: vim-common +# Needed for compilation (duh) +Requires: tex(latex) +# Needed for display +Requires: xdvi + +%description +A comprehensive set of tools to view, edit and compile LaTeX documents without +needing to ever quit Vim. Together, they provide tools starting from macros to +speed up editing LaTeX documents to compiling tex files to forward searching +.dvi documents. + +%package doc +Summary: Documentation for vim-latex +Group: Documentation + +%description doc +Documentation for vim-latex. + +%prep +%setup -q -n %{name}-%{version}-%{date}-%{rel} + +%build + +%install +rm -rf %{buildroot} +# Install files +make install DESTDIR=%{buildroot} VIMDIR=%{_datadir}/vim/vimfiles BINDIR=%{_bindir} + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_bindir}/latextags +%{_bindir}/ltags +%{_datadir}/vim/vimfiles/compiler/tex.vim +%doc %{_datadir}/vim/vimfiles/doc/imaps.txt +%doc %{_datadir}/vim/vimfiles/doc/latex*.txt +%{_datadir}/vim/vimfiles/ftplugin/bib_latexSuite.vim +%{_datadir}/vim/vimfiles/ftplugin/tex_latexSuite.vim +%{_datadir}/vim/vimfiles/ftplugin/latex-suite/ +%{_datadir}/vim/vimfiles/indent/tex.vim +%{_datadir}/vim/vimfiles/plugin/SyntaxFolds.vim +%{_datadir}/vim/vimfiles/plugin/filebrowser.vim +%{_datadir}/vim/vimfiles/plugin/imaps.vim +%{_datadir}/vim/vimfiles/plugin/libList.vim +%{_datadir}/vim/vimfiles/plugin/remoteOpen.vim + + +%files doc +%defattr(-,root,root,-) +%doc doc/latex-suite doc/latex-suite-quickstart + + +%changelog +* Fri Oct 09 2009 Jussi Lehtola - 1.5-3.20091002.r1074 +- Use make install instead of manual install. + +* Thu Oct 08 2009 Jussi Lehtola - 1.5-2.20091002.r1074 +- Update to 20091002-r1074. + +* Thu Oct 08 2009 Jussi Lehtola - 1.5-2.20090901.r1069 +- Added missing Requires: tex(latex) and xdvi. + +* Mon Sep 28 2009 Jussi Lehtola - 1.5-1.20090901.r1069 +- First release.