]> git.pld-linux.org Git - SPECS.git/blob - vim-plugin-AutomaticTeX.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / vim-plugin-AutomaticTeX.spec
1 # TODO
2 # - doesn't work perfect, got error on editing tex-files
3 Summary:        Background compilation, completion, bib serch, toc and other nice features
4 Name:           vim-plugin-AutomaticTeX
5 Version:        8.3
6 Release:        0.3
7 License:        vim
8 Group:          Applications/Editors/Vim
9 Source0:        http://carme.pld-linux.org/~uzsolt/sources/%{name}-%{version}.tar.xz
10 # Source0-md5:  b6ba1dde0d3fb6441ab791c1d1ad2f62
11 URL:            http://www.vim.org/scripts/script.php?script_id=2945
12 Requires(post,postun):  /usr/bin/vim
13 Requires:       vim-rt >= 4:7.0
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _vimdatadir     %{_datadir}/vim
18 %define         _vimfiles       %{_vimdatadir}/vimfiles
19
20 %description
21 Background compilation, completion, bib serch, toc and other nice
22 features.
23
24 %prep
25 %setup -q
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 install -d $RPM_BUILD_ROOT{%{_vimdatadir},%{_vimfiles}}
31 cp -r autoload colors $RPM_BUILD_ROOT%{_vimdatadir}
32 cp -r doc ftplugin syntax $RPM_BUILD_ROOT%{_vimfiles}
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %post
38 echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
39
40 %postun
41 echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
42
43 %files
44 %defattr(644,root,root,755)
45 %{_vimdatadir}/autoload/atplib.vim
46 %{_vimdatadir}/colors/coots-beauty-256.vim
47 %{_vimfiles}/doc/*
48 %{_vimfiles}/ftplugin/ATP_files
49 %{_vimfiles}/ftplugin/*.vim
50 %{_vimfiles}/syntax/*atp.vim
This page took 0.800998 seconds and 3 git commands to generate.