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