|
|
@ -1,6 +1,8 @@
|
|
|
|
|
|
|
|
%global _with_cppunit 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: xournalpp
|
|
|
|
Name: xournalpp
|
|
|
|
Version: 1.0.16
|
|
|
|
Version: 1.0.16
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: Handwriting note-taking software with PDF annotation support
|
|
|
|
Summary: Handwriting note-taking software with PDF annotation support
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
@ -9,7 +11,9 @@ Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake3 >= 3.10
|
|
|
|
BuildRequires: cmake3 >= 3.10
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
|
|
|
%{?_with_cppunit:
|
|
|
|
BuildRequires: cppunit-devel >= 1.12-0
|
|
|
|
BuildRequires: cppunit-devel >= 1.12-0
|
|
|
|
|
|
|
|
}
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
@ -57,12 +61,17 @@ sed -i 's|tlh-AA|tlh|g' po/tlh.po
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cmake3 \
|
|
|
|
%cmake3 \
|
|
|
|
-DENABLE_CPPUNIT=ON \
|
|
|
|
%{_with_cppunit: -DENABLE_CPPUNIT=ON} \
|
|
|
|
.
|
|
|
|
.
|
|
|
|
%make_build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Remove depreciated key from desktop file
|
|
|
|
|
|
|
|
desktop-file-install \
|
|
|
|
|
|
|
|
--remove-key="Encoding" \
|
|
|
|
|
|
|
|
%{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
#Remove scripts from icons interface
|
|
|
|
#Remove scripts from icons interface
|
|
|
@ -94,6 +103,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n
|
|
|
|
%{_datadir}/%{name}/ui
|
|
|
|
%{_datadir}/%{name}/ui
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jan 12 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-8
|
|
|
|
|
|
|
|
- Remove depreciate key in desktop file
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 16 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-7
|
|
|
|
* Mon Dec 16 2019 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.16-7
|
|
|
|
- Remove architecture requirement for plugins and ui
|
|
|
|
- Remove architecture requirement for plugins and ui
|
|
|
|
|
|
|
|
|
|
|
|