Fix: TwinTailLauncher (#9950) (#10039)

* Fix resources



* Fix dirs



* Update twintaillauncher.spec




* Use tauri_install



* Use tauri install



* Fix underscores



* Disable debug pkg



* chang datadir to libdir



* fix .build_id problems



---------



(cherry picked from commit 2524d251fa)

Signed-off-by: solomoncyj <solomoncyj@hotmail.com>
Co-authored-by: solomoncyj <solomoncyj@hotmail.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-02-22 08:01:53 -08:00
committed by GitHub
parent b3ae356213
commit f3e8bc4871
@@ -1,5 +1,7 @@
%undefine __brp_mangle_shebangs
%global _build_id_links none
%global toolchain clang
Name: twintaillauncher
@@ -48,7 +50,12 @@ cd ..
%install
%tauri_install_bin
%tauri_install
mkdir -p %{buildroot}/%{_libdir}/twintaillauncher/resources
mv %{buildroot}/%{_datadir}/cargo/registry/twintaillauncher-%{version}/resources/ %{buildroot}/%{_libdir}/twintaillauncher/resources
rm -rf %{buildroot}/%{_datadir}/cargo/registry/twintaillauncher-%{version}
%tauri_cargo_license_summary
%{tauri_cargo_license} > LICENSE.dependencies
@@ -65,6 +72,7 @@ install -Dm644 public/launcher-icon-128.png %{buildroot}%{_hicolordir}/128x128/a
%doc README.md
%{_bindir}/twintaillauncher
%{_libdir}/twintaillauncher/resources
%{_hicolordir}/512x512/apps/%{name}.png
%{_hicolordir}/128x128/apps/%{name}.png
%_appsdir/twintaillauncher.desktop
@@ -73,5 +81,7 @@ install -Dm644 public/launcher-icon-128.png %{buildroot}%{_hicolordir}/128x128/a
%changelog
* Thu Feb 19 2026 Yoong Jin <solomoncyj@gmail.com> - 1.1.15-1
- Fix resources
* Tue Feb 3 2026 Yoong Jin <solomoncyj@gmail.com> - 1.1.15-0
- Initial Package