## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %define skia_version m140-0.87.4 %define wuffs_commit e3f919ccfe3ef542cfc983a82146070258fb57f8 Name: neovide Version: 0.15.2 Release: %autorelease Summary: No Nonsense Neovim Client in Rust SourceLicense: MIT License: %{shrink: MIT AND } URL: https://github.com/neovide/neovide Source0: %{url}/archive/refs/tags/%{version}.tar.gz Source1: vendor.tar.zst Source2: https://github.com/rust-skia/skia/archive/%{skia_version}/skia-%{skia_version}.tar.gz Source3: https://github.com/google/wuffs-mirror-release-c/archive/%{wuffs_commit}/wuffs-%{wuffs_commit}.tar.gz Requires: neovim >= 0.10.0 BuildRequires: fontconfig-devel BuildRequires: freetype-devel BuildRequires: libstdc++-static BuildRequires: libstdc++-devel BuildRequires: cargo-rpm-macros BuildRequires: ninja-build BuildRequires: gcc13-c++ BuildRequires: clang BuildRequires: gn # Remove Windows and macOS dependencies that cannot be resolved on Linux # Not being upstreamed Patch1: remove_macwin_deps.patch %description This is a simple graphical user interface for Neovim. Where possible there are some graphical improvements, but it should act functionally like the terminal UI. %prep %setup -q -a1 -a2 -a3 %cargo_prep -v vendor mkdir -p skia-%{skia_version}/third_party/externals/ mv wuffs-mirror-release-c-%{wuffs_commit} skia-%{skia_version}/third_party/externals/wuffs %build export SKIA_SOURCE_DIR=%{_builddir}/%{name}-%{version}/skia-%{skia_version} export SKIA_USE_SYSTEM_LIBRARIES=true export SKIA_NINJA_COMMAND=ninja export SKIA_GN_COMMAND=gn %cargo_build %{cargo_license_summary} %{cargo_vendor_manifest} >VENDOR.manifest %{cargo_license} >LICENSE.dependencies %install install -Dpm 0755 target/rpm/neovide -t %{buildroot}%{_bindir} install -Dm644 %{_builddir}/%{name}-%{version}/assets/neovide.desktop %{buildroot}%{_datadir}/applications/neovide.desktop install -Dm644 %{_builddir}/%{name}-%{version}/assets/neovide.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/neovide.svg %check %cargo_test %files %license LICENSE %license LICENSE.dependencies %license VENDOR.manifest %doc README.md %{_bindir}/neovide %{_datadir}/applications/neovide.desktop %{_datadir}/icons/hicolor/scalable/apps/neovide.svg %changelog ## START: Generated by rpmautospec * Wed Mar 11 2026 John Doe - 0.15.2-1 - Uncommitted changes ## END: Generated by rpmautospec