Enable math tex support

Add fduples for build requirement
Simplify summary
epel9
Luya Tshimbalanga 4 years ago
parent 333410a0e6
commit 4c84937167
No known key found for this signature in database
GPG Key ID: 5E528174D8A2609A

@ -4,7 +4,7 @@
Name: xournalpp
Version: 1.0.20
Release: 2%{?dist}
Summary: Handwriting note-taking software with PDF annotation support
Summary: Handwriting note-taking software
License: GPLv2+
URL: https://github.com/%{name}/%{name}
@ -12,6 +12,7 @@ Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.10
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: libappstream-glib
@ -31,6 +32,7 @@ BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(portaudiocpp) >= 12
BuildRequires: pkgconfig(sndfile)
BuildRequires: tex-latex-bin
Requires: hicolor-icon-theme
Requires: %{name}-plugins = %{version}-%{release}
Requires: %{name}-ui = %{version}-%{release}
@ -64,12 +66,10 @@ sed -i 's|tlh-AA|tlh|g' po/tlh.po
%build
%cmake \
%{?_with_cppunit: -DENABLE_CPPUNIT=ON} \
-DENABLE_MATHTEX=ON \
-DMAC_INTEGRATION=OFF
%cmake_build
# Add translations parameter
# https://github.com/xournalpp/xournalpp/issues/1596
# %%cmake3_build --target translations
%install
%cmake_install
@ -83,9 +83,10 @@ desktop-file-install \
%{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop
%find_lang %{name}
#Remove scripts from icons interface
#rm -r %%{buildroot}%%{_datadir}/%%{name}/ui/icons/hicolor/update-icon-cache.sh
#rm -r %%{buildroot}%%{_datadir}/%%{name}/ui/iconsDark/hicolor/update-icon-cache.sh
# REMOVE UNNECESSARY SCRIPTS
find %{buildroot}%{_datadir}/%{name} -name update-icon-cache.sh -delete -print
%fdupes %{buildroot}%{_datadir}
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop
@ -112,6 +113,11 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n
%{_datadir}/%{name}/ui
%changelog
* Sun Feb 28 2021 Luya Tshimbalanga <luya@fedoraproject.org> - 1.0.20-2
- Enable math tex support
- Add fduples for build requirement
- Simplify summary
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save