## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %bcond cppunit 1 %bcond gtest 1 %bcond profiling 1 # qpdf is not available with the required version on RHEL ≤ 9 %if 0%{?rhel} && 0%{?rhel} <= 9 %bcond qpdf 0 %else %bcond qpdf 1 %endif %global forgeurl https://github.com/xournalpp/xournalpp Name: xournalpp Version: 1.3.6 Release: %autorelease Summary: Handwriting note-taking software with PDF annotation support License: GPL-2.0-or-later %forgemeta URL: %{forgeurl} Source: %{forgesource} BuildRequires: cmake >= 3.10 BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: git BuildRequires: help2man BuildRequires: libappstream-glib BuildRequires: ninja-build %if %{with cppunit} BuildRequires: pkgconfig(cppunit) >= 1.12 %endif BuildRequires: pkgconfig(glib-2.0) >= 2.32 %if %{with gtest} BuildRequires: pkgconfig(gtest) %endif BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.9 BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.0 BuildRequires: pkgconfig(librsvg-2.0) %if %{with profiling} BuildRequires: pkgconfig(libprofiler) >= 2.5 BuildRequires: pkgconfig(libtcmalloc) >= 2.5 %endif %if %{with qpdf} BuildRequires: pkgconfig(libqpdf) >= 10.6.0 %endif BuildRequires: pkgconfig(libxml-2.0) >= 2.0 BuildRequires: pkgconfig(libzip) >= 1.0.1 BuildRequires: pkgconfig(lua) >= 5.3 BuildRequires: pkgconfig(poppler-glib) >= 0.41 BuildRequires: pkgconfig(portaudiocpp) >= 12 BuildRequires: pkgconfig(sndfile) >= 1.0.25 Recommends: texlive-latex-bin Requires: hicolor-icon-theme Requires: %{name}-plugins = %{version}-%{release} Requires: %{name}-ui = %{version}-%{release} %description Xournal++ is a handwriting note-taking application with PDF annotation support. It is optimized for pen input such as Wacom tablets. %package plugins Summary: Default plugins for %{name} BuildArch: noarch %description plugins This package contains sample plugins for %{name}. %package ui Summary: User interface files for %{name} BuildArch: noarch %description ui This package contains user interface resources for %{name}. %prep %forgeautosetup -p1 %build %cmake \ -DCMAKE_BUILD_TYPE="Release" \ -DDISTRO_CODENAME="Fedora Linux" \ -DENABLE_GTEST=%{with gtest} \ -DENABLE_PROFILING=%{with profiling} \ -DENABLE_QPDF=%{with qpdf} %cmake_build %install %cmake_install %find_lang %{name} # Generate and install man pages. install -d '%{buildroot}%{_mandir}/man1' for cmd in %{buildroot}%{_bindir}/* do LD_LIBRARY_PATH='%{buildroot}%{_libdir}' \ help2man \ --no-info --no-discard-stderr --version-string='%{version}' \ --output="%{buildroot}%{_mandir}/man1/$(basename "${cmd}").1" \ "${cmd}" done # Remove unnecessary scripts and duplicate files find %{buildroot} -name "*.sh" -delete %fdupes %{buildroot} %check desktop-file-validate %{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{name}.%{name}.appdata.xml %files -f %{name}.lang %license LICENSE %doc README.md AUTHORS %{_bindir}/%{name}{,-thumbnailer,-wrapper} %{_datadir}/applications/com.github.%{name}.%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/com.github.%{name}.%{name}.svg %{_datadir}/icons/hicolor/scalable/mimetypes/* %{_datadir}/mime/packages/com.github.%{name}.%{name}.xml %{_datadir}/thumbnailers/com.github.%{name}.%{name}.thumbnailer %dir %{_datadir}/%{name} %{_datadir}/%{name}/palettes/*.gpl %{_datadir}/%{name}/resources/*_template.tex %{_mandir}/man1/%{name}*.gz %{_metainfodir}/com.github.%{name}.%{name}.appdata.xml %files plugins %doc README.md %{_datadir}/%{name}/plugins %files ui %doc README.md %{_datadir}/%{name}/ui %changelog ## START: Generated by rpmautospec * Fri Jul 17 2026 Fedora Release Engineering - 1.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jul 15 2026 Luya Tshimbalanga - 1.3.6-1 - Update to upstream 1.3.6 * Tue Jun 09 2026 Luya Tshimbalanga - 1.3.5-1 - Update to 1.3.5 (#2486189) * Sun Mar 29 2026 Luya Tshimbalanga - 1.3.4-2 - Upload source * Sun Mar 29 2026 Luya Tshimbalanga - 1.3.4-1 - Update to 1.3.4 (rhbz#2452801) * Sat Feb 28 2026 Luya Tshimbalanga - 1.3.3-2 - Upload new source * Sat Feb 28 2026 Luya Tshimbalanga - 1.3.3-1 - Update to 1.3.3 (rhbz#2443564) * Wed Feb 04 2026 Luya Tshimbalanga - 1.3.2-1 - Update to 1.3.2 (rhbz#2436551) * Sat Jan 17 2026 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Dec 22 2025 Luya Tshimbalanga - 1.3.1-1 - Update to 1.3.1 (rhbz#2424237) * Sat Dec 13 2025 Luya Tshimbalanga - 1.3.0-2 - Upload source * Sat Dec 13 2025 Luya Tshimbalanga - 1.3.0-1 - Update to 1.3.0 * Sun Dec 07 2025 Luya Tshimbalanga - 1.2.10-1 - Update to 1.2.10 * Thu Sep 04 2025 Luya Tshimbalanga - 1.2.8-1 - Update to 1.2.8 * Fri Jul 25 2025 Fedora Release Engineering - 1.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun May 11 2025 Luya Tshimbalanga - 1.2.7-1 - Update to 1.2.7 (rhbz#2365399) * Wed Apr 30 2025 Cristian Le - 1.2.6-2 - Rebuild with CMake Ninja generator proposal * Sat Feb 22 2025 Luya Tshimbalanga - 1.2.6-1 - "Update to 1.2.6" * Fixed compass outline drawing * Exposed selected text to the windowing system Details on [release notes](https://github.com/xournalpp/xournalpp/releases/tag/v1.2.6) * Sun Jan 19 2025 Fedora Release Engineering - 1.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Dec 06 2024 Luya Tshimbalanga - 1.2.5-1 - Update to 1.2.5 (rhbz#2330518) * Tue Oct 22 2024 Luya Tshimbalanga - 1.2.4-1 - Update to 1.2.4 (rhbz#2052951) * Fri Jul 26 2024 Miroslav Suchý - 1.2.3-3 - convert GPLv2+ license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Mar 03 2024 Luya Tshimbalanga - 1.2.3-1 - Update to 1.2.3 (#2267430) ... - Clean up spec file * Sat Jan 27 2024 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Oct 14 2023 Luya Tshimbalanga - 1.2.2-1 - Update to 1.2.2 (rhbz#2244196) * Sun Aug 27 2023 Luya Tshimbalanga - 1.2.1-1 - Update to 1.2.1 (rhbz#2234873) * Sun Jul 30 2023 Luya Tshimbalanga - 1.2.0-1 - Update to 1.2.0 * Sat Jul 22 2023 Fedora Release Engineering - 1.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jan 22 2023 Orion Poplawski - 1.1.3-4 - Add patch for missing include with gcc 13 * Sat Jan 21 2023 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jan 16 2023 Yaakov Selkowitz - 1.1.3-2 - Remove obsolete desktop file modification * Mon Nov 28 2022 Luya Tshimbalanga - 1.1.3-1 - Update to 1.1.3 * Sun Oct 30 2022 Luya Tshimbalanga - 1.1.2-1 - Update to 1.1.2 (#2136012) * Sat Jul 23 2022 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Mar 16 2022 Luya Tshimbalanga - 1.1.1-1 - Update to 1.1.1 (#1983495) * Sat Jan 22 2022 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 19 2021 Luya Tshimbalanga - 1.1.0-1 - Update to 1.1.0 (#1983495) * Sun Feb 28 2021 Luya Tshimbalanga - 1.0.20-7 - Enable math tex support Add fdupes for build requirement Simplify summary * Sun Feb 28 2021 Luya Tshimbalanga - 1.0.20-6 - Enable math tex support Add fdupes for build requirement Simplify summary * Sun Feb 28 2021 Luya Tshimbalanga - 1.0.20-5 - Enable math tex support Add fduples for build requirement Simplify summary * Thu Jan 28 2021 Fedora Release Engineering - 1.0.20-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 19 2020 Luya Tshimbalanga - 1.0.20-3 - Update to 1.0.20 (#1908932) Work around firefox carrying bogus Provides * Fri Dec 18 2020 Luya Tshimbalanga - 1.0.20-2 - Update to 1.0.20 (#1908932) * Fri Dec 18 2020 Luya Tshimbalanga - 1.0.20-1 - Update to 1.0.20 (#1908932) * Sat Oct 24 2020 Luya Tshimbalanga - 1.0.19-2 - Replace old xournal thumbnail with xournalpp version * Fri Oct 23 2020 Luya Tshimbalanga - 1.0.19-1 - Update to 1.0.19 (#1890463) * Sat Aug 01 2020 Fedora Release Engineering - 1.0.18-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.0.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jul 05 2020 Igor Raits - 1.0.18-3 - Improve compatibility with new CMake macro * Wed Apr 22 2020 Luya Tshimbalanga - 1.0.18-2 - Set value key on desktop file associated with application (#1826395) * Sun Apr 19 2020 Luya Tshimbalanga - 1.0.18-1 - Update to 1.0.18 (#1824351) * Sat Apr 11 2020 Luya Tshimbalanga - 1.0.17-3 - Update to 1.0.17 (#1798239) Drop unneeded texlive dependencies Fix build with translations parameter * Sat Apr 11 2020 Luya Tshimbalanga - 1.0.17-2 - Update to 1.0.17 (#1798239) Drop unneeded texlive dependencies Fix build with translations parameter * Tue Feb 04 2020 Luya Tshimbalanga - 1.0.17-1 - Update to 1.0.17 Drop unneeded texlive dependencies Fix build with translations parameter * Fri Jan 31 2020 Fedora Release Engineering - 1.0.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 17 2020 Marek Kasik - 1.0.16-6 - Rebuild for poppler-0.84.0 * Sun Jan 12 2020 Luya Tshimbalanga - 1.0.16-5 - Remove depreciate key in desktop file * Tue Dec 17 2019 Luya Tshimbalanga - 1.0.16-4 - Remove architecture requirement for plugins and ui * Tue Dec 17 2019 Luya Tshimbalanga - 1.0.16-3 - Fix typos * Tue Dec 17 2019 Luya Tshimbalanga - 1.0.16-2 - Fix architecture requirement for ui * Mon Dec 16 2019 Luya Tshimbalanga - 1.0.16-1 - Review fixes ## END: Generated by rpmautospec