Name: texstudio Version: 4.6.3 Release: 1%{?dist} Summary: A feature-rich editor for LaTeX documents # texstudio binary: GPLv3 due to static linkage of bundled qcodeedit # texstudio data and image files: GPLv2+ License: GPLv2+ and GPLv3 URL: https://www.texstudio.org Source0: https://github.com/texstudio-org/texstudio#/archive/%{name}-%{version}.tar.gz Source1: texstudio.desktop Patch1: texstudio-disable-update-check.patch BuildRequires: make BuildRequires: cmake BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qttools-devel BuildRequires: qt5-qttools-static BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtscript-devel BuildRequires: hunspell-devel BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: poppler-devel BuildRequires: poppler-qt5-devel BuildRequires: poppler-cpp-devel BuildRequires: qtsingleapplication-devel BuildRequires: qtsingleapplication-qt5-devel BuildRequires: qtsinglecoreapplication-devel BuildRequires: qtsinglecoreapplication-qt5-devel BuildRequires: qtermwidget-devel BuildRequires: quazip-qt5-devel BuildRequires: zlib-devel Requires: tex(latex) Requires: tex(preview.sty) Requires: tex-dvipng Requires: qt5-qtsvg Requires: qtermwidget Provides: bundled(qcodeedit) Provides: texmakerx = %{version}-%{release} Obsoletes: texmakerx < 2.2-1 %description TeXstudio gives you an environment where you can easily create and manage LaTeX documents. It provides modern writing support, like interactive spell checking, code folding, syntax highlighting, integrated pdf viewer and various assistants. Also it serves as a starting point from where you can easily run all necessary LaTeX tools. %prep %setup -q -n %{name}-%{version} %patch -P 1 -p1 -b .update_check rm -rf {hunspell,qtsingleapplication,quazip} %build %cmake \ %ifnarch %{ix86} x86_64 %{arm} -DTEXSTUDIO_ENABLE_CRASH_HANDLER=OFF \ %endif %cmake_build %install %cmake_install install -Dp -m 0644 utilities/texstudio16x16.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/texstudio.png install -Dp -m 0644 utilities/texstudio22x22.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/texstudio.png install -Dp -m 0644 utilities/texstudio32x32.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/texstudio.png install -Dp -m 0644 utilities/texstudio48x48.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/texstudio.png install -Dp -m 0644 utilities/texstudio64x64.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/46x46/apps/texstudio.png rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{AUTHORS,COPYING,*.desktop,tex*.png} rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/utilities/manual/source/CHANGELOG.md rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/{*.dic,*.aff} rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/qt_*.qm %find_lang %{name} --with-qt mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1} %files -f %{name}.lang %{_bindir}/texstudio %dir %{_datadir}/texstudio/ %{_datadir}/texstudio/*.png %{_datadir}/texstudio/*.stopWords %{_datadir}/texstudio/*.stopWords.level2 %{_datadir}/texstudio/de_DE.badWords %{_datadir}/texstudio/template_*.tex %{_datadir}/texstudio/template_*.zip %{_datadir}/texstudio/*.json %{_datadir}/texstudio/*.js %{_datadir}/texstudio/th_*.dat %{_datadir}/texstudio/*.html %{_datadir}/texstudio/latex2e.css %{_datadir}/texstudio/_sphinx_design_static/ %{_datadir}/texstudio/_images/*.png %{_datadir}/texstudio/_static/ %{_datadir}/texstudio/README_* %{_datadir}/texstudio/CHANGELOG.md %{_datadir}/applications/texstudio.desktop %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/*/apps/*.svg %{_datadir}/metainfo/texstudio.metainfo.xml %doc utilities/AUTHORS utilities/COPYING utilities/manual/source/CHANGELOG.md %changelog * Fri Aug 11 2023 Johannes Lips 4.6.3-1 - update to 4.6.3 * Fri Aug 04 2023 Johannes Lips 4.6.2-1 - update to 4.6.2 * Sun Jul 30 2023 Johannes Lips 4.6.1-1 - update to 4.6.1 * Fri Jul 28 2023 Johannes Lips 4.6.0-1 - update to 4.6.0 * Sat Jul 22 2023 Fedora Release Engineering - 4.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri May 05 2023 Nicolas Chauvet - 4.5.2-3 - Rebuilt for quazip 1.4 * Sat Apr 15 2023 Johannes Lips 4.5.2-2 - fixed patch macro - minor fixes * Sat Apr 15 2023 Johannes Lips 4.5.2-1 - Update to latest upstream release 4.5.2 * Sat Feb 04 2023 Johannes Lips 4.5.1-1 - Update to latest upstream release 4.5.1 * Sat Jan 21 2023 Fedora Release Engineering - 4.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Nov 27 2022 Johannes Lips 4.4.1-1 - Update to latest upstream release 4.4.1 * Tue Nov 22 2022 Johannes Lips 4.4.0-3 - removed patches * Tue Nov 22 2022 Johannes Lips 4.4.0-2 - switch to cmake build - build patches are not necessary any more * Sat Nov 19 2022 Johannes Lips 4.4.0-1 - Update to latest upstream release 4.4.0 * Fri Aug 26 2022 Johannes Lips 4.3.1-1 - Update to latest upstream release 4.3.1 * Mon Aug 08 2022 Johannes Lips 4.3.0-1 - Update to latest upstream release 4.3.0 * Sat Jul 23 2022 Fedora Release Engineering - 4.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Apr 23 2022 Johannes Lips 4.2.3-1 - Update to latest upstream release 4.2.3 * Mon Apr 18 2022 Miro Hrončok - 4.2.2-2 - Rebuilt for quazip 1.3 * Sun Feb 20 2022 Johannes Lips 4.2.2-1 - Update to latest upstream release 4.2.2 * Fri Jan 28 2022 Johannes Lips 4.2.1-1 - Update to latest upstream release 4.2.1 * Sat Jan 22 2022 Fedora Release Engineering - 4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 14 2022 Johannes Lips 4.2.0-1 - Update to latest upstream release 4.2.0 * Mon Jan 03 2022 Ian McInerney 4.0.4-2 - Rebuild due to qtermwidget soname bump (fixes rhbz: 2036642) * Sun Nov 07 2021 Johannes Lips 4.0.4-1 - Update to latest upstream release 4.0.4 * Sat Oct 23 2021 Johannes Lips 4.0.2-1 - Update to latest upstream release 4.0.2 * Mon Oct 11 2021 Johannes Lips 4.0.1-1 - Update to latest upstream release 4.0.1 * Wed Sep 29 2021 Christian Dersch - 4.0.0-2 - Use quazip-qt5, fix include and linker variables for quazip5 * Sun Sep 26 2021 Johannes Lips 4.0.0-1 - Update to latest upstream release 4.0.0 * Thu Aug 19 2021 Björn Esser - 3.1.2-3 - Rebuild (quazip) * Fri Jul 23 2021 Fedora Release Engineering - 3.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu May 20 2021 Johannes Lips 3.1.2-1 - Update to latest upstream release 3.1.2 * Mon Feb 22 2021 Johannes Lips 3.1.1-1 - Update to latest upstream release 3.1.1 * Wed Feb 17 2021 Johannes Lips 3.1.0-1 - Update to latest upstream release 3.1.0 * Tue Feb 16 2021 Johannes Lips 3.0.5-1 - Update to latest upstream release 3.0.5 * Wed Jan 27 2021 Fedora Release Engineering - 3.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 03 2021 Johannes Lips 3.0.4-2 - fixed runtime requirements for internal terminal * Sat Jan 02 2021 Johannes Lips 3.0.4-1 - Update to latest upstream release 3.0.4 * Sun Sep 06 2020 Johannes Lips 3.0.1-2 - enabled internal terminal * Wed Sep 02 2020 Johannes Lips 3.0.1-1 - Update to latest upstream release 3.0.1 * Tue Aug 25 2020 Johannes Lips 3.0.0-1 - Update to latest upstream release 3.0.0 * Wed Jul 29 2020 Fedora Release Engineering - 2.12.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 2.12.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 18 2020 Johannes Lips 2.12.22-1 - Update to latest upstream bugfix release 2.12.22 * Fri Jan 17 2020 Marek Kasik 2.12.20-2 - Rebuild for poppler-0.84.0 * Tue Jan 14 2020 Johannes Lips 2.12.20-1 - Update to latest upstream bugfix release 2.12.20 * Thu Dec 26 2019 Johannes Lips 2.12.18-1 - Update to latest upstream bugfix release 2.12.18