1 |
%define srcname kdemultimedia |
2 |
%define rel 1 |
3 |
|
4 |
Name: kdemultimedia4 |
5 |
Summary: KDE Multimedia Environment |
6 |
Version: 4.7.90 |
7 |
Release: %mkrel %{rel} |
8 |
Epoch: 3 |
9 |
Group: Graphical desktop/KDE |
10 |
License: GPLv2 LGPLv2 GFDL |
11 |
URL: http://multimedia.kde.org/ |
12 |
Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/%srcname-%version.tar.bz2 |
13 |
Source1: 0001-Fix-KMix-window-empty-after-doing-multiple-Backend-c.patch |
14 |
BuildRequires: kdelibs4-devel >= 2:%{version} |
15 |
BuildRequires: pkgconfig(phonon) >= 4.3.50 |
16 |
BuildRequires: pkgconfig(libmusicbrainz3) |
17 |
BuildRequires: pkgconfig(vorbis) |
18 |
BuildRequires: pkgconfig(libavcodec) |
19 |
BuildRequires: pkgconfig(flac) |
20 |
BuildRequires: pkgconfig(taglib) |
21 |
BuildRequires: pkgconfig(alsa) |
22 |
BuildRequires: pkgconfig(libpulse) |
23 |
BuildRequires: pkgconfig(theora) |
24 |
BuildRequires: libtunepimp-devel |
25 |
BuildRequires: libcdda-devel |
26 |
|
27 |
Requires: juk = %epoch:%version |
28 |
Requires: kmix = %epoch:%version |
29 |
Requires: kscd = %epoch:%version |
30 |
|
31 |
%description |
32 |
%{srcname} metapackage. |
33 |
|
34 |
%files |
35 |
%doc README COPYING COPYING.LIB COPYING.DOC |
36 |
|
37 |
#------------------------------------------------------------------------------ |
38 |
|
39 |
%package -n juk |
40 |
Summary: A music player and manager for KDE |
41 |
Group: Graphical desktop/KDE |
42 |
URL: http://www.kde.org/applications/multimedia/juk/ |
43 |
Requires: kdebase4-runtime |
44 |
Conflicts: kdemultimedia4-core < 3:4.5.71 |
45 |
Conflicts: kdemultimedia4-devel < 3:4.6.90-3 |
46 |
Suggests: juk-handbook |
47 |
|
48 |
%description -n juk |
49 |
JuK is an audio jukebox application, supporting collections of MP3, Ogg |
50 |
Vorbis, and FLAC audio files. It allows you to edit the "tags" of your |
51 |
audio files, and manage your collection and playlists. It's main focus, |
52 |
in fact, is on music management. |
53 |
|
54 |
%files -n juk |
55 |
%_kde_appsdir/juk |
56 |
%_kde_bindir/juk |
57 |
%_kde_iconsdir/*/*/apps/juk.* |
58 |
%_kde_applicationsdir/juk.desktop |
59 |
%_kde_services/ServiceMenus/jukservicemenu.desktop |
60 |
%_datadir/dbus-1/interfaces/org.kde.juk.collection.xml |
61 |
%_datadir/dbus-1/interfaces/org.kde.juk.player.xml |
62 |
%_datadir/dbus-1/interfaces/org.kde.juk.search.xml |
63 |
|
64 |
#------------------------------------------------------------------------------ |
65 |
|
66 |
%package -n juk-handbook |
67 |
Summary: juk handbook |
68 |
Conflicts: juk < 3:4.7.1 |
69 |
BuildArch: noarch |
70 |
%description -n juk-handbook |
71 |
This package provides juk handbook |
72 |
|
73 |
%files -n juk-handbook |
74 |
%doc %_kde_datadir/doc/HTML/en/juk |
75 |
|
76 |
#------------------------------------------------------------------------------ |
77 |
|
78 |
%package -n dragonplayer |
79 |
Summary: A simple video player for KDE 4 |
80 |
Group: Video |
81 |
URL: http://www.kde.org/applications/multimedia/dragonplayer/ |
82 |
Requires: kdebase4-runtime |
83 |
Conflicts: %name-core < 3:4.5.71 |
84 |
Suggests: dragonplayer-handbook |
85 |
|
86 |
%description -n dragonplayer |
87 |
Dragon Player is a multimedia player where the focus is on simplicity, |
88 |
instead of features. Dragon Player does one thing, and only one thing, |
89 |
which is playing multimedia files. It's simple interface is designed not |
90 |
to get in your way and instead empower you to simply play multimedia |
91 |
files. |
92 |
|
93 |
%files -n dragonplayer |
94 |
%_kde_bindir/dragon |
95 |
%dir %_kde_appsdir/dragonplayer |
96 |
%_kde_appsdir/dragonplayer/* |
97 |
%_kde_iconsdir/*/*/apps/dragonplayer.* |
98 |
%_kde_libdir/kde4/dragonpart.so |
99 |
%_kde_applicationsdir/dragonplayer.desktop |
100 |
%_kde_services/ServiceMenus/dragonplayer_* |
101 |
%_kde_services/dragonplayer_part.desktop |
102 |
%_kde_appsdir/solid/actions/dragonplayer-opendvd.desktop |
103 |
%_kde_configdir/dragonplayerrc |
104 |
|
105 |
#------------------------------------------------------------------------------ |
106 |
|
107 |
%package -n dragonplayer-handbook |
108 |
Summary: dragonplayer handbook |
109 |
Conflicts: dragonplayer < 3:4.7.1 |
110 |
BuildArch: noarch |
111 |
%description -n dragonplayer-handbook |
112 |
This package provides dragonplayer handbook |
113 |
|
114 |
%files -n dragonplayer-handbook |
115 |
%doc %_kde_datadir/doc/HTML/en/dragonplayer |
116 |
|
117 |
#------------------------------------------------------------------------------ |
118 |
|
119 |
%package -n kde4-audiocd |
120 |
Summary: %{srcname} audiocd |
121 |
Group: Graphical desktop/KDE |
122 |
Conflicts: %name-core < 3:4.5.71 |
123 |
Suggests: kde4-audiocd-handbook |
124 |
%description -n kde4-audiocd |
125 |
%{srcname} audiocd. |
126 |
|
127 |
%files -n kde4-audiocd |
128 |
%_kde_libdir/kde4/kcm_audiocd.so |
129 |
%_kde_libdir/kde4/kio_audiocd.so |
130 |
%_kde_libdir/kde4/libaudiocd_* |
131 |
%_kde_datadir/config.kcfg/audiocd_* |
132 |
%_kde_services/audiocd.desktop |
133 |
%_kde_services/audiocd.protocol |
134 |
%_kde_appsdir/kconf_update/audiocd.upd |
135 |
%_kde_appsdir/kconf_update/kcmcddb-emailsettings.upd |
136 |
%_kde_appsdir/kconf_update/upgrade-metadata.sh |
137 |
%_kde_appsdir/konqsidebartng/virtual_folders/services/audiocd.desktop |
138 |
%_kde_appsdir/solid/actions/solid_audiocd.desktop |
139 |
|
140 |
|
141 |
#------------------------------------------------------------------------------ |
142 |
|
143 |
%package -n kde4-audiocd-handbook |
144 |
Summary: kde4-audiocd handbook |
145 |
Conflicts: kde4-audiocd < 3:4.7.1 |
146 |
BuildArch: noarch |
147 |
%description -n kde4-audiocd-handbook |
148 |
This package provides kde4-audiocd handbook |
149 |
|
150 |
%files -n kde4-audiocd-handbook |
151 |
%doc %_kde_docdir/HTML/en/kioslave/audiocd |
152 |
%doc %_kde_docdir/HTML/en/kcontrol/cddbretrieval |
153 |
|
154 |
|
155 |
#------------------------------------------------------------------------------ |
156 |
|
157 |
%define audiocdplugins_major 4 |
158 |
%define libaudiocdplugins %mklibname audiocdplugins %audiocdplugins_major |
159 |
|
160 |
%package -n %libaudiocdplugins |
161 |
Summary: KDE I/O Slave for Audio CDs |
162 |
Group: System/Libraries |
163 |
|
164 |
%description -n %libaudiocdplugins |
165 |
KDE I/O Slave for Audio CDs using cdparanoia. |
166 |
|
167 |
%files -n %libaudiocdplugins |
168 |
%_kde_libdir/libaudiocdplugins.so.%{audiocdplugins_major}* |
169 |
|
170 |
#------------------------------------------------------------------------------ |
171 |
|
172 |
%package -n kmix |
173 |
Summary: %{srcname} Digital Mixer |
174 |
Group: Graphical desktop/KDE |
175 |
URL: http://www.kde.org/applications/multimedia/kmix/ |
176 |
Conflicts: %name-core < 3:4.5.71 |
177 |
Obsoletes: %name-core < 3:4.5.71 |
178 |
Suggests: kmix-handbook |
179 |
Requires: kdebase4-runtime |
180 |
Conflicts: kdemultimedia4-devel < 3:4.6.90-3 |
181 |
|
182 |
%description -n kmix |
183 |
KMix is an application to allow you to change the volume of your sound |
184 |
card. Though small, it is full-featured, and it supports several |
185 |
platforms and sound drivers. |
186 |
|
187 |
%files -n kmix |
188 |
%_kde_appsdir/kmix |
189 |
%_kde_bindir/kmix |
190 |
%_kde_bindir/kmixctrl |
191 |
%_kde_iconsdir/*/*/apps/kmix.* |
192 |
%_kde_iconsdir/*/*/actions/player-volume-muted.* |
193 |
%_kde_applicationsdir/kmix.desktop |
194 |
%_kde_datadir/autostart/restore_kmix_volumes.desktop |
195 |
%_kde_services/kmixctrl_restore.desktop |
196 |
%_kde_libdir/libkdeinit4_kmix* |
197 |
%_kde_libdir/kde4/kded_kmixd.so |
198 |
%_kde_services/kded/kmixd.desktop |
199 |
%_kde_autostart/kmix_autostart.desktop |
200 |
%_kde_libdir/kde4/plasma_engine_mixer.so |
201 |
%_kde_appsdir/plasma/services/mixer.operations |
202 |
%_kde_services/plasma-engine-mixer.desktop |
203 |
%_datadir/dbus-1/interfaces/org.kde.kmix.control.xml |
204 |
%_datadir/dbus-1/interfaces/org.kde.kmix.mixer.xml |
205 |
%_datadir/dbus-1/interfaces/org.kde.kmix.mixset.xml |
206 |
|
207 |
#------------------------------------------------------------------------------ |
208 |
|
209 |
%package -n kmix-handbook |
210 |
Summary: kmix handbook |
211 |
Conflicts: kmix < 3:4.7.1 |
212 |
BuildArch: noarch |
213 |
%description -n kmix-handbook |
214 |
This package provides kmix handbook |
215 |
|
216 |
%files -n kmix-handbook |
217 |
%doc %_kde_docdir/HTML/en/kmix |
218 |
|
219 |
#------------------------------------------------------------------------------ |
220 |
|
221 |
%package -n kscd |
222 |
Summary: %{srcname} Audio CD Player |
223 |
Group: Graphical desktop/KDE |
224 |
URL: http://www.kde.org/applications/multimedia/kscd/ |
225 |
Requires: kdebase4-runtime |
226 |
Conflicts: %name-core < 3:4.5.71 |
227 |
Conflicts: kdemultimedia4-devel < 3:4.6.90-3 |
228 |
Suggests: gstreamer0.10-cdparanoia |
229 |
|
230 |
%description -n kscd |
231 |
KsCD is a small, fast, CDDB enabled audio CD player which supports |
232 |
multiple platforms. |
233 |
|
234 |
%files -n kscd |
235 |
%_kde_bindir/kscd |
236 |
%_kde_applicationsdir/kscd.desktop |
237 |
%_kde_datadir/config.kcfg/kscd.kcfg |
238 |
%_kde_appsdir/kscd |
239 |
%_kde_iconsdir/*/*/apps/kscd.* |
240 |
%_kde_iconsdir/*/*/*/kscd-dock.* |
241 |
%_kde_appsdir/solid/actions/kscd-play-audiocd.desktop |
242 |
%_datadir/dbus-1/interfaces/org.kde.kscd.cdplayer.xml |
243 |
|
244 |
#------------------------------------------------------------------------------ |
245 |
|
246 |
%package -n mplayerthumbs |
247 |
Summary: %{srcname} Video thumbnail generator for KDE4 file managers |
248 |
Group: Graphical desktop/KDE |
249 |
Requires: kdebase4-runtime |
250 |
# We do not requires mplayer as by default we now use the phonon engine |
251 |
# Requires: mplayer |
252 |
|
253 |
%description -n mplayerthumbs |
254 |
MPlayerThumbs is a video thumbnail generator for KDE file managers |
255 |
(Konqueror, Dolphin, ...) , now available also for KDE 4. |
256 |
It needs mplayer (of course) to generate thumbnails, and it contains |
257 |
no linking to any library, so in a x86_64 system you can freely use the |
258 |
32bit mplayer binary with win32codecs by configuring the application launching |
259 |
the mplayerthumbsconfig helper application. |
260 |
It catches a random frame from 15% to 70%, checking also how contrasted is the |
261 |
image, and dropping bad frames. |
262 |
|
263 |
%files -n mplayerthumbs |
264 |
%_kde_bindir/mplayerthumbsconfig |
265 |
%_kde_libdir/kde4/videopreview.so |
266 |
%_kde_appsdir/videothumbnail |
267 |
%_kde_datadir/config.kcfg/mplayerthumbs.kcfg |
268 |
%_kde_services/videopreview.desktop |
269 |
|
270 |
#------------------------------------------------------------------------------ |
271 |
|
272 |
%package -n ffmpegthumbs |
273 |
Summary: %{srcname} Video thumbnail generator for KDE4 file managers |
274 |
Group: Graphical desktop/KDE |
275 |
Requires: ffmpeg |
276 |
|
277 |
%description -n ffmpegthumbs |
278 |
FFmpegThumbs is a video thumbnails implementation for KDE4 based on |
279 |
FFmpegThumbnailer. |
280 |
|
281 |
This thumbnailer uses FFmpeg to decode frames from the video files, |
282 |
so supported video formats depend on the configuration flags of ffmpeg. |
283 |
|
284 |
This thumbnailer was designed to be as fast and lightweight as possible. |
285 |
|
286 |
%files -n ffmpegthumbs |
287 |
%_kde_libdir/kde4/ffmpegthumbs.so |
288 |
%_kde_services/ffmpegthumbs.desktop |
289 |
|
290 |
#------------------------------------------------------------------------------ |
291 |
|
292 |
%define libkcddb %mklibname kcddb %kcddb_major |
293 |
%define kcddb_major 4 |
294 |
|
295 |
%package -n %libkcddb |
296 |
Summary: Library for retrieving and sending cddb information |
297 |
Group: System/Libraries |
298 |
|
299 |
%description -n %libkcddb |
300 |
A library for retrieving and sending cddb information. |
301 |
|
302 |
%files -n %libkcddb |
303 |
%_kde_libdir/libkcddb.so.%{kcddb_major}* |
304 |
%_kde_libdir/kde4/kcm_cddb.so |
305 |
%_kde_datadir/config.kcfg/libkcddb.kcfg |
306 |
%_kde_services/libkcddb.desktop |
307 |
|
308 |
#------------------------------------------------------------------------------ |
309 |
|
310 |
%define libkcompactdisc %mklibname kcompactdisc %kcompactdisc_major |
311 |
%define kcompactdisc_major 4 |
312 |
|
313 |
%package -n %libkcompactdisc |
314 |
Summary: KDE library for playing & ripping CDs |
315 |
Group: System/Libraries |
316 |
|
317 |
%description -n %libkcompactdisc |
318 |
KDE library for playing & ripping CDs. |
319 |
|
320 |
%files -n %libkcompactdisc |
321 |
%_kde_libdir/libkcompactdisc.so.%{kcompactdisc_major}* |
322 |
|
323 |
#------------------------------------------------------------------------------ |
324 |
|
325 |
%package devel |
326 |
Summary: Devel stuff for %{name} |
327 |
Group: Development/KDE and Qt |
328 |
Requires: %libaudiocdplugins = %epoch:%version |
329 |
Requires: %libkcddb = %epoch:%version |
330 |
Requires: %libkcompactdisc = %epoch:%version |
331 |
|
332 |
%description devel |
333 |
This package contains header files needed if you wish to build applications |
334 |
based on %{srcname}. |
335 |
|
336 |
%files devel |
337 |
%_kde_libdir/libaudiocdplugins.so |
338 |
%_kde_libdir/libkcddb.so |
339 |
%_kde_libdir/libkcompactdisc.so |
340 |
%_kde_includedir/* |
341 |
|
342 |
#------------------------------------------------------------------------------ |
343 |
|
344 |
%prep |
345 |
%setup -q -n %srcname-%version |
346 |
%apply_patches |
347 |
|
348 |
%build |
349 |
export CFLAGS="${CFLAGS} -DOCAMLIB=%_libdir/ocaml" |
350 |
export CPPFLAGS="${CPPFLAGS} -DOCAMLIB=%_libdir/ocaml" |
351 |
export LD=/usr/bin/ld.gold |
352 |
%cmake_kde4 -DENABLE_PHONON_SUPPORT=ON -DKDE4_ENABLE_FINAL=OFF |
353 |
%make |
354 |
|
355 |
%install |
356 |
rm -fr %buildroot |
357 |
%makeinstall_std -C build |
358 |
|