small files reorganization

This commit is contained in:
2025-11-17 22:51:15 +03:00
parent 3d32587c7f
commit 739956b23a
7 changed files with 5 additions and 5 deletions
+42
View File
@@ -0,0 +1,42 @@
%bcond check 1
# prevent library files from being installed
%global cargo_install_lib 0
Name: rpmi-git
Version: @@TAG@@^@@DATE@@.git@@HASH@@
Release: %autorelease
Summary: Simple graphical utility that installs/upgrades/removes .rpm files built with Rust and EGUI.
License: MIT
URL: https://github.com/arabianq/rpmi
Source: https://github.com/arabianq/rpmi/archive/refs/heads/main.tar.gz
BuildRequires: rust
BuildRequires: cargo
%global _description %{expand:
Simple graphical utility that installs/upgrades/removes .rpm files built with Rust and EGUI.}
%description %{_description}
%prep
%autosetup -n rpmi-main -p1
%build
cargo build --release --locked
%install
install -Dm755 target/release/rpmi %{buildroot}%{_bindir}/rpmi
install -Dm644 assets/rpmi.desktop %{buildroot}%{_datadir}/applications/rpmi.desktop
%files
%license LICENSE
%doc README.md
%{_bindir}/rpmi
%{_datadir}/applications/rpmi.desktop
%changelog
%autochangelog