mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
af553793c4
* Fedora has some random package named this??
* Bump release already
* While I'm here I'll copy the PKGBUILD
Signed-off-by: Gilver <rockgrub@disroot.org>
---------
Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit 7c48f6b27e)
Co-authored-by: Gilver <rockgrub@disroot.org>
53 lines
2.1 KiB
RPMSpec
53 lines
2.1 KiB
RPMSpec
%global _description %{expand:
|
|
A hardware-accelerated terminal emulator focusing to run in desktops and browsers.}
|
|
%global realname rio
|
|
|
|
Name: %{realname}term
|
|
Version: 0.2.8
|
|
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: http://rioterm.com
|
|
Source0: https://github.com/raphamorim/%{realname}/archive/refs/tags/v%{version}.tar.gz
|
|
BuildRequires: anda-srpm-macros
|
|
BuildRequires: cargo-rpm-macros
|
|
BuildRequires: freetype-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libxkbcommon-devel
|
|
BuildRequires: mold
|
|
Requires: freetype
|
|
Requires: fontconfig
|
|
Requires: hicolor-icon-theme
|
|
Requires: libgcc
|
|
Packager: Gilver E. <rockgrub@disroot.org>
|
|
|
|
%description %_description
|
|
|
|
%prep
|
|
%autosetup -n %{realname}-%{version}
|
|
%cargo_prep_online
|
|
|
|
%build
|
|
%cargo_build -a
|
|
|
|
%install
|
|
install -Dm755 target/rpm/%{realname} %{buildroot}%{_bindir}/%{realname}
|
|
install -Dm644 misc/%{realname}.desktop %{buildroot}%{_datadir}/applications/%{realname}.desktop
|
|
install -Dm644 docs/static/assets/%{realname}-logo.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{realname}.svg
|
|
%{cargo_license_online -a} > LICENSE.dependencies
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%license LICENSE.dependencies
|
|
%{_bindir}/%{realname}
|
|
%{_datadir}/applications/%{realname}.desktop
|
|
%{_iconsdir}/hicolor/scalable/apps/%{realname}.svg
|
|
|
|
%changelog
|
|
* Sat Mar 8 2025 Gilver E. <rockgrub@disroot.org>
|
|
- Initial package
|