-
Notifications
You must be signed in to change notification settings - Fork 11
/
lpf-spotify-client.spec
355 lines (248 loc) · 11.9 KB
/
lpf-spotify-client.spec
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# %%bal will not work here, lazy evaluation needed.
#devel branch
#global github_repo https://github.com/leamas/spotify-make/archive/%{commit}
%global github_repo https://github.com/sergiomb2/spotify-make/archive/%{commit}
# devel branch
%global commit 90c98824cd3fdd16fb211cb911f27dfa462b41a2
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%define target_pkg %(t=%{name}; echo ${t#lpf-})
Name: lpf-spotify-client
# Upstream spotify version, verbatim.
Version: 1.2.52.442
Release: 1%{?dist}
Summary: Spotify music player native client package bootstrap
License: MIT
URL: https://github.com/leamas/spotify-make
ExclusiveArch: i686 x86_64
#BuildArch: noarch
%global debug_package %{nil}
# There's no source, only a spec building the target package.
Source0: spotify-client.spec.in
# http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/What-license-does-the-linux-spotify-client-use/td-p/173356/highlight/true/page/2
Source1: eula.txt
Source2: LICENSE
Source3: README
Source4: %{github_repo}/spotify-make-%{shortcommit}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: lpf >= 0.3
Requires: desktop-file-utils
Requires: python3
Requires: /usr/bin/lsb_release
Requires: lpf >= 0.3
%description
Bootstrap package allowing the lpf system to build the non-redistributable
spotify-client package.
The package is only available on ix86 and x86_64 hosts.
See: http://www.spotify.com/se/blog/archives/2010/07/12/linux/
%prep
%setup -cT
cp %{SOURCE2} LICENSE
cp %{SOURCE3} README
%build
%install
# lpf-setup-pkg [eula] <topdir> <specfile> [sources...]
/usr/share/lpf/scripts/lpf-setup-pkg %{SOURCE1} %{buildroot} %{SOURCE0} %{SOURCE4}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%check
%lpf_check %{SOURCE0}
%post
%lpf_post
%postun
%lpf_postun
%lpf_triggerpostun
%files
%doc README
%license LICENSE
%{_datadir}/applications/%{name}.desktop
%{_datadir}/lpf/packages/%{target_pkg}
%attr(775,pkg-build,pkg-build) /var/lib/lpf/packages/%{target_pkg}
%changelog
* Tue Dec 17 2024 Sérgio Basto <[email protected]> - 1.2.52.442-1
- Update to 1.2.52.442.g01893f92
* Thu Nov 21 2024 Sérgio Basto <[email protected]> - 1.2.50.335-1
- Update to 1.2.50.335.g5e2860a8
* Tue Oct 22 2024 Sérgio Basto <[email protected]> - 1.2.48.405-1
- Update to 1.2.48.405.gf2c48e6f
* Sun Sep 29 2024 Sérgio Basto <[email protected]> - 1.2.47.364-2
- Various fixes on spotify-make to allow install new debians files from spotify
* Sun Sep 29 2024 Sérgio Basto <[email protected]> - 1.2.47.364-1
- Update to 1.2.47.364.gf06e5cee
* Tue Sep 17 2024 Sérgio Basto <[email protected]> - 1.2.45.454-1
- Update to 1.2.45.454.gc16ec9f6
* Wed Jul 24 2024 Sérgio Basto <[email protected]> - 1.2.42.290-2
- Update spotify-make to 854e3fb
* Tue Jul 23 2024 Sérgio Basto <[email protected]> - 1.2.42.290-1
- Update to 1.2.42.290.g242057a2
* Tue Jun 25 2024 Sérgio Basto <[email protected]> - 1.2.40.599-1
- Update to 1.2.40.599.g606b7f29
* Mon May 27 2024 Sérgio Basto <[email protected]> - 1.2.37.701-1
- Update to 1.2.37.701.ge66eb7bc
- Fixes on spotify-client.spec.in drop require of python2,
many more fixes needed
* Mon Feb 26 2024 Sérgio Basto <[email protected]> - 1.2.31.1205-1
- Update to 1.2.31.1205.g4d59ad7c
* Mon Dec 18 2023 Sérgio Basto <[email protected]> - 1.2.26.1187-1
- Update to 1.2.26.1187.g36b715a1
* Mon Oct 30 2023 Sérgio Basto <[email protected]> - 1.2.22.982-1
- Update to 1.2.22.982.g794acc0a
* Thu Aug 31 2023 Sérgio Basto <[email protected]> - 1.2.18.999-1
- Update to 1.2.18.999.g9b38fc27
* Tue Jun 20 2023 Sérgio Basto <[email protected]> - 1.2.13.661-1
- Update to 1.2.13.661.ga588f749
* Mon May 29 2023 Sérgio Basto <[email protected]> - 1.2.9.743-1
- Update to 1.2.9.743.g85d9593d
* Mon Apr 03 2023 Sérgio Basto <[email protected]> - 1.2.8.923-1
- Update to 1.2.8.923.g4f94bf0d
* Tue May 03 2022 Sérgio Basto <[email protected]> - 1.1.84.716-2
- Update to 1.1.84.716.gc5f8b819-2
- Exclude from provides all internal shared libraries
* Tue May 03 2022 Sérgio Basto <[email protected]> - 1.1.84.716-1
- Update to 1.1.84.716.gc5f8b819
* Sat Mar 26 2022 Sérgio Basto <[email protected]> - 1.1.80.699-1
- Update to 1.1.80.699.gc3dac750
* Wed Nov 24 2021 Sérgio Basto <[email protected]> - 1.1.72.439-1
- Update to 1.1.72.439.gc253025e
* Sun Sep 26 2021 Sérgio Basto <[email protected]> - 1.1.68.632-1
- Update to 1.1.68.632.g2b11de83
* Thu Sep 02 2021 Sérgio Basto <[email protected]> - 1.1.67.586-1
- Update to 1.1.67.586.gbb5ef64e
* Thu Apr 29 2021 Leigh Scott <[email protected]> - 1.1.56.595-1
- Update to 1.1.56.595.g2d2da0de
* Tue Mar 23 2021 Sérgio Basto <[email protected]> - 1.1.55.498-1
- Update to 1.1.55.498.gf9a83c60
* Fri Sep 18 2020 Sérgio Basto <[email protected]> - 1.1.42.622-1
- Update to 1.1.42.622.gbd112320
* Mon Apr 27 2020 Sérgio Basto <[email protected]> - 1.1.26.501-1
- Update to 1.1.26.501.gbe11e53b
* Fri Oct 18 2019 Sérgio Basto <[email protected]> - 1.1.10.546-3
- Fix commit of spotify-make in spotify-client.spec.in
* Sat Sep 28 2019 Sérgio Basto <[email protected]> - 1.1.10.546-2
- Update spotify-make rfbz#5395
* Thu Jul 25 2019 Leigh Scott <[email protected]> - 1.1.10.546-1
- Update to 1.1.10.546.ge08ef575
* Sun May 05 2019 Sérgio Basto <[email protected]> - 1.1.5.153-1
- Update to 1.1.5.153.gf614956d
* Sat Feb 16 2019 Sérgio Basto <[email protected]> - 1.1.0.237-1
- Update to 1.1.0.237.g378f6f25
* Tue Jan 29 2019 Sérgio Basto <[email protected]> - 1.0.98.78-1
- Update to 1.0.98.78.gb45d2a6b
* Sat Jan 12 2019 Sérgio Basto <[email protected]> - 1.0.96.181-1
- Update to 1.0.96.181.gf6bc1b6b
* Tue Dec 11 2018 Sérgio Basto <[email protected]> - 1.0.94.262-1
- Update to 1.0.94.262.g3d5c231c
* Sat Oct 27 2018 Sérgio Basto <[email protected]> - 1.0.92.390-1
- Update to 1.0.92.390.g2ce5ec7d
* Thu Sep 20 2018 Sérgio Basto <[email protected]> - 1.0.89.313-1
- Update to 1.0.89.313.g34a58dea
* Fri Aug 31 2018 Sérgio Basto <[email protected]> - 1.0.88.353-1
- Update to 1.0.88.353.g15c26ea1
* Tue Jun 26 2018 Sérgio Basto <[email protected]> - 1.0.80.480-1
- Update to 1.0.80.480.g51b03ac3
* Fri May 04 2018 Sérgio Basto <[email protected]> - 1.0.79.223-1
- Update to 1.0.79.223.g92622cc2
* Thu Apr 12 2018 Sérgio Basto <[email protected]> - 1.0.77.338-2
- Requires exclude libcurl-gnutls.so.4 and centos-redhat-libcurl-gnutls-workaround
* Wed Apr 11 2018 Sérgio Basto <[email protected]> - 1.0.77.338-1
- Update to 1.0.77.338.g758ebd78
* Sun Mar 25 2018 Sérgio Basto <[email protected]> - 1.0.77.336-1
- Update to 1.0.77.336.g0d3547d9
* Sat Mar 03 2018 Sérgio Basto <[email protected]> - 1.0.72.117-1
- Update to 1.0.72.117.g6bd7cc73
* Fri Mar 02 2018 RPM Fusion Release Engineering <[email protected]> - 1.0.70.399-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 09 2018 Sérgio Basto <[email protected]> - 1.0.70.399-1
- Update to 1.0.70.399.g5ffabd56
* Mon Jan 01 2018 Sérgio Basto <[email protected]> - 1.0.69.336-1
- Update to 1.0.69.336.g7edcc575
* Sun Nov 26 2017 Sérgio Basto <[email protected]> - 1.0.67.582-1
- Update to 1.0.67.582.g19436fa3
* Sat Nov 04 2017 Sérgio Basto <[email protected]> - 1.0.66.478-1
- Update to 1.0.66.478.g1296534d
* Tue Oct 24 2017 Sérgio Basto <[email protected]> - 1.0.64.407-1
- Update to 1.0.64.407.g9bd02c2d
* Thu Aug 31 2017 RPM Fusion Release Engineering <[email protected]> - 1.0.59.395-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jul 21 2017 Sérgio Basto <[email protected]> - 1.0.59.395-1
- Update to 1.0.59.395.ge6ca9946
* Sat Jun 24 2017 Sérgio Basto <[email protected]> - 1.0.57.474-2
- do src.rpm just to work in the same arch that was build and just download one
source instead 2
* Sat Jun 24 2017 Sérgio Basto <[email protected]> - 1.0.57.474-1
- Update to 1.0.57.474.gca9c9538
* Sun Jun 11 2017 Sérgio Basto <[email protected]> - 1.0.55.487-2
- ExclusiveArch: i686 x86_64 , /usr/lib64/spotify-client/spotify only provided
for i386 and x86_64
* Wed May 24 2017 Sérgio Basto <[email protected]> - 1.0.55.487-1
- Update to 1.0.55.487.g256699aa
* Mon May 15 2017 Sérgio Basto <[email protected]> - 1.0.53.758-2
- Improve version numbers
* Sat Apr 15 2017 Sérgio Basto <[email protected]> - 1.0.53-1
- Update to 1.0.53.758
* Sun Mar 26 2017 RPM Fusion Release Engineering <[email protected]> - 1.0.49-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Mar 13 2017 Pedro Albuquerque Santos <[email protected]> - 1.0.49-2
- Update to spotify-client_1.0.49.125.g72ee7853-111_amd64.deb and spotify-client_1.0.49.125.g72ee7853-22_i386.deb
* Sun Feb 12 2017 Sérgio Basto <[email protected]> - 1.0.49-1
- Update to 1.0.49
* Wed Feb 01 2017 Sérgio Basto <[email protected]> - 1.0.48-1
- Update to 1.0.48
* Tue Jan 17 2017 Sérgio Basto <[email protected]> - 1.0.47-1
- Update to 1.0.47
* Tue Dec 20 2016 Sérgio Basto <[email protected]> - 1.0.45-1
- Update to 1.0.45
* Wed Dec 14 2016 Sérgio Basto <[email protected]> - 1.0.44-1
- Update to 1.0.44
* Tue Dec 06 2016 Sérgio Basto <[email protected]> - 1.0.43-1
- Update to 1.0.43
* Thu Nov 10 2016 Sérgio Basto <[email protected]> - 1.0.42.151.g19de0aa6-1
- Update to 1.0.42.151.g19de0aa6
* Sun Sep 18 2016 Sérgio Basto <[email protected]> - 1.0.37.152.gc83ea995-1
- Update to 1.0.37.152.gc83ea995_42
* Wed Aug 31 2016 Sérgio Basto <[email protected]> - 1.0.36.120.g536a862f-2
- Add license tag
* Wed Aug 31 2016 Sérgio Basto <[email protected]> - 1.0.36.120.g536a862f-1
- Update to 1.0.36.120.g536a862f
- Remove require ffmpeg-compat
- Fix warning: %triggerpostun .: usage: . filename [arguments]
* Fri Jul 29 2016 Sérgio Basto <[email protected]> - 1.0.32.96.g3c8a06e6-1
- Update Spotify to 1.0.32.96.g3c8a06e6-37 for amd64, -3 for i386
- Move spotify-make to main package, no need dowload it every time
- Use branch devel of spotify-make, supports and install Spotify 1.0.32 correctly
- Update scriptlets https://fedoraproject.org/wiki/Packaging:Scriptlets#Icon_Cache
- Update __requires_exclude with libcurl.so and remove which aren't in use
anymore
- Use Robxu9 commit.
* Wed May 06 2015 Sérgio Basto <[email protected]> - 0.9.17.1.g9b85d43.7-1
- Update to 0.9.17.1.g9b85d43.7 and fix rfbz #3408
* Fri Nov 21 2014 Alec Leamas <[email protected]> - 0.9.11.27.g2b1a638.81-2
- Fix typo (3408)
* Tue Oct 28 2014 Alec Leamas <[email protected]> - 0.9.11.27.g2b1a638.81-1
- Rebuilt from current amd64 version + new bundled libs in spotify-make
- Note: the actually installed version for i386 hosts is still 0.9.4.183
* Tue Feb 18 2014 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-8
- Updating spec scriptlets, use new macros.
- Adding missing R: ffmpeg-compat and R:python2 to target package.
- Update bogus README copied from skype.
* Sun Jan 12 2014 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-7
- Adding missing Requires: dbus-x11 to target package.
* Fri Dec 27 2013 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-6
- Rebuild after F20 branching
* Wed Nov 27 2013 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-5
- Updating %%triggerpostun
* Tue Nov 26 2013 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-4
- Updating %%triggerun and %%postun.
* Tue Nov 26 2013 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-3
- Updating %%postun
- Making description to free-format text.
* Tue Nov 26 2013 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-2
- Adding %%triggerpostun
- Updating description
* Thu Oct 24 2013 Alec Leamas <[email protected]> - 0.9.4.183.g644e24e.428-1
- Updating for new upstream release.
- Adding LICENSE
- Updating URL:
- Smaller review fixes (layout etc.).
- Adding comment for eula.txt
- Adding README, final review remark fix.
* Sun May 05 2013 Alec Leamas <[email protected]> - 0.9.0.133.gd18ed58.259-2
- Initial release