mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-22 19:40:37 +00:00
57 lines
1.7 KiB
RPMSpec
57 lines
1.7 KiB
RPMSpec
%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-ptb
|
|
Version: 0.0.187
|
|
Release: 1%{?dist}
|
|
Summary: Free Voice and Text Chat for Gamers.
|
|
URL: https://discord.com
|
|
Source0: https://dl-ptb.discordapp.net/apps/linux/%{version}/discord-ptb-%{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
|
|
Group: Applications/Internet
|
|
ExclusiveArch: x86_64
|
|
%description
|
|
All-in-one voice and text chat for gamers that's free, secure, and works on
|
|
both your desktop and phone.
|
|
|
|
%prep
|
|
%autosetup -n DiscordPTB
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
mkdir -p %{buildroot}%{_datadir}/discord-ptb
|
|
cp -rv * %{buildroot}%{_datadir}/discord-ptb
|
|
mkdir -p %{buildroot}%{_datadir}/applications/
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|
ln -s %_datadir/discord-ptb/discord-ptb.desktop %{buildroot}%{_datadir}/applications/
|
|
ln -s %_datadir/discord-ptb/discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb.png
|
|
ln -s %_datadir/discord-ptb/Discord %buildroot%_bindir/discord-ptb
|
|
|
|
%files
|
|
%_bindir/discord-ptb
|
|
%{_datadir}/discord-ptb/
|
|
%{_datadir}/applications/discord-ptb.desktop
|
|
%{_datadir}/pixmaps/discord-ptb.png
|
|
|
|
%changelog
|
|
* Thu Nov 17 2022 madonuko <mado@fyralabs.com> - 0.0.35-1
|
|
- new version
|
|
|
|
* Thu Oct 20 2022 madonuko <mado@fyralabs.com> - 0.0.34-1
|
|
- new version
|
|
|
|
* Sun Oct 16 2022 madonuko <mado@fyralabs.com> - 0.0.33
|
|
- Initial Package.
|