1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust |
3 |
# This package is part of the KDE Stack. |
4 |
# |
5 |
|
6 |
|
7 |
%define rel 1 |
8 |
|
9 |
Name: dragon |
10 |
Summary: A simple video player for KDE 4 |
11 |
Epoch: 3 |
12 |
Version: 4.9.0 |
13 |
Release: %mkrel %{rel} |
14 |
Group: Video |
15 |
License: GPLv2 |
16 |
URL: http://www.kde.org/applications/multimedia/dragonplayer/ |
17 |
Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
18 |
Requires: kdebase4-runtime |
19 |
Conflicts: kdemultimedia4-core < 3:4.5.71 |
20 |
Conflicts: kmix < 3:4.8.97 |
21 |
Suggests: dragonplayer-handbook |
22 |
Obsoletes: dragonplayer < %{epoch}:%{version} |
23 |
Provides: dragonplayer = %{epoch}:%{version}-%{release} |
24 |
BuildRequires: kdelibs4-devel >= 2:%{version} |
25 |
|
26 |
%description |
27 |
Dragon Player is a multimedia player where the focus is on simplicity, |
28 |
instead of features. Dragon Player does one thing, and only one thing, |
29 |
which is playing multimedia files. It's simple interface is designed not |
30 |
to get in your way and instead empower you to simply play multimedia |
31 |
files. |
32 |
|
33 |
%files |
34 |
%_kde_bindir/dragon |
35 |
%dir %_kde_appsdir/dragonplayer |
36 |
%_kde_appsdir/dragonplayer/ |
37 |
%_kde_iconsdir/*/*/*/* |
38 |
%_kde_mandir/man1/* |
39 |
%_kde_libdir/kde4/dragonpart.so |
40 |
%_kde_applicationsdir/dragonplayer.desktop |
41 |
%_kde_services/ServiceMenus/dragonplayer_* |
42 |
%_kde_services/dragonplayer_part.desktop |
43 |
%_kde_appsdir/solid/actions/dragonplayer-opendvd.desktop |
44 |
%_kde_configdir/dragonplayerrc |
45 |
|
46 |
#------------------------------------------------------------------------------ |
47 |
|
48 |
%package handbook |
49 |
Summary: dragon handbook |
50 |
Conflicts: dragonplayer < 3:4.7.1 |
51 |
Requires: %{name} >= %{epoch}:%{version}-%{release} |
52 |
Obsoletes: dragonplayer-handbook < %{epoch}:%{version} |
53 |
Provides: dragonplayer-handbook = %{epoch}:%{version}-%{release} |
54 |
BuildArch: noarch |
55 |
Group: Books/Other |
56 |
|
57 |
%description handbook |
58 |
This package provides dragon handbook |
59 |
|
60 |
%files handbook |
61 |
%_kde_docdir/HTML/en/dragonplayer |
62 |
|
63 |
#------------------------------------------------------------------------------ |
64 |
|
65 |
%prep |
66 |
%setup -q |
67 |
%apply_patches |
68 |
|
69 |
%build |
70 |
export LD=/usr/bin/ld.gold |
71 |
%cmake_kde4 |
72 |
%make |
73 |
|
74 |
%install |
75 |
%makeinstall_std -C build |