## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/cvfosammmm/Setzer %global uuid org.cvfosammmm.Setzer Name: setzer Version: 65 Release: %autorelease Summary: LaTeX editor written in Python with Gtk %forgemeta # Automatically converted from old format: GPLv3+ - review is highly recommended. License: GPL-3.0-or-later URL: https://www.cvfosammmm.org/setzer/ Source0: %{forgesource} BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: python3-devel BuildRequires: gtk4-devel BuildRequires: gtksourceview5-devel BuildRequires: libadwaita-devel BuildRequires: libportal-devel BuildRequires: gspell-devel BuildRequires: pango-devel BuildRequires: poppler-glib-devel BuildRequires: python3-bibtexparser BuildRequires: python3-cairo BuildRequires: python3-gobject-devel BuildRequires: python3-numpy BuildRequires: python3-pexpect BuildRequires: python3-willow BuildRequires: webkitgtk6.0 Requires: gtk4 Requires: gtksourceview5 Requires: libadwaita Requires: libportal Requires: gspell Requires: hicolor-icon-theme Requires: pango Requires: poppler-glib Requires: python3-bibtexparser Requires: python3-cairo Requires: python3-gobject Requires: python3-numpy Requires: python3-pexpect Requires: python3-willow Requires: webkitgtk6.0 Requires: texlive Requires: texlive-synctex # LaTeX engines Requires: texlive-xetex Recommends: latexmk Recommends: texlive-pdftex Recommends: texlive-luatex %description Write LaTeX documents with an easy to use yet full-featured editor. - Buttons and shortcuts for many LaTeX elements and special characters. - Document creation wizard. - Dark mode. - Helpful error messages in the build log. - Looks great on the Gnome desktop. - Good screen to content ratio. - Arguably the best .pdf viewer of any LaTeX editor. %prep %forgeautosetup -p1 %build # Removing unnecessary shebangs find ./setzer -name "*.py" -type f -exec sed -i '1d' {} \; %meson %meson_build %install %meson_install %find_lang %{name} %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{uuid}.metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/%{uuid}.desktop %files -f %{name}.lang %license COPYING %{_bindir}/%{name} %{_datadir}/Setzer/ %{_datadir}/applications/%{uuid}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{uuid}.svg %{_datadir}/mime/packages/%{uuid}.mime.xml %{_metainfodir}/%{uuid}.metainfo.xml %{_mandir}/man1/%{name}.1.* %{python3_sitelib}/%{name}/ %changelog ## START: Generated by rpmautospec * Mon Aug 26 2024 David King - 65-6 - Rebuild against gspell * Thu Jul 25 2024 Miroslav Suchý - 65-5 - convert GPLv3+ license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 65-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 09 2024 Python Maint - 65-3 - Rebuilt for Python 3.13 * Sat Jan 27 2024 Fedora Release Engineering - 65-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 07 2024 Lyes Saadi - 65-1 - Updating to 65 * Tue Sep 12 2023 Lyes Saadi - 59-1 - Updating setzer to 59 (fixes #2236217) YAAAAS, GTK4+ADW FTW !!! * Sat Jul 22 2023 Fedora Release Engineering - 56-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 56-4 - Rebuilt for Python 3.12 * Mon Jul 03 2023 Lyes Saadi - 56-3 - Fixing dependencies * Mon Jun 26 2023 Python Maint - 56-2 - Rebuilt for Python 3.12 * Mon Jun 19 2023 Lyes Saadi - 56-1 - Updating to 56 * Thu Jun 15 2023 Python Maint - 55-2 - Rebuilt for Python 3.12 * Sun Apr 09 2023 Lyes Saadi - 55-1 - Updating to 55 (fix #2177312) * Sat Jan 21 2023 Fedora Release Engineering - 0.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 29 2022 Lyes Saadi - 0.4.8-1 - Updating to 0.4.8 (fix #2112453) * Sat Jul 23 2022 Fedora Release Engineering - 0.4.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 0.4.7-2 - Rebuilt for Python 3.11 * Sat Mar 26 2022 Lyes Saadi - 0.4.7-1 - Updating to 0.4.7 (fix #2068713) * Tue Mar 08 2022 Lyes Saadi - 0.4.6-1 - Updating to 0.4.6 (fix #2061920) * Wed Mar 02 2022 Lyes Saadi - 0.4.5-1 - Updating to 0.4.5 (fix #2058437) * Mon Feb 21 2022 Lyes Saadi - 0.4.4-1 - Updating to 0.4.4 (fix #2055916) * Sun Feb 13 2022 Lyes Saadi - 0.4.3-1 - Updating to 0.4.3 (fix #2053320 #2036772) * Sat Jan 22 2022 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 21 2021 Lyes Saadi - 0.4.2-1 - Updating to 0.4.2 (fix #2025308) * Fri Jul 23 2021 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.4.1-2 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Lyes Saadi - 0.4.1-1 - Updating to 0.4.1 - Fix #1918066 * Sun Jan 17 2021 Lyes Saadi - 0.4.0-1 - Updating to 0.4.0 - Fix #1917066 * Sun Jan 03 2021 Lyes Saadi - 0.3.9-2 - Adding pycairo and PyPDF2 dependencies * Sun Jan 03 2021 Lyes Saadi - 0.3.9-1 - Updating to 0.3.9 * Mon Dec 14 2020 Lyes Saadi - 0.3.8-1 - Updating to 0.3.8 * Sun Nov 29 2020 Lyes Saadi - 0.3.7-1 - Updating to 0.3.7 * Mon Nov 09 2020 Lyes Saadi - 0.3.6-1 - Updating to 0.3.6 * Thu Oct 29 2020 Lyes Saadi - 0.3.5-1 - Updating to 0.3.5 - Fix #1888889 - Fix #1891239 * Fri Oct 16 2020 Lyes Saadi - 0.3.4-1 - Updating to 0.3.4 * Wed Oct 07 2020 Lyes Saadi - 0.3.3-1 - Updating to 0.3.3 * Thu Sep 10 2020 Lyes Saadi - 0.3.2-1 - Updating to 0.3.2 * Tue Sep 01 2020 Lyes Saadi - 0.3.1-1 - Updating to 0.3.1 * Thu Aug 20 2020 Lyes Saadi - 0.3.0-1 - Updating to 0.3.0 * Thu Aug 13 2020 Lyes Saadi - 0.2.9-1 - Updating to 0.2.9 * Wed Jul 29 2020 Fedora Release Engineering - 0.2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Lyes Saadi - 0.2.8-3 - Fix #1851601 * Fri Jun 26 2020 Lyes Saadi - 0.2.8-2 - Correcting License from GPLv3 -> GPLv3+ * Sat May 30 2020 Lyes Saadi - 0.2.8-1 - Updating to 0.2.8 * Tue May 19 2020 Lyes Saadi - 0.2.6-1 - Updating to 0.2.6 * Tue May 05 2020 Lyes Saadi - 0.2.5-1 - Updating to 0.2.5 * Sat Apr 18 2020 Lyes Saadi - 0.2.3-3 - Removing shebangs and changing poppler-glib dependency * Sat Apr 18 2020 Lyes Saadi - 0.2.3-2 - Adding synctex dependency * Sat Apr 18 2020 Lyes Saadi - 0.2.3-1 - Initial package ## END: Generated by rpmautospec