-
Notifications
You must be signed in to change notification settings - Fork 1
/
cmus-testing.spec
323 lines (278 loc) · 12.1 KB
/
cmus-testing.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
%global forgeurl https://github.com/pgaskin/cmus
%global commit e328d34e28d379997d4bd56b2f63b67f1a993d16
%forgemeta
Name: cmus-testing
Version: 2.12.0
Release: 1%{?dist}
Summary: ncurses-based music player
License: GPLv2+
URL: %{forgeurl}
Source: %{forgesource}
BuildRequires: gcc
BuildRequires: pkgconfig(ncursesw)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libdiscid)
BuildRequires: pkgconfig(libcddb)
BuildRequires: pkgconfig(libcdio_cdda)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(mad)
BuildRequires: pkgconfig(libmodplug)
BuildRequires: pkgconfig(vorbisfile)
BuildRequires: pkgconfig(opusfile)
BuildRequires: pkgconfig(wavpack)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(ao)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: libmpcdec-devel
Provides: cmus = %{version}
Conflicts: cmus
%description
cmus is a small, fast and powerful console music player for Unix-like operating
systems.
%prep
%forgesetup
%build
./configure \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--datadir=%{_datadir} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--docdir=%{_datadir}/cmus \
CONFIG_AAC=n \
CONFIG_AAUDIO=n \
CONFIG_ALSA=y \
CONFIG_AO=y \
CONFIG_ARTS=n \
CONFIG_CDDB=y \
CONFIG_CDIO=y \
CONFIG_COREAUDIO=n \
CONFIG_CUE=y \
CONFIG_DISCID=y \
CONFIG_FFMPEG=y \
CONFIG_FLAC=y \
CONFIG_JACK=y \
CONFIG_MAD=y \
CONFIG_MIKMOD=n \
CONFIG_BASS=n \
CONFIG_MODPLUG=y \
CONFIG_MP4=n \
CONFIG_MPC=y \
CONFIG_MPRIS=y \
CONFIG_OPUS=y \
CONFIG_OSS=n \
CONFIG_PULSE=y \
CONFIG_ROAR=n \
CONFIG_SAMPLERATE=y \
CONFIG_SNDIO=n \
CONFIG_SUN=n \
CONFIG_TREMOR=n \
CONFIG_VORBIS=y \
CONFIG_VTX=n \
CONFIG_WAVEOUT=n \
CONFIG_WAVPACK=y \
CONFIG_WAV=y \
CFLAGS="${RPM_OPT_FLAGS}" \
LDFLAGS="${RPM_LD_FLAGS}"
%make_build V=2
%install
make install DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_datadir}/cmus/examples .
chmod -x examples/*
%files
%doc AUTHORS examples
%license COPYING
%{_bindir}/cmus
%{_bindir}/cmus-remote
%{_libdir}/cmus/
%{_datadir}/cmus/
%{_mandir}/man1/cmus-remote.1.gz
%{_mandir}/man1/cmus.1.gz
%{_mandir}/man7/cmus-tutorial.7.gz
%changelog
* Sat Oct 26 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.12.0-1.20240923gite328d34
- cmus/master (cmus/cmus@58d34cf9db5c29e01a985a48a9b6947855cb6cc9)
* Mon Sep 23 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-8.20240923git2d11ce1
- cmus/master (cmus/cmus@a92a0424ebbc9117ed1592fdd346d64c87af5f5a)
- lagrang3/play_queue_total_time (Lagrang3/cmus@13f798075fb55db8b49e0edcc0c428739d89a829)
- pgaskin/dump-plugins-default-priority (pgaskin/cmus@dc7ce1b7aca49172e04c310680a4bc8dfe32ed11)
- pgaskin/coreaudio-master-main (pgaskin/cmus@7e6362c7ca500b09302d06cf92540ae838a01540)
- pgaskin/workaround-tree-search-infinite-wrap (pgaskin/cmus@5ac406a415b7ce05e510e27fcdaea704ff1e69da)
- pgaskin/fix-tree-search-infinite-wrap (pgaskin/cmus@e8ef999dee53fb72eb52100a83d4b02ec4b27531)
- gavtroy/fix_attr_slip (gavtroy/cmus@cab4a9a19dff2d1642e58ba527216eca2fa9fd55)
- pgaskin/fix-load-command-args (pgaskin/cmus@35f174d4d6df0d40669237b946f99314fd45dc2a)
* Mon Sep 23 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-7.20240923gitb942bec
- cmus/master (cmus/cmus@a92a0424ebbc9117ed1592fdd346d64c87af5f5a)
- lagrang3/play_queue_total_time (Lagrang3/cmus@13f798075fb55db8b49e0edcc0c428739d89a829)
- pgaskin/dump-plugins-default-priority (pgaskin/cmus@dc7ce1b7aca49172e04c310680a4bc8dfe32ed11)
- pgaskin/coreaudio-master-main (pgaskin/cmus@7e6362c7ca500b09302d06cf92540ae838a01540)
- pgaskin/workaround-tree-search-infinite-wrap (pgaskin/cmus@5ac406a415b7ce05e510e27fcdaea704ff1e69da)
- pgaskin/fix-tree-search-infinite-wrap (pgaskin/cmus@e8ef999dee53fb72eb52100a83d4b02ec4b27531)
- gavtroy/fix_attr_slip (gavtroy/cmus@cab4a9a19dff2d1642e58ba527216eca2fa9fd55)
* Sun Sep 22 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-6.20240922git58caca8
- cmus/master (cmus/cmus@a92a0424ebbc9117ed1592fdd346d64c87af5f5a)
- lagrang3/play_queue_total_time (Lagrang3/cmus@13f798075fb55db8b49e0edcc0c428739d89a829)
- pgaskin/dump-plugins-default-priority (pgaskin/cmus@dc7ce1b7aca49172e04c310680a4bc8dfe32ed11)
- pgaskin/coreaudio-master-main (pgaskin/cmus@7e6362c7ca500b09302d06cf92540ae838a01540)
- build ffmpeg plugin as part of free package (rpmfusion ffmpeg is a drop-in replacement)
* Fri Sep 20 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-5.20240920git257b2bf
- cmus/master (cmus/cmus@3af94b77adb4fb9bc6df2df37b9d4f03569030e2)
- lagrang3/play_queue_total_time (Lagrang3/cmus@13f798075fb55db8b49e0edcc0c428739d89a829)
- gavtroy/ffmpeg-dsd (gavtroy/cmus@406edec3206a228baeaa64e7468387f8c4e8ca1f)
- pgaskin/coreaudio-master-main (pgaskin/cmus@7e6362c7ca500b09302d06cf92540ae838a01540)
- pgaskin/fix-passwd-docs (pgaskin/cmus@0268810e82ed41a4539b16a3b1d67fda4eb030bb)
- pgaskin/fix-doc-indent (pgaskin/cmus@8f76fad642b66fc3c88b223ed6c58fec49614a5c)
- pgaskin/autoconf-compat (pgaskin/cmus@e40c4ff4950b3e8dd1e3b6aa89ccd40309da5439)
- pgaskin/lm-ldflags (pgaskin/cmus@dafe605e84ee803b57acb875654caea0887a2291)
- pgaskin/dump-plugins-default-priority (pgaskin/cmus@dc7ce1b7aca49172e04c310680a4bc8dfe32ed11)
* Sat Sep 14 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-4.20240914gitbbfb75f
- cmus/master (cmus/cmus@e8e24329273b2b50ec600539116fe9bba7048e53)
- gavtroy/show-option-vals (gavtroy/cmus@f86df92e3218e896a41b87868cc1bfc8593668cd)
- gavtroy/total-in-title (gavtroy/cmus@4651b0d806babb9261552ea6775440708ccf40b3)
- gavtroy/progress-bar (gavtroy/cmus@dc99b9649f4311f5991ea7657778a4211217d64f)
* Tue Aug 06 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-3.20240806git91ad600
- cmus/master (cmus/cmus@d0a685d22ca510a911641044f3f7ff6f6b0cc6be)
- gavtroy/flat-library-view (gavtroy/cmus@7697e0ab1a498793febb4819ee10cb3d14cea0d2)
- gavtroy/cmdline-cursor-context (gavtroy/cmus@bcff68b0ef3a39cb377fb849d60e52b48514aecc)
- gavtroy/gapless-mp4 (gavtroy/cmus@26c73fb6e2cf4a016c049c46fb3b869663ac9dc6)
- gavtroy/part-is-disc (gavtroy/cmus@2b7b8d50b1e3f7f2f32d4380cb652c810d3c47cb)
- gavtroy/resume-pl (gavtroy/cmus@ab16c5b28c30e5bd937fe0e00ed3e7c7e72e4e35)
- adeason/fix-view-segv (adeason/cmus@40f42d5b2e62c0606e1d2fa33f0c67dc13a471d3)
- pgaskin/aaudio (pgaskin/cmus@d9db94db24791a0b5dec654c21084fc2f0caeb57)
- pgaskin/configure-fn-check (pgaskin/cmus@3de76fa47cbc3898a33290419fe3eb6bd867328c)
- pgaskin/configure-cppflags (pgaskin/cmus@1c8544437af759fa7076177dbfc944ac9fea87c1)
- pgaskin/configure-ncurses-cflags (pgaskin/cmus@c561a17bf9f44c62960b435f62d84010a7783bec)
- pgaskin/ip-mad-double-close (pgaskin/cmus@30b9194b610d2a1828ee19d8a67294da585d334d)
* Sat May 11 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-2.20240511gitf4e4fb6
- Rebuild.
* Sat May 11 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.11.0-1.20240511gitf4e4fb6
- Reset to upstream master.
- Merge gavtroy/flat-library-view.
- Merge gavtroy/cmdline-cursor-context.
- Merge gavtroy/gapless-mp4.
- Merge gavtroy/part-is-disc.
- Merge gavtroy/resume-pl.
* Fri May 10 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-11.20240510git2658824
- Reset to upstream master.
- Merge gavtroy/flat-library-view.
- Merge gavtroy/cmdline-cursor-context.
- Merge gavtroy/gapless-mp4.
* Fri May 10 2024 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-10.20231105git2c5aafc
- Rebuild.
* Sun Nov 05 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-9.20231105git2c5aafc
- Reset to upstream master.
- Merge gavtroy/flat-library-view.
* Sat Jul 29 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-8.20230729git45a5045
- Reset to upstream master.
- Merge pgaskin/fix-passwd-docs.
- Merge pgaskin/bracketed-paste.
- Merge gavtroy/count-albumtracks.
- Merge gavtroy/sort-albums-by-date.
- Merge gavtroy/flat-library-view.
- Merge gavtroy/sorted-album-next.
- Merge gavtroy/fix-unmute-softvol.
* Sat Jul 22 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-7.20230722gitdef777c
- Reset to upstream master.
- Merge pgaskin/fix-passwd-docs.
- Merge pgaskin/bracketed-paste.
- Merge pgaskin/mouse-bar-right.
- Merge gavtroy/count-albumtracks.
- Merge gavtroy/sort-albums-by-date.
- Merge gavtroy/flat-library-view.
* Sat Jul 22 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-6.20230722gitd8a248a
- Reset to upstream master.
- Merge pgaskin/fix-passwd-docs.
- Merge pgaskin/bracketed-paste.
- Merge pgaskin/mouse-bar-right.
- Merge gavtroy/count-albumtracks.
- Merge gavtroy/cycle-view-no-wrap.
- Merge gavtroy/sort-albums-by-date.
* Sun Jul 16 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-5.20230716git001f1a4
- Update to upstream master.
- Includes origin/pa-no-drain.
- Includes VladislavGrudinin/clang-build-fix.
- Includes rayes0/master (support italic text).
- Includes feature detection for A_ITALIC (over rayes0/master).
- Merge pgaskin/bracketed-paste.
- Merge pgaskin/mouse-bar-right.
* Sat Jul 15 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-4.20230715git5f0e861
- Update to upstream master.
- Includes pgaskin/pl-env.
- Merge origin/pa-no-drain.
- Merge VladislavGrudinin/clang-build-fix.
- Add feature detection for A_ITALIC (over rayes0/master).
* Thu Jul 13 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-3.20230713git10a8e31
- Update to upstream master.
- Includes gavtroy/dev_ignore_dups.
- Update pgaskin/pl-env.
* Thu Jul 13 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-2.20230713gita52df51
- Reset to upstream master.
- Merge gavtroy/dev_ignore_dups.
- Merge pgaskin/fix-passwd-docs.
- Merge pgaskin/pl-env.
- Merge rayes0/master (support italic text).
* Sat Jul 08 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.10.0-1.20230708git8330956
- Update to upstream master.
- Merge gavtroy/dont_search_in_filename.
- Merge gavtroy/auto_hide_playlist_panel.
- Merge gavtroy/ffmpeg_truncated.
- Merge gavtroy/mp4_trackid.
- Merge gavtroy/titleline_startup.
* Sat Jul 08 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.9.1-15.20211209gite4b5908
- Rebuild.
* Sat Jul 08 2023 Patrick Gaskin <patrick@pgaskin.net> - 2.9.1-14.20211209gite4b5908
- Rebuild.
* Wed Aug 24 2022 Patrick Gaskin <patrick@pgaskin.net> - 2.9.1-13.20211209gite4b5908
- Fix versioning.
* Wed Aug 24 2022 Patrick Gaskin <patrick@pgaskin.net> - 0-12.20211209gite4b5908
- Rebuild.
* Wed Aug 24 2022 Patrick Gaskin <patrick@pgaskin.net> - 0-11.20211209gite4b5908
- Rebuild.
* Thu Dec 09 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-10.20211209gite4b5908
- Update pgaskin/pause-on-output-change.
* Thu Dec 09 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-9.20211209gitb4a917c
- Update to upstream master.
- Merge pgaskin/pause-on-output-change.
* Sat Oct 09 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-8.20210608git462f7da
- Bump release version for rebuild.
* Tue Jun 08 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-7.20210608git462f7da
- Update pgaskin/remove-cache-with-track.
* Sat Jun 05 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-6.20210605gitefa21cc
- Update pgaskin/pl-env.
* Fri Jun 04 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-5.20210604git45c5a31
- Update to upstream master.
- Includes pgaskin/fix-1093.
- Update pgaskin/pl-env.
- Merge pgaskin/fix-passwd-docs.
- Merge pgaskin/remove-cache-with-track.
* Thu Jun 03 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-4.20210603git71ebcd3
- Update to upstream master.
- Includes nefthy/flac-channel-map-fix.
- Update pgaskin/pl-env.
- Merge pgaskin/fix-1093.
* Wed Jun 02 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-3.20210602gita3e6caa
- Update to latest commit.
- Includes dryleev/fix-ffmpeg-freeze.
- Merge pgaskin/pl-env.
* Tue Jun 01 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-2.20210601git48efe76
- Rebuild.
* Tue Jun 01 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-1.20210601git48efe76
- Update to latest commit.
- Update allavaz/smart-rg.
- Update gavtroy/dev_album_shuffle.
- Merge gavtroy/dev_wideterm.
- Update to upstream master.
- Includes allavaz/smart-rg.
- Includes gavtroy/dev_format_nested.
- Includes gavtroy/dev_wideterm.
- Includes gavtroy/dev_album_shuffle.
- Update gavtroy/dev_ignore_dups.
- Merge dryleev/fix-ffmpeg-freeze.
- Merge nefthy/flac-channel-map-fix.
* Thu May 27 2021 Patrick Gaskin <patrick@pgaskin.net> - 0-1.20210228git84db889
- Initial package.