|
|
|
@ -1,23 +1,23 @@
|
|
|
|
|
%global __cmake_in_source_build 1
|
|
|
|
|
%global __cmake_in_source_build 0
|
|
|
|
|
%global _with_cppunit 1
|
|
|
|
|
|
|
|
|
|
Name: xournalpp
|
|
|
|
|
Version: 1.0.18
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.0.19
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Handwriting note-taking software with PDF annotation support
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://github.com/%{name}/%{name}
|
|
|
|
|
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake3 >= 3.10
|
|
|
|
|
BuildRequires: cmake >= 3.10
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
%{?_with_cppunit:
|
|
|
|
|
BuildRequires: cppunit-devel >= 1.12-0
|
|
|
|
|
}
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
%{?_with_cppunit:
|
|
|
|
|
BuildRequires: pkgconfig(cppunit) >= 1.12-0
|
|
|
|
|
}
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
@ -57,17 +57,17 @@ mv po/tlh_AA.po po/tlh.po
|
|
|
|
|
sed -i 's|tlh-AA|tlh|g' po/tlh.po
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake3 \
|
|
|
|
|
%cmake \
|
|
|
|
|
%{?_with_cppunit: -DENABLE_CPPUNIT=ON} \
|
|
|
|
|
%{nil}
|
|
|
|
|
-DMAC_INTEGRATION=OFF
|
|
|
|
|
|
|
|
|
|
%cmake3_build
|
|
|
|
|
%cmake_build
|
|
|
|
|
# Add translations parameter
|
|
|
|
|
# https://github.com/xournalpp/xournalpp/issues/1596
|
|
|
|
|
%cmake3_build --target translations
|
|
|
|
|
# %%cmake3_build --target translations
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake3_install
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
#Remove depreciated key from desktop file
|
|
|
|
|
#Fix desktop file associated with application
|
|
|
|
@ -107,6 +107,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n
|
|
|
|
|
%{_datadir}/%{name}/ui
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 22 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1.0.19-1
|
|
|
|
|
- Update to 1.0.19 (#1890463)
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-4
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|