forked from rpmfusion/discord
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiscord.spec
More file actions
212 lines (155 loc) · 7.15 KB
/
discord.spec
File metadata and controls
212 lines (155 loc) · 7.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
%global debug_package %{nil}
%global __strip /bin/true
%global __requires_exclude libffmpeg.so
%global _build_id_links none
###############################Exclude Private bundled libs###########################
%global __provides_exclude_from %{_libdir}/discord/.*\\.s
Name: discord
Version: 0.0.26
Release: 1%{?dist}
Summary: All-in-one voice and text chat for gamers
# License Information: https://bugzilla.rpmfusion.org/show_bug.cgi?id=4441#c14
License: Proprietary
URL: https://discordapp.com/
Source0: https://dl.discordapp.net/apps/linux/%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: x86_64
BuildRequires: desktop-file-utils%{_isa}
Requires: glibc%{_isa}
Requires: alsa-lib%{_isa}
Requires: GConf2%{_isa}
Requires: libnotify%{_isa}
Requires: nspr%{_isa} >= 4.13
Requires: nss%{_isa} >= 3.27
Requires: libX11%{_isa} >= 1.6
Requires: libXtst%{_isa} >= 1.2
Requires: libappindicator%{_isa}
Requires: libcxx%{_isa}
Requires: libatomic%{_isa}
Requires: hicolor-icon-theme
%if !0%{?el7}
Recommends: (libappindicator-gtk3%{_isa} if gtk3%{_isa})
Recommends: google-noto-emoji-color-fonts
Recommends: libXScrnSaver
%endif
%description
Linux Release for Discord, a free proprietary VoIP application designed for
gaming communities.
%prep
%autosetup -n Discord
%build
%install
mkdir -p %{buildroot}/%{_bindir}/
mkdir -p %{buildroot}/%{_libdir}/discord
mkdir -p %{buildroot}/%{_datadir}/applications
desktop-file-install \
--set-icon=%{name} \
--set-key=Exec --set-value=%{_bindir}/Discord \
--delete-original \
--dir=%{buildroot}/%{_datadir}/applications \
discord.desktop
cp -r * %{buildroot}/%{_libdir}/discord/
ln -sf ../%{_lib}/discord/Discord %{buildroot}/%{_bindir}/
install -p -D -m 644 %{name}.png \
%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%files
%{_libdir}/discord/
%{_bindir}/Discord
%{_datadir}/applications/discord.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog
* Fri Mar 31 2023 Alexey Ermolaev <dotterian@dotterian.ru> - 0.0.26-1
- Update discord to 0.0.26
* Wed Feb 15 2023 Sérgio Basto <sergio@serjux.com> - 0.0.25-1
- Update discord to 0.0.25
* Sat Jan 14 2023 Sérgio Basto <sergio@serjux.com> - 0.0.24-1
- Update discord to 0.0.24
* Thu Jan 12 2023 Sérgio Basto <sergio@serjux.com> - 0.0.23-1
- Update discord to 0.0.23
* Sat Dec 10 2022 Sérgio Basto <sergio@serjux.com> - 0.0.22-1
- Update discord to 0.0.22
* Fri Nov 18 2022 Leigh Scott <leigh123linux@gmail.com> - 0.0.21-2
- Fix rfbz6498
* Fri Oct 21 2022 Sérgio Basto <sergio@serjux.com> - 0.0.21-1
- Update discord to 0.0.21
* Thu Sep 15 2022 Sérgio Basto <sergio@serjux.com> - 0.0.20-1
- Update discord to 0.0.20
* Thu Aug 11 2022 Justin Zobel <justin@1707.io> - 0.0.19-1
- Update to 0.0.19
* Mon Aug 08 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.0.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
* Wed Jun 08 2022 Sérgio Basto <sergio@serjux.com> - 0.0.18-1
- Update discord to 0.0.18
* Sun Feb 20 2022 David Auer <dreua@posteo.de> - 0.0.17-4
- (#6108) Install icon to icons/hicolor and don't hardcode path in desktop file
- Remove unnecessary build requirement: sed
- Fix original desktop file being shipped
* Sat Feb 19 2022 Sérgio Basto <sergio@serjux.com> - 0.0.17-3
- (#6166) fixes conflicts with files with other packages
- Minor fixes (warning: File listed twice: /usr/lib64/discord/Discord)
- (#5921) Adding libappindicator-gtk3 as a dependency if gtk3 is installed
- Fix "warning: absolute symlink"
* Thu Feb 17 2022 Eric Duvic <eric@ericduvic.com> - 0.0.17-1
- Update 0.0.17
* Thu Feb 10 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.0.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Sep 22 2021 Sérgio Basto <sergio@serjux.com> - 0.0.16-1
- Update 0.0.16
* Wed Aug 04 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.0.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue May 25 2021 Sérgio Basto <sergio@serjux.com> - 0.0.15-1
- Update 0.0.15
* Wed Mar 24 2021 Sérgio Basto <sergio@serjux.com> - 0.0.14-1
- Update 0.0.14
* Thu Feb 04 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.0.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Dec 06 2020 Sérgio Basto <sergio@serjux.com> - 0.0.13-1
- Update 0.0.13
* Fri Sep 11 2020 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.12-1
* Updated to 0.0.12
* Wed Aug 19 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Aug 07 2020 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.11-1
- Updated to 0.0.11
* Tue May 12 2020 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.10-3
- Made emoji fonts a weak dependency
* Sun Mar 01 2020 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.10-2
- Fixed dependency issue
* Wed Feb 26 2020 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.10-1
- Update to 0.0.10
- Add dependency for emoji fonts
* Wed Feb 05 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.0.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Aug 10 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Mar 13 2019 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.9-1
- Update to 0.0.9
* Tue Mar 05 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jan 18 2019 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.8-2
- Fix permissions issue on binary in source.
* Wed Jan 16 2019 Sean Callaway <seancallaway@fedoraproject.org> - 0.0.8-1
- Updated to 0.0.8
* Sun Aug 19 2018 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.0.5-3
- Rebuilt for Fedora 29 Mass Rebuild binutils issue
* Fri Jul 27 2018 RPM Fusion Release Engineering <sergio@serjux.com> - 0.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu May 03 2018 Sean Callaway <seancallaway@fedoraproject.org> 0.0.5-1
- Update to 0.0.5
* Fri Apr 27 2018 Sean Callaway <seancallaway@fedoraproject.org> 0.0.4-3
- Added libatomic requirement.
* Fri Mar 02 2018 RPM Fusion Release Engineering <leigh123linux@googlemail.com> - 0.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 31 2018 Sean Callaway <seancallaway@fedoraproject.org> 0.0.4-1
- Update to 0.0.4
* Tue Dec 12 2017 Sean Callaway <seancallaway@fedoraproject.org> 0.0.3-1
- Update to 0.0.3
- Now using desktop-file-install.
- Removed unneeded requirements.
* Wed Aug 16 2017 Sean Callaway <seancallaway@fedoraproject.org> 0.0.2-1
- Update to 0.0.2
- Spec file cleanup.
* Thu Jan 12 2017 Sean Callaway <seancallaway@fedoraproject.org> 0.0.1-1
- Initial build using version 0.0.1