Compare commits

..

22 commits

Author SHA1 Message Date
Luya Tshimbalanga
133d4d139f Update to upstream 1.3.7
Resolves: rhbz#2512924
2026-08-11 08:46:25 -07:00
Luya Tshimbalanga
46cb828224 Update to upstream 1.3.6 2026-07-14 18:15:20 -07:00
Luya Tshimbalanga
0a9277c26a Update to 1.3.5 (#2486189) 2026-06-09 08:47:23 -07:00
Luya Tshimbalanga
10d4f0d6eb Update to 1.3.4 (rhbz#2452801) 2026-03-29 13:27:20 -07:00
Luya Tshimbalanga
85139631f4 Update to 1.3.4 (rhbz#2452801) 2026-03-29 11:39:20 -07:00
Luya Tshimbalanga
063f4939b3 Update to 1.3.3 (rhbz#2443564) 2026-02-28 10:58:43 -08:00
Luya Tshimbalanga
0ad8da8b74 Update to 1.3.2 (rhbz#2436551) 2026-02-03 16:08:53 -08:00
Luya Tshimbalanga
729872c61f Update to 1.3.1 (rhbz#2424237) 2025-12-22 08:45:07 -08:00
Luya Tshimbalanga
613a6be2ad Update to 1.3.0
This commit also disables qpdf support for EPEL9
2025-12-19 17:12:09 -08:00
Luya Tshimbalanga
6102e6038d Update to 1.2.10 2025-12-07 10:23:07 -08:00
Luya Tshimbalanga
9b23390103 Update to 1.2.8 2025-09-03 23:56:38 -07:00
Luya Tshimbalanga
b4b1b741b8 Update to 1.2.7 (#2365399) 2025-05-11 10:45:17 -07:00
Luya Tshimbalanga
def0be3774 Update to 1.2.6 2025-02-22 13:24:37 -08:00
Luya Tshimbalanga
67cc517e55 Update to 1.2.5 (rhbz#2330518) 2024-12-05 20:16:52 -08:00
Luya Tshimbalanga
afa50a5a68 Update to 1.2.4 (rhbz#2052951) 2024-10-21 17:45:30 -07:00
Luya Tshimbalanga
944a3597ad Update to 1.2.3 (#2267430)
...
- Clean up spec file
2024-03-03 12:26:50 -08:00
Luya Tshimbalanga
d1670a4c59 Update to 1.2.2 2023-10-14 12:10:02 -07:00
Luya Tshimbalanga
f9e788a9b9 Update to 1.2.1 2023-09-12 17:11:43 -07:00
Luya Tshimbalanga
154e310ecd Upload source 2023-07-30 12:27:19 -07:00
Luya Tshimbalanga
111615bf65 Update to 1.2.0 2023-07-30 11:45:15 -07:00
Luya Tshimbalanga
6fe75b229d Update to 1.1.3 2022-11-28 21:46:49 -08:00
Luya Tshimbalanga
bc469fd11d Update to 1.1.2 (#2136012) 2022-10-30 13:46:54 -07:00

View file

@ -1,12 +1,12 @@
%bcond cppunit 1
%bcond gtest 1
%bcond profiling 1
%global cppunit 1
%global gtest 1
%global profiling 1
# qpdf is not available with the required version on RHEL ≤ 9
%if 0%{?rhel} && 0%{?rhel} <= 9
%bcond qpdf 0
%global qpdf 0
%else
%bcond qpdf 1
%global qpdf 1
%endif
%global forgeurl https://github.com/xournalpp/xournalpp
@ -15,11 +15,12 @@ Name: xournalpp
Version: 1.3.7
Release: %autorelease
Summary: Handwriting note-taking software with PDF annotation support
License: GPL-2.0-or-later
License: GPL-2.0-or-later
%forgemeta
URL: %{forgeurl}
Source: %{forgesource}
BuildRequires: cmake >= 3.10
BuildRequires: desktop-file-utils
BuildRequires: fdupes
@ -28,70 +29,66 @@ 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(glib-2.0) >= 2.32.0
%if 0%{?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}
%if 0%{?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(libxml-2.0) >= 2.0.0
BuildRequires: pkgconfig(libzip) >= 1.0.1
BuildRequires: pkgconfig(lua) >= 5.3
BuildRequires: pkgconfig(poppler-glib) >= 0.41
BuildRequires: pkgconfig(poppler-glib) >= 0.41.0
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.
Xournal++ is a handwriting note-taking software with PDF annotation support.
Supports Pen input like Wacom Tablets
%package plugins
Summary: Default plugins for %{name}
%package plugins
Summary: Default plugin for %{name}
BuildArch: noarch
%description plugins
This package contains sample plugins for %{name}.
%description plugins
The %{name}-plugins package contains sample plugins for %{name}.
%package ui
Summary: User interface files for %{name}
%package ui
Summary: User interface for %{name}
BuildArch: noarch
%description ui
This package contains user interface resources for %{name}.
%description ui
The %{name}-ui package contains a graphical user interface for %{name}.
%prep
%forgeautosetup -p1
%forgeautosetup
%build
%cmake \
-DCMAKE_BUILD_TYPE="Release" \
-DDISTRO_CODENAME="Fedora Linux" \
-DENABLE_GTEST=%{with gtest} \
-DENABLE_PROFILING=%{with profiling} \
-DENABLE_QPDF=%{with qpdf}
-DENABLE_GTEST=%{gtest} \
-DENABLE_QPDF=%{qpdf} \
-DENABLE_PROFILING=%{profiling}
%cmake_build
%install
%cmake_install
%find_lang %{name}
# Generate and install man pages.