Name: lapce Version: 0.3.1 Release: 1 Summary: Lightning-fast and Powerful Code Editor written in Rust License: Apache-2.0 URL: https://github.com/lapce/lapce Source0: https://github.com/lapce/lapce/archive/refs/tags/v%{version}.tar.gz BuildRequires: cargo perl-FindBin cairo-devel cairo-gobject-devel atk-devel gdk-pixbuf2-devel pango-devel gtk3-devel perl-lib perl-File-Compare pkg-config openssl-devel mold clang libxkbcommon-x11-devel %description Lapce (IPA: /læps/) is written in pure Rust with a UI in Floem. It is designed with Rope Science from the Xi-Editor which makes for lightning-fast computation, and leverages Wgpu for rendering. %prep %autosetup %build RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=mold" cargo build --profile release-lto %install install -Dm755 target/release-lto/%{name} %{buildroot}%{_bindir}/%{name} install -Dm755 target/release-lto/%{name}-proxy %{buildroot}%{_bindir}/%{name}-proxy install -Dm755 extra/linux/dev.lapce.lapce.desktop %{buildroot}/usr/share/applications/dev.lapce.lapce.desktop install -Dm766 extra/linux/dev.lapce.lapce.metainfo.xml %{buildroot}/usr/share/metainfo/dev.lapce.lapce.metainfo.xml install -Dm766 extra/images/logo.png %{buildroot}/usr/share/pixmaps/dev.lapce.lapce.png %files %license LICENSE* %doc *.md %{_bindir}/%{name} %{_bindir}/%{name}-proxy /usr/share/applications/dev.lapce.lapce.desktop /usr/share/metainfo/dev.lapce.lapce.metainfo.xml /usr/share/pixmaps/dev.lapce.lapce.png %changelog * Fri Jul 15 2022 Simon Gardling - 0.1.3 - first created * Sun Sep 4 2022 Simon Gardling - 0.2.0 * Sun Oct 18 2022 Simon Gardling - 0.2.1 * Fri Nov 11 2022 Simon Gardling - 0.2.3 * Fri Nov 18 2022 Simon Gardling - 0.2.4 * Wed Dec 14 2022 Simon Gardling - 0.2.5 * Wed Mar 22 2023 Simon Gardling - 0.2.7 * Wed Nov 1 2023 Simon Gardling - 0.3.0 * Tue Dec 19 2023 Simon Gardling - 0.3.1