mirror of
https://github.com/terrapkg/packages.git
synced 2026-07-03 09:20:50 +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>
57 lines
1.5 KiB
RPMSpec
57 lines
1.5 KiB
RPMSpec
%global git_name GoofCord
|
|
%global appid io.github.milkshiift.GoofCord
|
|
|
|
Name: goofcord
|
|
Version: 2.0.1
|
|
Release: 2%{?dist}
|
|
License: OSL-3.0
|
|
Summary: A privacy-minded Legcord fork.
|
|
Group: Applications/Internet
|
|
URL: https://github.com/Milkshiift/%{git_name}
|
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
|
BuildRequires: anda-srpm-macros >= 0.3.0
|
|
BuildRequires: bun-bin
|
|
Packager: Gilver E. <roachy@fyralabs.com>
|
|
|
|
%electronmeta -D
|
|
|
|
%description
|
|
A highly configurable and privacy minded Discord client.
|
|
|
|
%prep
|
|
%autosetup -n %{git_name}-%{version}
|
|
%ifarch %{arm64} armv7hl armv7l
|
|
sed -i '/\"x64\",/d' electron-builder.ts
|
|
%endif
|
|
|
|
%build
|
|
%bun_build
|
|
|
|
%install
|
|
%electron_install -D -O -U %U -E UseOzonePlatform,WaylandWindowDecorations -I
|
|
|
|
install -Dm644 assetsDev/%{appid}.metainfo.xml -t %{buildroot}%{_metainfodir}
|
|
|
|
%check
|
|
%desktop_file_validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_libdir}/%{name}/
|
|
%{_metainfodir}/%{appid}.metainfo.xml
|
|
%{_hicolordir}/16x16/apps/%{name}.png
|
|
%{_hicolordir}/32x32/apps/%{name}.png
|
|
%{_hicolordir}/48x48/apps/%{name}.png
|
|
%{_hicolordir}/64x64/apps/%{name}.png
|
|
%{_hicolordir}/128x128/apps/%{name}.png
|
|
%{_hicolordir}/256x256/apps/%{name}.png
|
|
%{_hicolordir}/512x512/apps/%{name}.png
|
|
%{_hicolordir}/1024x1024/apps/%{name}.png
|
|
|
|
%changelog
|
|
* Sat Jun 28 2025 Gilver E. <rockgrub@disroot.org> - 1.10.1-1
|
|
- Initial package
|