- Update to version 0.1.1~0: * fix modifiers * relase v0.1.1 * windows dark mode * fix ci * reset editor view to normal when it's not a hisotry * bump druid * apt-get update * change the place of anim frame request paint * update dependencies * update dependencies * clippy fix * remove glutin * num lock modifier fix * request paint when request anim frame * bump druid * use mouse event count for double/tripple click * use mouse event count for double click * macos title double click fix * Change Appstream metadata license to MIT * bump druid * bump druid * consolidate window desc creation * add Linux AppStream metadata * add Linux .desktop file * file watcher fix * fix editor focus issue * clippy fix * ensure cusror visible when editor got focus * cancel mouse hover timer when right click * change to os menu * file dialog change to druid-shell * use druid shell with opengl * fix code format * refactor the tests for readability * Avoid cloning syntax highlight result * Only allocate once when toggling comments * Special-case non-modifier ansi sequences * Doc: do not specify a transitional package * fix code format * address PR review feedbacks * fix code format * address PR review feedbacks * Removed the last min window size constraint * Pre-parse svgs * Only hash svg names once * Deduplicate * Don't allocate while accessing svgs * add meta+backspace for macOS * key binding mode text fix * Restrict visibility and remove unused code * Remove unused type * Remove unused outline module * Remove unused module * Use static str in LapceIcon * Remove most of the dead code * bump lapce-rpc version * support count in move by words commands in the vi-mode * implement top_of_window and bottom_of_window * Removed min window size - Update to version 0.1.0~0: * wix version bump * wix fix * bump version * Fix scroll bar scroll * bump druid * problem panel dispaly fix * Clip the command name cells * release lto folder * Clean up split - also limit to tier 1 arches OBS-URL: https://build.opensuse.org/request/show/978939 OBS-URL: https://build.opensuse.org/package/show/editors/lapce?expand=0&rev=7
77 lines
2.7 KiB
RPMSpec
77 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package lapce
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: lapce
|
|
Version: 0.1.1~0
|
|
Release: 0
|
|
Summary: Lightning-fast and Powerful Code Editor written in Rust
|
|
URL: https://github.com/lapce/lapce
|
|
License: (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND MIT AND (Artistic-2.0 OR CC0-1.0) AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND ISC AND MIT AND (MIT OR Unlicense) AND MPL-2.0 AND MPL-2.0+ AND Zlib AND zlib-acknowledgement AND Apache-2.0
|
|
Group: Productivity/Text/Editors
|
|
Source0: %{name}-%{version}.tar.xz
|
|
Source1: vendor.tar.xz
|
|
Source2: cargo_config
|
|
Source3: lapce.desktop
|
|
Source4: lapce.sh
|
|
BuildRequires: cargo-packaging
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libgcc_s1
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3
|
|
BuildRequires: pkgconfig(atk) >= 2.18
|
|
BuildRequires: pkgconfig(cairo) >= 1.14
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(gdk-3.0) >= 3.22
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.8
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(pango) >= 1.38
|
|
BuildRequires: pkgconfig(xcb)
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
ExclusiveArch: %{rust_tier1_arches}
|
|
|
|
%description
|
|
Lapce is written in pure Rust, with the UI in Druid
|
|
It uses Xi-Editor's Rope Science for text editing, and the
|
|
Wgpu Graphics API for rendering.
|
|
|
|
%prep
|
|
%autosetup -a1
|
|
mkdir .cargo
|
|
cp %{SOURCE2} .cargo/config
|
|
|
|
%build
|
|
%{cargo_build}
|
|
|
|
%install
|
|
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}
|
|
install -Dm 0755 %{SOURCE4} %{buildroot}%{_bindir}/lapce.sh
|
|
install -Dm 0644 extra/images/logo.svg %{buildroot}%{_datadir}/pixmaps/lapce.svg
|
|
install -Dm 0644 %{SOURCE3} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/lapce
|
|
%{_bindir}/lapce.sh
|
|
%{_datadir}/applications/lapce.desktop
|
|
%{_datadir}/pixmaps/lapce.svg
|
|
|
|
%changelog
|