%global _name Remarkable Name: remarkable Summary: A free fully featured markdown editor Version: 1.95 Release: 2 Group: Applications/Productivity License: MIT URL: https://remarkableapp.github.io/ Source0: https://github.com/jamiemcg/%{_name}/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel Requires: python3-beautifulsoup4 Requires: python3-markdown Requires: wkhtmltopdf Requires: python3-pdfkit Requires: gtksourceview3 Requires: webkitgtk4 Patch0: remarkable_findBar.diff %description Remarkable has a syntax like Github flavoured markdown. With it you can write markdown and view the changes as you make them in the live preview window. You can export your files to a variety of formats. There are multiple styles available along with extensive configuration options so you can set it up exactly how you like. %prep %setup -q -n %{_name}-%{version} %patch 0 -p 1 sed -i 's|import styles|from remarkable import styles|' %{name}/RemarkableWindow.py %build %install rm -rf %{buildroot} install -Dm755 bin/%{name} %{buildroot}%{_bindir}/%{name} install -d %{buildroot}%{python3_sitelib} cp -a %{name} %{name}_lib %{buildroot}%{python3_sitelib} install -d %{buildroot}%{_datadir}/%{name} cp -a data/* %{buildroot}%{_datadir}/%{name} install -d %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop < - 1.95-2 - fix findbar import * Mon Sep 23 2024 Markus Neteler - 1.95-1 - New upstream version * Thu Dec 22 2022 Markus Neteler - 1.87-8 - Fix AttributeError: 'ElementTree' object has no attribute 'getiterator' * Wed Sep 09 2020 Wei-Lun Chao - 1.87 - Rebuilt for Fedora