Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
xplr
xplr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xplr.spec of Package xplr
# # spec file for package xplr # # Copyright (c) 2024 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: xplr Version: 0.21.9 Release: 0 Summary: TUI file explorer License: MIT Group: Productivity/File utilities URL: https://github.com/sayanarijit/xplr Source0: https://github.com/sayanarijit/xplr/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.zst Source2: https://github.com/sayanarijit/xplr/releases/download/v%{version}/source.tar.gz.asc#/v%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.asc Source4: https://arijitbasu.in/gpg.txt#/%{name}.keyring BuildRequires: cargo BuildRequires: cargo-packaging BuildRequires: hicolor-icon-theme BuildRequires: zstd %description xplr is a terminal UI based file explorer for command-line utilities that work with the file-system. xplr integrates shell commands and GUI file managers and exposes a scriptable, keyboard-controlled, real-time visual interface. %prep %autosetup -a1 sed -i 's/-- version = "0.0.0"/version = "%{version}"/' src/init.lua # This conflicts with vendored cargo rm .cargo/config %build %{cargo_build} --all-features %install %{cargo_install} --all-features install -Dm644 -T \ %{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \ %{buildroot}%{_datadir}/applications/%{name}.desktop install -Dm644 -T \ %{_builddir}/%{name}-%{version}/src/init.lua \ %{buildroot}%{_sysconfdir}/%{name}/init.lua for i in 128 16 32 64; do install -Dm644 "%{_builddir}/%{name}-%{version}/assets/icon/%{name}${i}.png" "%{buildroot}/%{_datadir}/icons/hicolor/${i}-${i}/apps/%{name}.png" done install -Dm644 "%{_builddir}/%{name}-%{version}/assets/icon/%{name}.svg" -t "%{buildroot}/%{_datadir}/icons/hicolor/scalable/apps" %files %license LICENSE %doc CONTRIBUTING.md README.md RELEASE.md %{_bindir}/%{name} %{_datadir}/icons/* %{_datadir}/applications/* %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/init.lua %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