diff --git a/.gitignore b/.gitignore index 4f520f0..d1e8983 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ /vim-latex-1.8.23-20141116.812-gitd0f31c9.tar.gz /vim-latex-1.9.0.tar.gz.asc /vim-latex-1.9.0.tar.gz +/vim-latex-1.10.0.tar.gz.asc +/vim-latex-1.10.0.tar.gz diff --git a/sources b/sources index 664f0f3..b532d9d 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -a426712823aa428b956474bf9a86969d vim-latex-1.9.0.tar.gz.asc -7c64cad8f8f8eb3c9b3fe420385abeb5 vim-latex-1.9.0.tar.gz +SHA512 (vim-latex-1.10.0.tar.gz) = 1d22b675c124e402a280dcc3a675b49a92fb9f4d42efdda0ea97be26379cd6c023589a35e165f4231524d853380e22411901bfbcc98f171c938ba800821a1213 +SHA512 (vim-latex-1.10.0.tar.gz.asc) = 5515df76cc24cbe7bcb61d371b16b2dc55c30fb6b30a9c040881212c23c6e2d448e0989c1f1f3f3aaa5942c119ac4a4c984e020672c805529b97b36c72ba4d5f diff --git a/vim-latex-1.10.0-Interpret-outline.py-by-Python-3.patch b/vim-latex-1.10.0-Interpret-outline.py-by-Python-3.patch new file mode 100644 index 0000000..f8e1bc3 --- /dev/null +++ b/vim-latex-1.10.0-Interpret-outline.py-by-Python-3.patch @@ -0,0 +1,30 @@ +From 40c0bfc2803daa86aa678c8e4b97a32f6da55161 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 9 Jul 2019 14:07:27 +0200 +Subject: [PATCH] Interpret outline.py by Python 3 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fedora deprecated Python 2. The script seems working with both +Pythons. Because we need to choose a one, use Python 3. + +https://bugzilla.redhat.com/show_bug.cgi?id=1676189 +Signed-off-by: Petr Písař +--- + ftplugin/latex-suite/outline.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ftplugin/latex-suite/outline.py b/ftplugin/latex-suite/outline.py +index ed72b34..475910d 100755 +--- a/ftplugin/latex-suite/outline.py ++++ b/ftplugin/latex-suite/outline.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + + # Part of Latex-Suite + # +-- +2.20.1 + diff --git a/vim-latex.spec b/vim-latex.spec index 011dc7c..47a634c 100644 --- a/vim-latex.spec +++ b/vim-latex.spec @@ -1,30 +1,29 @@ -%global date 20141116 -%global commitcount 812 -%global githash gitd0f31c9 - Name: vim-latex -Version: 1.9.0 -#Release: 16.%{date}.%{commitcount}.%{githash}%{?dist} -Release: 4%{?dist} +Version: 1.10.0 +Release: 19%{?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}.%{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 +# Use Python 3, bug #1676189 +Patch0: vim-latex-1.10.0-Interpret-outline.py-by-Python-3.patch BuildArch: noarch -# We need vim-common for dir ownership -Requires: vim-common -# Needed for compilation (duh) +# We need vim-filesystem for dir ownership +Requires: vim-filesystem +# Needed for compilation Requires: tex(latex) # Needed for display Requires: xdvi -# needed to build documentation +# Needed for vim macros +BuildRequires: vim-filesystem + +# Needed to build documentation +BuildRequires: make BuildRequires: libxslt BuildRequires: docbook-style-xsl BuildRequires: docbook-dtds @@ -40,50 +39,100 @@ speed up editing LaTeX documents to compiling TeX files to forward searching %package doc Summary: Documentation for vim-latex -Group: Documentation %description doc Documentation for vim-latex. %prep -gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} -#setup -q -n %{name}-%{version}-%{date}.%{commitcount}-%{githash} -%setup -q -n %{name}-%{version} +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%autosetup -p1 %build # build documentation -make -C doc +%make_build -C doc %install -rm -rf %{buildroot} # Install files -make install DESTDIR=%{buildroot} VIMDIR=%{_datadir}/vim/vimfiles BINDIR=%{_bindir} PREFIX=%{_prefix} +%make_install VIMDIR=%{vimfiles_root} BINDIR=%{_bindir} PREFIX=%{_prefix} %files -%defattr(-,root,root,-) +%doc %{vimfiles_root}/doc/imaps.txt +%doc %{vimfiles_root}/doc/latex*.txt %{_bindir}/latextags %{_bindir}/ltags %{_datadir}/appdata/vim-latex.metainfo.xml -%{_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 +%{vimfiles_root}/compiler/* +%{vimfiles_root}/ftplugin/* +%{vimfiles_root}/indent/* +%{vimfiles_root}/plugin/* %files doc -%defattr(-,root,root,-) %doc doc/latex-suite doc/latex-suite-quickstart %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 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.10.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.10.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 1.10.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 1.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 09 2019 Petr Pisar - 1.10.0-3 +- Use Python 3 (bug #1676189) + +* Sun Feb 03 2019 Fedora Release Engineering - 1.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Aug 10 2018 Jeremiah Mahler - 1.10.0-1 +- Update to release 1.10.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.9.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild