Remove depreciate key in desktop file

epel9
Luya Tshimbalanga 5 years ago
parent 37c825040d
commit f34663e647
No known key found for this signature in database
GPG Key ID: 5E528174D8A2609A

@ -1,6 +1,8 @@
%global _with_cppunit 1
Name: xournalpp
Version: 1.0.16
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Handwriting note-taking software with PDF annotation support
License: GPLv2+
@ -9,7 +11,9 @@ Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake3 >= 3.10
BuildRequires: desktop-file-utils
%{?_with_cppunit:
BuildRequires: cppunit-devel >= 1.12-0
}
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: libappstream-glib
@ -57,12 +61,17 @@ sed -i 's|tlh-AA|tlh|g' po/tlh.po
%build
%cmake3 \
-DENABLE_CPPUNIT=ON \
%{_with_cppunit: -DENABLE_CPPUNIT=ON} \
.
%make_build
%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}
#Remove scripts from icons interface
@ -94,6 +103,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n
%{_datadir}/%{name}/ui
%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
- Remove architecture requirement for plugins and ui

Loading…
Cancel
Save