forked from rpmfusion/lpf-spotify-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlpf-spotify-client.spec
173 lines (125 loc) · 5.67 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
# %%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/robxu9/spotify-make/archive/%{commit}
%global commit 8597389ba7bf755418e8746b9c20af51e4be2bc0
%global commit a0048ec7c5c6acf4ca584348684150b91328227d
%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.0.53
Release: 1%{?dist}
Summary: Spotify music player native client package bootstrap
License: MIT
URL: https://github.com/leamas/spotify-make
Group: Development/Tools
BuildArch: noarch
# 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.1
Requires: lpf >= 0.1
%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
* 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