lapce/lapce.spec

42 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-07-16 00:00:25 +00:00
Name: lapce-git
2022-07-15 23:37:51 +00:00
Version: 0.1.3.{{{ git_dir_version }}}
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 }}}
2022-07-15 23:37:51 +00:00
BuildRequires: cargo perl-FindBin cairo-devel cairo-gobject-devel atk-devel gdk-pixbuf2-devel pango-devel gtk3-devel gcc g++ perl-lib perl-File-Compare
%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
%autosetup
%build
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
2022-07-16 04:24:04 +00:00
* Sat Jul 16 2022 Simon Garding <titaniumtown@gmail.com> - test
- test