%bcond_with clatexmath %global forgeurl https://github.com/blackhole89/notekit/ %global uuid com.github.blackhole89.notekit Name: notekit Version: 0.1 Release: 3%{?dist} Summary: Hierarchical markdown notetaking application with tablet support %global tag v%{version}-alpha %forgemeta # The app is under the GPLv3+ license while the fonts are under the Charter # license. License: GPLv3+ and Charter URL: %{forgeurl} Source0: %{forgesource} Patch0: meson-no-clatexmath.patch BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: desktop-file-utils BuildRequires: libappstream-glib %if %{with clatexmath} BuildRequires: cLaTeXMath-devel %endif BuildRequires: gtkmm30-devel BuildRequires: gtksourceviewmm3-devel BuildRequires: jsoncpp-devel BuildRequires: zlib-devel Requires: hicolor-icon-theme %description This program is a structured notetaking application based on GTK+ 3. Write your notes in instantly-formatted Markdown, organise them in a tree of folders that can be instantly navigated from within the program, and add hand-drawn notes by mouse, touchscreen or digitiser. %prep %forgeautosetup %build %if %{with clatexmath} %meson %else %meson -Dclatexmath=false %endif %meson_build %install %meson_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{uuid}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{uuid}.metainfo.xml %files %doc README.md %license LICENSE "data/fonts/Charter license.txt" %{_bindir}/%{name} %{_metainfodir}/%{uuid}.metainfo.xml %{_datadir}/applications/%{uuid}.desktop %{_datadir}/icons/hicolor/*/apps/%{uuid}.* %{_datadir}/%{name}/ %changelog * Wed Apr 21 2021 Lyes Saadi - 0.1-3 - Adding conditional to enable/disable cLaTeXMath - Disabling cLaTeXMath by default due to licensing issues * Sun Mar 14 2021 Lyes Saadi - 0.1-2 - Removing the git-core dependency - Checking for the validity of the Desktop and Metainfo files - Adding a License breakdown - Marking the Charter License as a License - "Unglobing" the icons/hicolor folder * Tue Jan 12 2021 Lyes Saadi - 0.1-1 - Updating to 0.1 * Wed Nov 18 2020 Lyes Saadi - 0-2 - Updating to latest commit - Switching to meson - Enabling cLaTeXMath - Adding metainfo - Adding back Charter fonts as I recently learned to read * Thu Oct 22 2020 Lyes Saadi - 0-1.git5ecb632 - Updating to latest commit - Replacing the patch by a simple sed * Tue May 05 2020 Lyes Saadi - master-2 - Updating to latest commit - Making the spec file compliant to Fedora's Guidelines * Wed Sep 11 2019 Lyes Saadi - master-1 - Creating the spec file