feat(rio): Devel package (#3920) (#3924)

* Add devel package

Signed-off-by: Gilver <rockgrub@disroot.org>

* Bump release

Signed-off-by: Gilver <rockgrub@disroot.org>

* Hard dep?

Signed-off-by: Gilver <rockgrub@disroot.org>

* Careful

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit ea0e7755f8)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-03-14 21:33:09 -07:00
committed by GitHub
parent 23fa301357
commit bed3544f1b
+14 -1
View File
@@ -4,7 +4,7 @@ A hardware-accelerated terminal emulator focusing to run in desktops and browser
Name: rio
Version: 0.2.9
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A hardware-accelerated terminal written in Rust.
SourceLicense: MIT
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSD-2-Clause AND BSL-1.0 AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND ISC AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR GPL-3.0-only) AND MPL-2.0+ AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib
@@ -28,6 +28,13 @@ Packager: Gilver E. <rockgrub@disroot.org>
%description %_description
%package devel
Summary: Development files for Rio
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the development libraries for Rio.
%prep
%autosetup -n %{name}-%{version}
sed -i 's/Exec=.*/Exec=%{crate}/g' misc/%{name}.desktop
@@ -38,6 +45,7 @@ sed -i 's/Exec=.*/Exec=%{crate}/g' misc/%{name}.desktop
%install
install -Dm755 target/rpm/%{name} %{buildroot}%{_bindir}/%{crate}
install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir}
install -Dm644 misc/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
install -Dm644 docs/static/assets/%{name}-logo.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
%{cargo_license_online -a} > LICENSE.dependencies
@@ -50,6 +58,11 @@ install -Dm644 docs/static/assets/%{name}-logo.svg %{buildroot}%{_iconsdir}/hico
%{_datadir}/applications/%{name}.desktop
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
%files devel
%{_libdir}/librio_backend.so
%{_libdir}/librio_proc_macros.so
%{_libdir}/libsugarloaf.so
%changelog
* Sat Mar 8 2025 Gilver E. <rockgrub@disroot.org>
- Initial package