Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marv7000:branches:editors
zed
zed.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zed.spec of Package zed
# # spec file for package zed # # Copyright (c) 2024 Marvin Friedrich # # 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: zed Version: 0.137.5 Release: 0 Summary: A high-performance, multiplayer code editor License: AGPL-3.0-or-later Group: Development/Tools/IDE URL: https://github.com/zed-industries/zed Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: vendor.tar.zst BuildRequires: git BuildRequires: gcc-c++ BuildRequires: (gcc13-c++ if gcc13) BuildRequires: (gcc14-c++ if gcc14) BuildRequires: (gcc15-c++ if gcc15) BuildRequires: cargo-packaging BuildRequires: alsa-devel BuildRequires: fontconfig-devel BuildRequires: wayland-devel BuildRequires: libxkbcommon-x11-devel BuildRequires: openssl-devel BuildRequires: libzstd-devel ExclusiveArch: x86_64 aarch64 %define bin_name Zed %description Code at the speed of thought - Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. %prep %autosetup -p1 -a1 %build %{cargo_build} %install install -D -d -m 0755 %{buildroot}%{_bindir} # https://github.com/zed-industries/zed/pull/12218#issuecomment-2127994170 install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{bin_name} %{buildroot}%{_bindir}/zed install -Dm 0644 crates/zed/resources/zed.desktop %{buildroot}%{_datadir}/applications/zed.desktop install -Dm 0644 assets/icons/logo_96.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/zed.svg %files %license LICENSE-AGPL %doc README.md %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_bindir}/zed %{_datadir}/applications/zed.desktop %{_datadir}/icons/hicolor/scalable/apps/zed.svg %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