90 lines
2.6 KiB
RPMSpec
90 lines
2.6 KiB
RPMSpec
%global date 20100129
|
|
%global rel r1104
|
|
|
|
Name: vim-latex
|
|
Version: 1.8.23
|
|
Release: 1.%{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
|
|
* Sat Jan 30 2010 Till Maas <opensource@till.name> - 1.8.23-1.20100129.r1104
|
|
- Update to new release
|
|
|
|
* Thu Dec 31 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.8.23-1.20091230.r1079
|
|
- Update to 20091230-r1079.
|
|
|
|
* Fri Oct 09 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.5-3.20091002.r1074
|
|
- Use make install instead of manual install.
|
|
|
|
* Thu Oct 08 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.5-2.20091002.r1074
|
|
- Update to 20091002-r1074.
|
|
|
|
* Thu Oct 08 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.5-2.20090901.r1069
|
|
- Added missing Requires: tex(latex) and xdvi.
|
|
|
|
* Mon Sep 28 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.5-1.20090901.r1069
|
|
- First release.
|