diff --git a/vim-latex.spec b/vim-latex.spec index 47a634c..6d2bb12 100644 --- a/vim-latex.spec +++ b/vim-latex.spec @@ -1,10 +1,16 @@ +%global date 20141116 +%global commitcount 812 +%global githash gitd0f31c9 + Name: vim-latex Version: 1.10.0 -Release: 19%{?dist} +#Release: 16.%%{date}.%%{commitcount}.%%{githash}%%{?dist} +Release: 8%{?dist} Summary: Tools to view, edit and compile LaTeX documents in Vim # 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}.%%{commitcount}-%%{githash}.tar.gz Source0: http://downloads.sourceforge.net/vim-latex/vim-latex-%{version}.tar.gz Source1: http://downloads.sourceforge.net/vim-latex/vim-latex-%{version}.tar.gz.asc Source2: vim-latex-gpgkeys.gpg @@ -12,18 +18,15 @@ Source2: vim-latex-gpgkeys.gpg Patch0: vim-latex-1.10.0-Interpret-outline.py-by-Python-3.patch BuildArch: noarch -# We need vim-filesystem for dir ownership -Requires: vim-filesystem -# Needed for compilation +# We need vim-common for dir ownership +Requires: vim-common +# Needed for compilation (duh) Requires: tex(latex) # Needed for display Requires: xdvi -# Needed for vim macros -BuildRequires: vim-filesystem - -# Needed to build documentation -BuildRequires: make +# needed to build documentation +BuildRequires: make BuildRequires: libxslt BuildRequires: docbook-style-xsl BuildRequires: docbook-dtds @@ -44,28 +47,36 @@ Summary: Documentation for vim-latex Documentation for vim-latex. %prep -%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' -%autosetup -p1 +gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} +#setup -q -n %%{name}-%%{version}-%%{date}.%%{commitcount}-%%{githash} +%setup -q -n %{name}-%{version} +%patch0 -p1 %build # build documentation -%make_build -C doc +make -C doc %install +rm -rf %{buildroot} # Install files -%make_install VIMDIR=%{vimfiles_root} BINDIR=%{_bindir} PREFIX=%{_prefix} +make install DESTDIR=%{buildroot} VIMDIR=%{_datadir}/vim/vimfiles BINDIR=%{_bindir} PREFIX=%{_prefix} %files -%doc %{vimfiles_root}/doc/imaps.txt -%doc %{vimfiles_root}/doc/latex*.txt %{_bindir}/latextags %{_bindir}/ltags %{_datadir}/appdata/vim-latex.metainfo.xml -%{vimfiles_root}/compiler/* -%{vimfiles_root}/ftplugin/* -%{vimfiles_root}/indent/* -%{vimfiles_root}/plugin/* +%{_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/remoteOpen.vim %files doc @@ -73,39 +84,6 @@ Documentation for vim-latex. %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 1.10.0-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Sat Jan 17 2026 Fedora Release Engineering - 1.10.0-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 1.10.0-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 1.10.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Jul 20 2024 Fedora Release Engineering - 1.10.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.10.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 1.10.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 1.10.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Jan 04 2023 Arthur Bols - 1.10.0-11 -- Spec file cleanup - -* Sat Jul 23 2022 Fedora Release Engineering - 1.10.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 1.10.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - * Fri Jul 23 2021 Fedora Release Engineering - 1.10.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild