mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-22 19:40:37 +00:00
52 lines
1.9 KiB
RPMSpec
52 lines
1.9 KiB
RPMSpec
Name: satty
|
|
Version: 0.21.1
|
|
Release: 1%{?dist}
|
|
Summary: Modern screenshot annotation tool
|
|
URL: https://github.com/Satty-org/Satty
|
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
|
BuildRequires: cargo-rpm-macros
|
|
BuildRequires: libadwaita-devel
|
|
BuildRequires: libepoxy-devel
|
|
SourceLicense: MPL-2.0
|
|
License: %{SourceLicense} AND (MIT OR Apache-2.0) AND Unicode-3.0 AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-3-Clause OR Apache-2.0) AND CC0-1.0 AND (CC0-1.0 OR Apache-2.0) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT)
|
|
Packager: Tulip Blossom <tulilirockz@outlook.com>
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%pkg_completion -BeNfz
|
|
|
|
%prep
|
|
%autosetup -n Satty-%{version}
|
|
%cargo_prep_online
|
|
|
|
%build
|
|
%cargo_build -a
|
|
%{cargo_license_online -a} > LICENSE.dependencies
|
|
|
|
%install
|
|
install -Dpm0755 -t %{buildroot}%{_bindir} ./target/rpm/satty
|
|
install -Dpm0644 -t %{buildroot}%{_appsdir}/ ./satty.desktop
|
|
install -Dpm0644 -t %{buildroot}%{_scalableiconsdir}/ ./assets/satty.svg
|
|
install -Dpm0644 -t %{buildroot}%{fish_completions_dir}/ ./completions/satty.fish
|
|
install -Dpm0644 -t %{buildroot}%{zsh_completions_dir}/ ./completions/_satty
|
|
install -Dpm0644 ./completions/satty.bash %{buildroot}%{bash_completions_dir}/satty
|
|
install -Dpm0644 -t %{buildroot}%{elvish_completions_dir}/ ./completions/satty.elv
|
|
install -Dpm0644 -t %{buildroot}%{nushell_completions_dir}/ ./completions/satty.nu
|
|
install -Dpm0644 -t %{buildroot}%{_metainfodir}/ ./org.satty.Satty.metainfo.xml
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE LICENSE.dependencies
|
|
%{_bindir}/%{name}
|
|
%{_appsdir}/satty.desktop
|
|
%{_scalableiconsdir}/satty.svg
|
|
%{_metainfodir}/org.satty.Satty.metainfo.xml
|
|
|
|
%changelog
|
|
* Thu Jun 04 2026 Owen Zimmerman <owen@fyralabs.com> 0.21.0-1
|
|
- Update for 0.21.0
|
|
|
|
* Sun Mar 29 2026 Tulip Blossom <tulilirockz@outlook.com>
|
|
- Initial commit
|