Accepting request 1031662 from home:uncomfyhalomacro

I want to maintain xplr in utilities

OBS-URL: https://build.opensuse.org/request/show/1031662
OBS-URL: https://build.opensuse.org/package/show/utilities/xplr?expand=0&rev=1
This commit is contained in:
Michael Vetter 2022-10-28 13:23:31 +00:00 committed by Git OBS Bridge
commit d96ca142ae
8 changed files with 127 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

6
cargo_config Normal file
View File

@ -0,0 +1,6 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
v0.19.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ecc4a3c10396963411357d0e8692cf8e96aa0c2364104a6c8569e19778b90289
size 423075

16
v0.19.4.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE1ZyhRxDBfGskcXr5D471JY3DgHcFAmM+8xEACgkQD471JY3D
gHcGRw//dxwLiaRsIzCl8MXo1Y2wXBaooMdpdLYPYT8XOB6255Vi6zVZhfhQgROP
l84EITG9AAS7+uyhWvtPaW1vF0PBOswvts/9ZmA8VerRIUtE4cWh15zGlqBPQiGz
tQI2F+BP8S8KV+dbjIuf7UhO/Cgge3CBPXXLltrXkGmtGCXrHB9EiYkWJHIqLR1h
RTp4TloMvxm/LRPdA52f4zpDPipeomiGnpVEuWUGLef3lH09P9sGfKOAEz73EW5l
/rwjDUPfwMArSgeCHutQLeDm3SGwALm5VHGEX/hZaybuHARLEn3EuEf3efmif0wo
X0Xqb23EvaX2cC0KnzyXFF9ezSrAKuqMLngzOwCRpGnGnn60VC8OMJV3xR59c8vV
nEUR0k9aj84bMY/BrljFlde++v4b5lAZRR/SERXS0d5oE8V6I6qM3Ef0+OdO91kM
o7SZfrzagunbpXrCui2XJyLAB4jcEsL3XpuglBgrTmWRRKLnnHOCVx4vdlFMMp0v
rnZUIxL7ym4QuwRixK2I+Ykp7IhlQ5jPGoPuQMw+KdeElN+DM60p0KHJETB6YQ2n
P1euS9kyhTM6wSaZMWju+KMptqSaOCcggOoaAmX+ouMtYwBcK2porsm8WZE9NvzW
YIOj6LmLjRKg2YbDzqcBdZwjqBJRp50HiTVlj/9qhWc90gsssbg=
=tWK4
-----END PGP SIGNATURE-----

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:757f47b30f2cd52683bc0ea2d8b0608dc42243503ec8b8034d26b8f970b8475d
size 259399680

4
xplr.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Oct 27 14:53:26 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Initial spec for xplr 0.19.4

71
xplr.spec Normal file
View File

@ -0,0 +1,71 @@
#
# spec file for package xplr
#
# 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: xplr
Version: 0.19.4
Release: 0
Summary: Hackable, minimal, fast 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
Source1: vendor.tar.gz
Source2: cargo_config
Source3: https://github.com/sayanarijit/xplr/releases/download/v0.19.4/source.tar.gz.asc#/v%{version}.tar.gz.asc
BuildRequires: cargo-packaging
BuildRequires: rust+cargo
BuildRequires: hicolor-icon-theme
%description
xplr is a terminal UI based file explorer that aims to increase our terminal productivity by being a flexible,
interactive orchestrator for the ever growing awesome command-line utilities that work with the file-system.
To achieve its goal, xplr strives to be a fast, minimal and more importantly, hackable file explorer.
xplr is not meant to be a replacement for the standard shell commands or the GUI file managers. Rather, it aims
to integrate them all and expose an intuitive, scriptable, keyboard controlled, real-time visual interface, also
being an ideal candidate for further integration, enabling you to achieve insane terminal productivity.
%prep
%autosetup -a1
mkdir -p .cargo
cp %{SOURCE2} .cargo/config
%build
%{cargo_build}
%install
%{cargo_install}
install -Dm644 -T \
%{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \
%{buildroot}%{_datadir}/applications/%{name}.desktop
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/*
%changelog