mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
* chore(discord): Include TOS as license file
* Update discord.spec
* fix: I hate you Discord
* fix: A
* fix: Typo
* Update discord.spec
* Update discord.spec
---------
(cherry picked from commit da7029ccaf)
Signed-off-by: Gilver <roachy@fyralabs.com>
Co-authored-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
Name: discord
|
||||
Version: 1.0.136
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?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
|
||||
License: https://discord.com/terms
|
||||
Requires: glibc GConf2
|
||||
Requires: nspr >= 4.13
|
||||
Requires: nss >= 3.27
|
||||
Requires: libX11 >= 1.6
|
||||
Requires: libXtst >= 1.2
|
||||
Source1: https://discord.com/terms#/terms.html
|
||||
License: Proprietary
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -26,16 +22,18 @@ both your desktop and phone.
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -Dpm755 ./* -t %{buildroot}%{_libdir}/discord
|
||||
install -Dpm755 ./* -t %{buildroot}%{_datadir}/discord
|
||||
mkdir -p %{buildroot}%{_appsdir}
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
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
|
||||
mv %{buildroot}%{_datadir}/discord/discord.desktop -t %{buildroot}%{_appsdir}
|
||||
mv %{buildroot}%{_datadir}/discord/discord.png -t %{buildroot}%{_datadir}/pixmaps
|
||||
mv %{buildroot}%{_datadir}/discord/discord -t %{buildroot}%{_bindir}
|
||||
cp %{SOURCE1} -t .
|
||||
|
||||
%files
|
||||
%license terms.html
|
||||
%{_bindir}/discord
|
||||
%{_libdir}/discord/
|
||||
%{_datadir}/discord/
|
||||
%{_appsdir}/discord.desktop
|
||||
%{_datadir}/pixmaps/discord.png
|
||||
|
||||
|
||||
Reference in New Issue
Block a user