mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
651b7f63c7
* chore: Mass update email in Roachy's specs
* fix(pokeshell): Recommends
* chore: Bump releases
* Update xone.spec
* Update falcond-gui.spec
* Update ghostty-nightly.spec
* Update ghostty.spec
* Update epsonscan2.spec
* Update neovim-default-editor.spec
---------
(cherry picked from commit ce4d5269c0)
Signed-off-by: Gilver <roachy@fyralabs.com>
Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
92 lines
3.0 KiB
RPMSpec
92 lines
3.0 KiB
RPMSpec
%global crate rioterm
|
|
%global _description %{expand:
|
|
A hardware-accelerated terminal emulator focusing to run in desktops and browsers.}
|
|
%bcond docs 1
|
|
|
|
Name: rio
|
|
Version: 0.2.37
|
|
Release: 2%{?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
|
|
URL: https://rioterm.com/
|
|
Source0: https://github.com/raphamorim/%{name}/archive/refs/tags/v%{version}.tar.gz
|
|
BuildRequires: anda-srpm-macros
|
|
BuildRequires: cargo-rpm-macros
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: freetype-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libxkbcommon-devel
|
|
BuildRequires: mold
|
|
BuildRequires: sed
|
|
BuildRequires: pkgconfig(alsa)
|
|
Requires: freetype
|
|
Requires: fontconfig
|
|
Requires: hicolor-icon-theme
|
|
Obsoletes: %{crate} < %{version}-%{release}
|
|
%if %{with docs}
|
|
Suggests: %{name}-doc = %{version}-%{release}
|
|
%endif
|
|
Packager: Gilver E. <roachy@fyralabs.com>
|
|
|
|
%description %_description
|
|
|
|
%package devel
|
|
Summary: Development files for Rio
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains the development libraries for Rio.
|
|
|
|
%if %{with docs}
|
|
%package doc
|
|
Summary: Documentation for Rio
|
|
|
|
%description doc
|
|
This package contains all official documentation files for the Rio terminal.
|
|
%endif
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}
|
|
%cargo_prep_online
|
|
sed -i 's/Exec=.*/Exec=%{crate}/g' misc/%{name}.desktop
|
|
|
|
%build
|
|
%cargo_build -a
|
|
|
|
%install
|
|
install -Dm755 target/rpm/%{name} %{buildroot}%{_bindir}/%{crate}
|
|
install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir}
|
|
install -Dm644 docs/static/assets/%{name}-logo.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
|
|
desktop-file-install misc/%{name}.desktop
|
|
%{cargo_license_online -a} > LICENSE.dependencies
|
|
|
|
%check
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%license LICENSE.dependencies
|
|
%{_bindir}/%{crate}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
|
|
|
|
%files devel
|
|
%{_libdir}/librio_backend.so
|
|
%{_libdir}/librio_proc_macros.so
|
|
%{_libdir}/libsugarloaf.so
|
|
|
|
%if %{with docs}
|
|
%files doc
|
|
%doc docs/docs/*
|
|
%endif
|
|
|
|
%changelog
|
|
* Mon May 5 2025 Gilver E. <rockgrub@disroot.org> - 0.2.13-1
|
|
- Added doc package
|
|
* Sat Mar 8 2025 Gilver E. <rockgrub@disroot.org>
|
|
- Initial package
|