Accepting request 1036850 from utilities

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1036850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xplr?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2022-11-20 18:47:07 +00:00 committed by Git OBS Bridge
commit 916ffa6d6a
5 changed files with 84 additions and 2 deletions

View File

@ -1,9 +1,11 @@
<services> <services>
<service name="download_files" mode="disabled" />
<service name="cargo_vendor" mode="disabled"> <service name="cargo_vendor" mode="disabled">
<param name="srctar">v0.20.0.tar.gz</param> <param name="srctar">v0.20.0.tar.gz</param>
<param name="compression">gz</param> <param name="compression">gz</param>
<param name="update">true</param> <param name="update">true</param>
</service> </service>
<service name="cargo_audit" mode="disabled" /> <service name="cargo_audit" mode="disabled" />
<service name="source_validator" mode="disabled" />
</services> </services>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:acbf1d99f5c0c4b6cb705c868e99498f5aa148352501469151668f6146393510 oid sha256:9f83941fd295b6c569b52506417aafebabeb7f07b036e5b4db864639d3930000
size 24639369 size 24988838

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Nov 12 23:20:54 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Verify signatures from public keyring by adding author's public pgp key.
-------------------------------------------------------------------
Wed Nov 9 09:10:56 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Add default configuration in /etc/xplr/
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 3 08:32:34 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Thu Nov 3 08:32:34 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

61
xplr.keyring Normal file
View File

@ -0,0 +1,61 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGC4hLUBEACkP28hjvD7Bn5S3R/EAnl7F5aoW7CbOFt/HR+5UNtQpV//23sJ
82dvxzD/oIhW+iv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EPtDvLlv0p4n/B4S+
M+akI0n7m8eG4V23msqvb2s2xcFL2CHMDVuBV5BsgQ4VVLg7lYtEE0HyrVvMScu7
J5VlGCiC7Sg5x80AA/32o5Gx2X1t4GF9QwyfA1HuCX5/wBAU0JAFYSW2oLTOWHTM
9By7FiC2EV+yMmjMZHuK54kr1dx6XTVUDCAOTmgaQUVMukC9vfXNrSWl/nKrHawK
SmYekq26woAdW7FnDndM6je09GCnleMvgZnVFw9Cc8q+hj2BnpTs4dqm5uaEmfEZ
Z5UXmC9JAfKTCiCEw5v5zmWbpTiTsb55gEzFeD9Q70gcpgRQbyvkOuK5r/OJKwR1
5zvi7f00d2V43US/VJXeaCy3NZ8=
=YqDG
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -27,6 +27,7 @@ Source0: https://github.com/sayanarijit/xplr/archive/refs/tags/v%{version
Source1: vendor.tar.gz Source1: vendor.tar.gz
Source2: cargo_config Source2: cargo_config
Source3: https://github.com/sayanarijit/xplr/releases/download/v%{version}/source.tar.gz.asc#/v%{version}.tar.gz.asc Source3: https://github.com/sayanarijit/xplr/releases/download/v%{version}/source.tar.gz.asc#/v%{version}.tar.gz.asc
Source4: https://arijitbasu.in/gpg.txt#/%{name}.keyring
BuildRequires: cargo-packaging BuildRequires: cargo-packaging
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: rust+cargo BuildRequires: rust+cargo
@ -42,6 +43,7 @@ scriptable, keyboard-controlled, real-time visual interface.
%autosetup -a1 %autosetup -a1
mkdir -p .cargo mkdir -p .cargo
cp %{SOURCE2} .cargo/config cp %{SOURCE2} .cargo/config
sed -i 's/-- version = "0.0.0"/version = "%{version}"/' src/init.lua
%build %build
%{cargo_build} %{cargo_build}
@ -52,6 +54,9 @@ cp %{SOURCE2} .cargo/config
install -Dm644 -T \ install -Dm644 -T \
%{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \ %{_builddir}/%{name}-%{version}/assets/desktop/%{name}.desktop \
%{buildroot}%{_datadir}/applications/%{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 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" install -Dm644 "%{_builddir}/%{name}-%{version}/assets/icon/%{name}${i}.png" "%{buildroot}/%{_datadir}/icons/hicolor/${i}-${i}/apps/%{name}.png"
@ -62,8 +67,12 @@ install -Dm644 "%{_builddir}/%{name}-%{version}/assets/icon/%{name}.svg" -t "%{b
%files %files
%license LICENSE %license LICENSE
%doc CONTRIBUTING.md README.md RELEASE.md %doc CONTRIBUTING.md README.md RELEASE.md
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/icons/* %{_datadir}/icons/*
%{_datadir}/applications/* %{_datadir}/applications/*
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/init.lua
%changelog %changelog