lapce/lapce.spec

41 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-07-16 00:00:25 +00:00
Name: lapce-git
2024-08-24 18:44:43 +00:00
Version: 0.4.2.{{{ git_dir_version }}}
2022-07-15 23:37:51 +00:00
Release: 1
Summary: Lightning-fast and Powerful Code Editor written in Rust
License: Apache-2.0
URL: https://github.com/lapce/lapce
2022-07-16 04:19:12 +00:00
VCS: {{{ git_dir_vcs }}}
Source: {{{ git_dir_pack }}}
2024-04-26 07:23:48 +00:00
BuildRequires: cargo libxkbcommon-x11-devel libxcb-devel vulkan-loader-devel wayland-devel openssl-devel pkgconf libxkbcommon-x11-devel
2022-07-15 23:37:51 +00:00
%description
Lapce is written in pure Rust with a UI in Druid (which is also written in Rust).
It is designed with Rope Science from the Xi-Editor which makes for lightning-fast computation, and leverages OpenGL for rendering.
%prep
2022-07-16 04:27:40 +00:00
{{{ git_dir_setup_macro }}}
2024-04-26 07:23:48 +00:00
cargo fetch --locked
2022-07-15 23:37:51 +00:00
%build
2024-04-26 07:23:48 +00:00
cargo build --profile release-lto --package lapce-app --frozen
2022-07-15 23:37:51 +00:00
%install
2022-07-16 05:34:21 +00:00
install -Dm755 target/release-lto/lapce %{buildroot}%{_bindir}/lapce
2023-01-21 17:25:00 +00:00
install -Dm644 extra/linux/dev.lapce.lapce.desktop %{buildroot}/usr/share/applications/dev.lapce.lapce.desktop
install -Dm644 extra/linux/dev.lapce.lapce.metainfo.xml %{buildroot}/usr/share/metainfo/dev.lapce.lapce.metainfo.xml
install -Dm644 extra/images/logo.png %{buildroot}/usr/share/pixmaps/dev.lapce.lapce.png
2022-07-15 23:37:51 +00:00
%files
%license LICENSE*
%doc *.md
2022-07-16 05:00:41 +00:00
%{_bindir}/lapce
2022-07-15 23:37:51 +00:00
/usr/share/applications/dev.lapce.lapce.desktop
/usr/share/metainfo/dev.lapce.lapce.metainfo.xml
/usr/share/pixmaps/dev.lapce.lapce.png
%changelog
2024-04-26 07:23:48 +00:00
* Mon Jan 01 2024 Jakub Panek
- See full changelog on GitHub