mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* chore(discord): Update build
* chore: Update more stuff
* fix: Oops
* fix: Dummy forgot buildroot
---------
(cherry picked from commit 0c057f2b88)
Signed-off-by: Gilver <roachy@fyralabs.com>
Co-authored-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
@@ -1,13 +1,6 @@
|
||||
%define debug_package %{nil}
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 1.0.136
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz
|
||||
@@ -19,6 +12,9 @@ Requires: libX11 >= 1.6
|
||||
Requires: libXtst >= 1.2
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%electronmeta -D
|
||||
|
||||
%description
|
||||
All-in-one voice and text chat for gamers that's free, secure, and works on
|
||||
both your desktop and phone.
|
||||
@@ -29,22 +25,22 @@ both your desktop and phone.
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord
|
||||
cp -rv * %{buildroot}%{_datadir}/discord
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
install -Dpm755 ./* -t %{buildroot}%{_libdir}/discord
|
||||
mkdir -p %{buildroot}%{_appsdir}
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %_datadir/discord/discord.desktop %{buildroot}%{_datadir}/applications/discord.desktop
|
||||
ln -s %_datadir/discord/discord.png %{buildroot}%{_datadir}/pixmaps/discord.png
|
||||
ln -s %_datadir/discord/Discord %buildroot%_bindir/discord
|
||||
mv %{buildroot}%{_libdir}/discord/discord.desktop -t %{buildroot}%{_appsdir}
|
||||
mv %{buildroot}%{_libdir}/discord/discord.png -t %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %{_libdir}/discord/discord %{buildroot}%{_bindir}/discord
|
||||
|
||||
%files
|
||||
%_bindir/discord
|
||||
%{_datadir}/discord/
|
||||
%{_datadir}/applications/discord.desktop
|
||||
%{_bindir}/discord
|
||||
%{_libdir}/discord/
|
||||
%{_appsdir}/discord.desktop
|
||||
%{_datadir}/pixmaps/discord.png
|
||||
|
||||
%changelog
|
||||
* Mon May 4 2026 Gilver E. <roachy@fyralabs.com> - 1.0.136-2
|
||||
- Updated /usr/bin symlink
|
||||
* Thu Jan 19 2023 madonuko <mado@fyralabs.com> - 0.0.143-1
|
||||
- Initial package
|
||||
|
||||
Reference in New Issue
Block a user