%global debug_package %{nil} Name: marktext Version: 0.17.1 Release: 2%{?dist} Summary: Simple and elegant markdown editor License: MIT URL: https://github.com/marktext/marktext Source0: marktext-x86_64.rpm BuildArch: x86_64 BuildRequires: cpio BuildRequires: rpm-build AutoReqProv: no Requires: /bin/sh Requires: fontconfig Requires: libX11-xcb Requires: libsecret Requires: libxkbfile %description MarkText is a simple and elegant open-source markdown editor focused on speed and usability. This RPM repackages the upstream Linux x86_64 binary release for Fedora. %prep # Nothing to unpack in %prep. The upstream RPM is extracted in %install. %build # No compilation step; upstream prebuilt binaries are repackaged. %install rm -rf %{buildroot} mkdir -p %{buildroot} cd %{buildroot} rpm2cpio %{SOURCE0} | cpio -idm --quiet %files %license /opt/MarkText/LICENSE %license /opt/MarkText/LICENSE.electron.txt %license /opt/MarkText/LICENSES.chromium.html %license /opt/MarkText/THIRD-PARTY-LICENSES.txt /opt/MarkText /usr/share/applications/marktext.desktop /usr/share/icons/hicolor/*/apps/marktext.png %changelog * Mon Feb 09 2026 linuxguy123 - 0.17.1-2 - Repackage upstream x86_64 release for Fedora 43 COPR.