Compare commits

...

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

@ -1 +1 @@
7f08b8e2a5d74f83fae8805e1b49e89e49d2f836 SOURCES/auctex-12.3.tar.gz
c376bd07cac798aab6d946ae09051249bb88538c SOURCES/auctex-13.3.tar.gz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/auctex-12.3.tar.gz
SOURCES/auctex-13.3.tar.gz

@ -1,33 +1,42 @@
# AucTeX includes preview-latex which allows previeweing directly in the Emacs
# AucTeX includes preview-latex which allows previewing directly in the Emacs
# buffer. This makes use of preview.sty, a LaTeX class, which is also included
# with AucTex. preview-latex can either use a privately installed copy of
# preview.sty, or it can use one installed in the system texmf tree. If the
# following is set to 1, an add-on LaTeX package will be created which installs
# into the system texmf tree, and preview-latex will use that. However, TeXLive
# already includes preview.sty and so this may not be desireable -- setting the
# already includes preview.sty and so this may not be desirable -- setting the
# following value to 0 means that preview-latex/AucTeX will use a privately
# installed copy of preview.sty.
%global separate_preview 1
Summary: Enhanced TeX modes for Emacs
Name: emacs-auctex
Version: 12.3
Release: 2%{?dist}
License: GPLv3+ and GFDL
URL: http://www.gnu.org/software/auctex/
Requires: emacs(bin) >= %{_emacs_version}
Requires: ghostscript dvipng
Requires: tex(latex) tex(dvips)
Obsoletes: emacs-auctex-el <= 11.86-9
Provides: emacs-auctex-el = %{version}-%{release}
%if %{separate_preview}
Requires: tex-preview = %{version}-%{release}
%endif
Version: 13.3
Release: 5%{?dist}
# The project as a whole is GPL-3.0-or-later. Exceptions:
# - README and doc/intro.texi are FSFAP
# - doc/auctex* and doc/preview* are GFDL-1.3-no-invariants-or-later
License: GPL-3.0-or-later AND FSFAP AND GFDL-1.3-no-invariants-or-later
URL: https://www.gnu.org/software/auctex/
Source0: http://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
BuildArch: noarch
BuildRequires: emacs tex(latex) texinfo-tex ghostscript
BuildRequires: emacs-nox
BuildRequires: ghostscript
BuildRequires: make
BuildRequires: tex(latex)
BuildRequires: texinfo-tex
Requires: dvipng
Requires: emacs(bin) >= %{?_emacs_version}%{!?_emacs_version:0}
Requires: ghostscript
Requires: tex(dvips)
Requires: tex(latex)
%if %{separate_preview}
Requires: tex-preview = %{version}-%{release}
%endif
%description
AUCTeX is an extensible package that supports writing and formatting
@ -48,8 +57,11 @@ in the source buffer.
This package is for GNU Emacs.
%package doc
# The content is GFDL-1.3-no-invariants-or-later. The remaining licenses cover
# the various fonts embedded in PDFs.
# CM: Knuth-CTAN
License: GFDL-1.3-no-invariants-or-later AND Knuth-CTAN
Summary: Documentation in various formats for AUCTeX
License: GFDL
%description doc
Documentation for the AUCTeX package for emacs in various formats,
@ -57,12 +69,16 @@ including HTML and PDF.
%if %{separate_preview}
%package -n tex-preview
# The content is GPL-3.0-or-later. The remaining licenses cover the various
# fonts embedded in PDFs.
# CM: Knuth-CTAN
License: GPL-3.0-or-later AND Knuth-CTAN
Summary: Preview style files for LaTeX
Requires: tex(latex)
Provides: tex(preview.sty)
Provides: tex(preview.sty) = %{version}-%{release}
# This is the latest build we accidentally provided from texlive
Obsoletes: texlive-preview <= 7:svn44883
Provides: texlive-preview
Provides: texlive-preview = 7:svn44884
%description -n tex-preview
The preview package for LaTeX allows for the processing of selected
@ -86,51 +102,46 @@ Emacs.
%endif
%prep
%setup -q -n auctex-%{version}
%autosetup -n auctex-%{version}
# Fix some encodings
iconv -f ISO-8859-1 -t UTF8 RELEASE > RELEASE.utf8 && \
touch -r RELEASE RELEASE.utf8 && \
mv RELEASE.utf8 RELEASE
%build
%if %{separate_preview}
%configure --with-emacs \
--with-texmf-dir=%{_datadir}/texlive/texmf-dist \
--with-texmf-dir=%{_texmf_main} \
%else
%configure --with-emacs \
--without-texmf-dir
%endif
make
%make_build
# Build documentation in various formats
pushd doc
make extradist
popd
# Fix some encodings
iconv -f ISO-8859-1 -t UTF8 RELEASE > RELEASE.utf8 && touch -r RELEASE RELEASE.utf8 && mv RELEASE.utf8 RELEASE
%install
mkdir -p %{buildroot}%{_emacs_sitestartdir}
make DESTDIR=%{buildroot} install
%make_install
rm -rf %{buildroot}%{_var}
# Remove /usr/share/doc/auctex directory from buildroot since we don't want doc
# files installed here
rm -rf %{buildroot}%{_docdir}/auctex
# Create these ,nosearch files to keep the directories from the elisp search path
# Create these .nosearch files to keep the directories from the elisp search path
touch %{buildroot}%{_emacs_sitelispdir}/auctex/.nosearch
touch %{buildroot}%{_emacs_sitelispdir}/auctex/style/.nosearch
%if %{separate_preview}
%post -n tex-preview
/usr/bin/texhash > /dev/null 2>&1 || :
%postun -n tex-preview
/usr/bin/texhash > /dev/null 2>&1 || :
%endif
%files
%doc RELEASE COPYING README TODO FAQ CHANGES
%doc RELEASE README TODO FAQ CHANGES
%doc %{_infodir}/*.info*
%license COPYING
%exclude %{_infodir}/dir
%{_emacs_sitestartdir}/*
%dir %{_emacs_sitelispdir}/auctex
@ -150,9 +161,9 @@ touch %{buildroot}%{_emacs_sitelispdir}/auctex/style/.nosearch
%if %{separate_preview}
%files -n tex-preview
%doc COPYING
%{_datadir}/texlive/texmf-dist/tex/latex/preview
%{_datadir}/texlive/texmf-dist/doc/latex/styles
%license COPYING
%{_texmf_main}/tex/latex/preview
%{_texmf_main}/doc/latex/styles
%endif
%files doc
@ -160,13 +171,56 @@ touch %{buildroot}%{_emacs_sitelispdir}/auctex/style/.nosearch
%doc doc/html
%changelog
* Fri Aug 6 2021 Jacek Migacz <jmigacz@redhat.com> - 12.3-1
- Fix build failure on CentOS Stream. Related: rhbz#1951306
- Revert patch for FSF addresses (it became obsolete with 12.2)
- Remove Obsoletes and Provides tetex-preview
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 13.3-5
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 13.3-4
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 13.3-4
- Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 13.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 13.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 17 2024 Jerry James <loganjerry@gmail.com> - 13.3-1
- Version 13.3
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 13.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Apr 24 2023 Jerry James <loganjerry@gmail.com> - 13.2-1
- Version 13.2
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Aug 16 2022 Jerry James <loganjerry@gmail.com> - 13.1-2
- Convert License tags to SPDX
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Feb 21 2022 Jerry James <loganjerry@gmail.com> - 13.1-1
- Version 13.1
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed May 19 2021 Jerry James <loganjerry@gmail.com> - 12.3-1
- Version 12.3
- Drop upstreamed patch to fix FSF address
- Drop ancient obsoletes/provides
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 12.1-10
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save