Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pj
lapce
lapce.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lapce.spec of Package lapce
Name: lapce # This will be set by osc services, that will run after this. Version: 0.3.1~0 Release: 0 Summary: Fast code editor # If you know the license, put it's SPDX string here. # Alternately, you can use cargo lock2rpmprovides to help generate this. License: Apache-2.0 Url: https://github.com/lapce/lapce Source0: %{name}-%{version}.tar.zst Source1: vendor.tar.zst BuildRequires: c++_compiler BuildRequires: c_compiler BuildRequires: cargo-packaging >= 1.2.0 BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: zstd BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(fontconfig) # Disable this line if you wish to support all platforms. # In most situations, you will likely only target tier1 arches for user facing components. ExclusiveArch: %{rust_tier1_arches} %description Lightning-fast And Powerful Code Editor %prep # The number passed to -a (a stands for "after") should be equivalent to the Source tag number # of the vendor tarball, 1 in this case (from Source1). %autosetup -p1 -a1 # install -D -m 644 %{SOURCE2} .cargo/config # Remove exec bits to prevent an issue in fedora shebang checking. Uncomment only if required. # find vendor -type f -name \*.rs -exec chmod -x '{}' \; %build %{cargo_build} -p lapce-app --no-default-features --features all-languages %install install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/lapce %{buildroot}%{_bindir}/lapce install -Dm 0644 %{_builddir}/%{name}-%{version}/extra/linux/dev.lapce.lapce.metainfo.xml %{buildroot}%{_datadir}/metainfo/dev.lapce.lapce.metainfo.xml install -Dm 0644 %{_builddir}/%{name}-%{version}/extra/linux/dev.lapce.lapce.desktop %{buildroot}%{_datadir}/applications/dev.lapce.lapce.desktop install -Dm 0644 %{_builddir}/%{name}-%{version}/extra/images/logo.png %{buildroot}%{_datadir}/pixmaps/dev.lapce.lapce.png %check %{cargo_test} %files %license LICENSE %{_bindir}/lapce %{_datadir}/metainfo/dev.lapce.lapce.metainfo.xml %{_datadir}/applications/dev.lapce.lapce.desktop %{_datadir}/pixmaps/dev.lapce.lapce.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor