mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 00:51:56 +00:00
045030e257
* fix: starship (#1020) rm patch Signed-off-by: madomado <madonuko@outlook.com> * fix(update): crystal (#1019) Signed-off-by: madomado <madonuko@outlook.com> * fix(gnome-shell-extension-appmenu-is-back): patch for GNOME 46 (#1033) * fix: seto-fonts (#1005) Signed-off-by: madomado <madonuko@outlook.com> * add: gsctool (#1007) * add: gsctool * asdasdas * fix: vala-panel (#1006) * fix: vala-panel Signed-off-by: madomado <madonuko@outlook.com> * Create update.rhai Signed-off-by: madomado <madonuko@outlook.com> * Update vala-panel.spec Signed-off-by: madomado <madonuko@outlook.com> * files? Signed-off-by: madomado <madonuko@outlook.com> --------- Signed-off-by: madomado <madonuko@outlook.com> * more updates --------- Signed-off-by: madomado <madonuko@outlook.com> Co-authored-by: madomado <madonuko@outlook.com> Co-authored-by: Cappy Ishihara <cappy@cappuchino.xyz>
190 lines
5.0 KiB
RPMSpec
190 lines
5.0 KiB
RPMSpec
# Generated by rust2rpm 26
|
|
#bcond_without check
|
|
|
|
%global crate starship
|
|
|
|
Name: rust-starship
|
|
Version: 1.18.2
|
|
Release: 1%?dist
|
|
Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
|
|
|
|
License: ISC
|
|
URL: https://crates.io/crates/starship
|
|
Source: %{crates_source}
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
Patch0: starship-fix-metadata-auto.diff
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
BuildRequires: anda-srpm-macros
|
|
BuildRequires: cmake
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: git-core
|
|
|
|
%global _description %{expand:
|
|
The minimal, blazing-fast, and infinitely customizable prompt for any
|
|
shell! ☄🌌️.}
|
|
|
|
%description %{_description}
|
|
|
|
%package -n %{crate}
|
|
Summary: %{summary}
|
|
License: ISC
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
%files -n %{crate}
|
|
%license LICENSE
|
|
#license LICENSE.dependencies
|
|
%doc README.md
|
|
%{_bindir}/starship
|
|
|
|
%package devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "%{crate}" crate.
|
|
|
|
%files devel
|
|
%{crate_instdir}/
|
|
|
|
%package -n %{name}+default-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+battery-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+battery-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "battery" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+battery-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+config-schema-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+config-schema-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "config-schema" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+config-schema-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+gix-faster-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+gix-faster-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "gix-faster" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+gix-faster-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+gix-features-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+gix-features-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "gix-features" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+gix-features-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+gix-max-perf-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+gix-max-perf-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "gix-max-perf" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+gix-max-perf-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+notify-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+notify-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "notify" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+notify-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+notify-rust-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+notify-rust-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "notify-rust" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+notify-rust-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+schemars-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+schemars-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "schemars" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+schemars-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+starship-battery-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+starship-battery-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "starship-battery" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+starship-battery-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
%cargo_prep_online
|
|
|
|
%build
|
|
%{cargo_build}
|
|
|
|
%install
|
|
%{cargo_install}
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
%autochangelog
|